API Support Forum
OEC API > API Support > Exception Error - only for ES contract
Author Topic: Exception Error - only for ES contract
(4 messages, Page 1 of 1)
Moderators: VPfau
DSkowron7595
Posts: 2
Joined: Dec 02, 2016


Posted: Sep 20, 2017 @ 09:30 AM             Msg. 1 of 4
[ERROR] TradeController.OnError Exception message: Risk violation: 3039:API003039
Max long sum position = 1, Order would make position 2 (exceeding limit by 1)

This only occurs on the ESZ7 contract when submitting a new market order on an allocation block account. We can change the order to YMZ7, NQZ7, or ZNZ7 and we can get multiple positions open in the same accounts.

This behavior started yesterday in the Test environment..

I can provide more details if needed.
CMicciche902
Posts: 367
Joined:


Posted: Sep 20, 2017 @ 11:07 AM             Msg. 2 of 4
I'm reviewing.
Chris M
CMicciche902
Posts: 367
Joined:


Posted: Sep 20, 2017 @ 11:09 AM             Msg. 3 of 4
We had some unintended global risk limits with ES contract in the DEV environment. This has been removed. You should no longer have rejections issues.
Chris M
DSkowron7595
Posts: 2
Joined: Dec 02, 2016


Posted: Sep 20, 2017 @ 12:56 PM             Msg. 4 of 4
Thank you, that resolved the issue with the ES contract.