OEC Application Programming Interface

Order Properties

The properties of the Order class are listed below. For a complete list of Order class members, see the Order Members topic.

Public Instance Properties

ABChildren Children orders for allocation block order
ABParent Parent order for allocation block child order
Account Order account
AllocationBlock Order allocation block
Commands Order commands
Comments Order comments
Contract Order contract
CurrentState Currest state of order
CustomCompound Custom Compound: detailed declaration of the legs
ExtData Extended data
Fills Order fills, active and cancelled.
Flags Order execution flags of last active version
Group Routing group for admins, null for traders
ID (inherited from IDObject<Int32>) Unique key value
IsBuySide Helper property that evaluates Side property
IsFilled Checks whether order is fully filled (filled quantity = total quantity)
IsFinalState Checks whenther order is Completed, Cancelled or Rejected so no state changes are expected
IsIceberg
IsMarketOrder Checks whether the order is market
IsOsmChild
IsOsmRoot
IsTrailingStop
IsVolumeBasedStop
Linked Link to leg of main OSO order
OCO Link to paired OCO order
OsmRoot Gets OSM root order. If this property is not null, that means the order is an OSM child order.
Parent Link to main OSO order
Price Current order limit/stop price
Price2 Current order limit price for STPLMT orders
Quantity Total order quantity
ReadOnly Order cannot be cancelled or modified
Route Execution route
Side Order Side (Buy/Sell)
States Order states history
TicketNumber ID of last active version of order
Timestamp Order creation timestamp
Trader Trader, to whose account order belongs (for admins) or null (for traders)
TradingSession Represents a specific market trading session
Type Current order type
TypePriceString Gets type and (optionally) price as "MKT", "LMT 1234.0", "STP 123 07.25 LMT 120 31.75"
Versions Order version history

See Also

Order Class | OEC.API Namespace | Orders | Command | Version | State | Fill | SendOrder | OrderDraft