API Support Forum
OEC API > API Support > ExecInst is missing from the Order class
Author Topic: ExecInst is missing from the Order class
(2 messages, Page 1 of 1)
Moderators: VPfau
MMike94
Posts: 13
Joined: Nov 19, 2009


Posted: Mar 25, 2011 @ 10:10 AM             Msg. 1 of 2
In OrderDraft, the property Flags can be set to one of None, GTC, FOK or IOC (from the OEC.Data.OrderFlags enum).

Also in OrderDraft, the property ExecInst can be set to one of None or AON (from the OEC.Data.ExecInst enum).

All of that is good. But when your API reports the order status back to me, it uses the Order class. That class has the Flags property, but it does not have the ExecInst property.

So if I've submitted an AON order, when I get the status back, how does it report that it was AON?

Paul
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Mar 25, 2011 @ 10:40 AM             Msg. 2 of 2
Hello,

some of fields from draft object can be found in Version object: http://www.openecry.com/api/api/OEC.API.Version.ExecInst.html

Victor Vins
Software Developer