API Support Forum
OEC API > API Support > Order status change response issue
Author Topic: Order status change response issue
(2 messages, Page 1 of 1)
Moderators: VPfau
BGoyal9136
Posts: 27
Joined: Sep 21, 2017


Posted: Sep 12, 2019 @ 10:37 AM             Msg. 1 of 2
HI Support,

I am facing issue for order response.i placed one order with SL1 comment. it was complated but i am getting 2 response for SL1 with different different order id. one was completed state and another was rejected. could you guys please let me know why i am getting 2 order response against one order. Order ids are mention below:

207987426
207987428


Thanks
CMicciche902
Posts: 348
Joined:


Posted: Sep 12, 2019 @ 10:46 AM             Msg. 2 of 2
You sent two orders, therefore two id's. Comment isn't validated, just a text field for your own purpose. Are you trying to send as OSO or OCO? Review api docs for correct use.

Order #207987426 Buy 0/3 ESU19 STP 3009.50 B-1-SL by BGoyal9136/API003710 TradeStreategy
Did you review rejection reason: Buy order stop price must be above last trade price

Order #207987428 Buy 3/3 ESU19 MKT B-1-SL by BGoyal9136/API003710 TradeStreategy
Chris M