OEC Application Programming Interface

OECClient Properties

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

Public Static Properties

Global Global OECClient instance

Public Instance Properties

Accounts List of available accounts for trade. See Account.
AllocationBlocks List of allocation blocks
BaseContracts List of available base symbols. See BaseContract.
Channels List of news channels available for writing. See Channel.
Chat List of chat messages for last 24 hours.
ClearingHouses List of available Clearing houses
CompleteConnected Checks whether connection is established and all data loaded. See OnLoginComplete.
ConnectionClosed Checks is the connection to OEC Server closed
ContractGroups List of available contract groups. See ContractGroup, Contract.
Contracts List of available contracts. See Contract .
Currencies List of available currencies.
EventBatchInterval Interval for accumulating events to batch, in ms. OnBeginEvents OnEndEvents
Exchanges List of available exchanges.
InAutoReconnect Checks whether auto-reconnect is in progress now
LoggedUserClients List of another sessions of current user
News List of news messages for last 24 hours
Orders List of orders in current trading session. See Order.
OsmAlgoList The list of OSM algorithms.
PitGroups List of available PitGroups (routes). See PitGroup.
PriceHost Sets price server host name
Properties List of custom user properties
RemoteHostingEnabled Allows remoting access to this instance of OEC API See CreateInstance.
Routes List of available execution routes See Route
ServerHost Last server host passed to Connect method
Subscriptions List of subscriptions
TraderCategories List of trader categories
Traders List of underlying traders
Username Last username passed to Connect method
Users List of users available for chat. See User.
UUID Unique Universal IDentifier (UUID) This value has to be set to identify application when OEC API is being used by 3rd parties. Remoting connections are required to specify UUID as well. UUID must be obtained from OEC by contacting support (support@openecry.com). Obtaining the UUID and connecting your application to OEC with the UUID will enable your users to leverage a single login to access both your application as well as OEC's Trading platform at the same time.
WashAccounts Wash accounts

See Also

OECClient Class | OEC.API Namespace