The methods of the OECClient class are listed below. For a complete list of OECClient class members, see the OECClient Members topic.
![]() CreateInstance | Creates an instance of OECClient or connects remotely to exposed one, if searchRemoteAtFirst is true |
AcceptCommand | Accepts incomming Modify or Cancel Command. |
AcceptOrder | Accepts an incoming Order. |
AddFill | Adds a new Fill to a working Order |
CancelFill | Cancels existing Fill |
CancelOrder | Sends cancel request for an existing Order. |
CancelSubscription | Cancels updatable historical subscription |
CompleteOrder | Makes a working Order completed. |
Connect | Establishes new connection to the OEC server. |
CreateCustomCompound | Creates a new blank CustomCompound |
CreateDraft | Overloaded. Creates a new blank OrderDraft |
CreateOsmChildDraft | Creates a draft for OSM child order. |
Disconnect | Closes the connection to the OEC server. |
DisconnectClient | Disconnects logged user session |
LoadOsmAlgoList | Loads a list of OSM algorithms. |
ModifyOrder | Modifies an existing Order |
RejectCommand | Rejects incomming Modify or Cancel Command. |
RejectOrder | Rejects an incoming Order. |
RequestBars | Overloaded. Requests price historical information in form of intra-day bars. |
RequestContracts | Obsolete. Request additional contracts - options and strategies (compounds) |
RequestHistory | Obsolete. Requests price historical information in form of daily bars. |
RequestIndexComponents | Sends a request to retrieve Index Components. Index Components will be available in Contract.IndexComponents after event OnIndexComponentsReceived with defined contract |
RequestQuoteDetails | Sends a request to retrieve Quote Details. Quote Details will be available in Contract.QuoteDetails after event OnQuoteDetailsChanged with defined contract |
RequestRangeBars | Obsolete. Requests price historical information in form of intra-day bars. |
RequestTickBars | Obsolete. Requests price historical information in form of intra-day bars. |
RequestTicks | Overloaded. Requests price ticks for given time range |
RequestVolumeBars | Obsolete. Requests price historical information in form of intra-day bars. |
SendLinkedOrders | Sends an chain of orders |
SendMessage | Overloaded. Sends a text message to a user |
SendNewsMessage | Send news message to everybody subscribed for given channel. |
SendOCOOrders | Sends a group of orders as OCO - One cancels other |
SendOrder | Overloaded. Internal, sends an Order with forced route. |
SetLoggingConfig | Sets logging config of API |
SubmitAllocationBlocks | Submits new allocation block list for logged user. When the list is applied OnAllocationBlocksChanged will be occured |
Subscribe | Subscribes for realtime Price feed. |
SubscribeBars | Overloaded. Subscribes price historical information in form of intra-day bars. |
SubscribeDOM | Subscribes for Depth of Market (DOM) data. |
SubscribeHistogram | Subscribes price historical information in form of price histogram. |
SubscribeHistory | Obsolete. Subscribes for price historical information in form of daily bars. |
SubscribeRangeBars | Obsolete. Subscribes for range bars for given time range |
SubscribeTickBars | Obsolete. Subscribes for tick bars for given time range |
SubscribeTicks | Overloaded. Subscribes for price ticks for given time range |
SubscribeVolumeBars | Obsolete. Subscribes for volume bars for given time range |
SymbolLookup | Overloaded. Sends symbol lookup request to server. Results will be available via event OnSymbolLookupReceived
|
Unsubscribe | Unsubscribes for realtime price feed |
UnsubscribeDOM | Unsubscribes from DOM data for a given contract |
UpdateOsmAlgoList | Updates a list of OSM algorithms. |
ValidateAllocationBlock | Validate allocation block |
OECClient Class | OEC.API Namespace