API Support Forum
OEC API > API Support > Modify/cancel order before confirmation
Author Topic: Modify/cancel order before confirmation
(2 messages, Page 1 of 1)
Moderators: VPfau
SSokolov387
Posts: 9
Joined: Jan 18, 2012


Posted: Feb 07, 2012 @ 04:36 PM             Msg. 1 of 2
During my testing I found that if I call OECClient.ModifyOrder() or OECClient.CancelOrder() before order was confirmed then Command (modify/cancel) is never executed. After order gets its confirmation from server, command just stays in Order.Commands list with negative ID and never executed.
Is it normal behavior or bug?

Sergey Sokolov
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Feb 07, 2012 @ 05:14 PM             Msg. 2 of 2
Yes, this is a bug. Will fix it in the next release. Thank you for letting us know.

Victor Vins
Lead Software Developer