API Support Forum
OEC API > API Support > Order was rejected after submitting
Author Topic: Order was rejected after submitting
(1 messages, Page 1 of 1)
Moderators: VPfau
RAnde
Posts: 20
Joined: Sep 05, 2017


Posted: Nov 15, 2017 @ 04:44 AM             Msg. 1 of 1
Hello,

I submit a Market order with valid values. I sent the order to your server successfully. But it was rejected immediately after that. I received the following exception on the Trader Developer Tool

"Order was rejected...Buy 2 ESZ7 MKT at 11/15/2017 4:16:21 PM (Order breaks limit)"
"System Error: Risk violation:.....Max order quantity = 0"

I still submitted order successfully with same values before. So I don't know the reason.
Would you please explain why I get this error?