API Support » OnPriceChanged Event Apr 01, 2010 @ 02:16 PM (Total replies: 1) | |||||
As stated in API documentation, OnPriceChanged occurs when one or more contract Price values are changed. It is not directly related to SendOrder and reflects only the market movement, though this movement might be caused by client's orders as well as by the orders of millions of other exchange clients. If you open API documentation at the OEC.API/OECClient Class/Events folder, you can see list of all API events. Also OECClient members page lists all methods and properties along with the events. |
|||||
API Support » Order Rejected Mar 31, 2010 @ 11:58 AM (Total replies: 3) | |||||
You could check the reason of rejection in the State.Comments property of the latest state in Order.States collection. I would also not recommend to use FX (FOREX) accounts for futures trading. |
|||||
API Support » Newbie: onLoginComplete not being called after logging on Mar 18, 2010 @ 11:36 AM (Total replies: 1) | |||||
the thread which creates OECClient should run standard message loop - either by calling Application.Run or by processing messages manually with PeekMessage/TranslateMessage/DispatchMessage. |
|||||
API Support » Cancel of Working Orders Mar 16, 2010 @ 10:43 AM (Total replies: 2) | |||||
Please let us know if problem isn't resolved on your side. |
|||||
Market Data » ask-bid histogram Mar 09, 2010 @ 10:31 AM (Total replies: 4) | |||||
OEC API does not provide ask/bid history, but you are free to implement your own recording. |
|||||
API Support » Reports and Historical Trades Data Mar 04, 2010 @ 10:06 AM (Total replies: 2) | |||||
Unfortunately, OEC API does not have such functionality. |
|||||
API Support » Request Bars Not Returning All Available History Feb 17, 2010 @ 04:28 PM (Total replies: 2) | |||||
OEC Trader could download data using multiple requests. Number of bars in a single response is limited. Could you please provide more details - what interval you are using, what start dates and what is the datetime interval of data you are receiving? |
|||||
Advanced Order Management » Orders getting rejected Jan 27, 2010 @ 09:04 AM (Total replies: 10) | |||||
Do you have this problem with each live order, or with only few? Could you please leave simulation test running for a longer period? |
|||||
API Support » MWE tick price Jan 26, 2010 @ 04:58 PM (Total replies: 4) | |||||
I believe that MWE tick size is 0.0025, and $5000 * 0.0025 = $12.50. |
|||||
Advanced Order Management » Orders getting rejected Jan 21, 2010 @ 04:49 PM (Total replies: 10) | |||||
I have double checked - order 24571954 was received by our server with GTC flag already set by client. Neither OEC API nor server made any changes to the flag value. |
|||||
Advanced Order Management » Orders getting rejected Jan 19, 2010 @ 08:29 AM (Total replies: 10) | |||||
both these orders do not have GTC flag. Linked (bracket) orders of the second orders have GTC flag. Is it what you expected? |
|||||
Advanced Order Management » Orders getting rejected Jan 19, 2010 @ 08:26 AM (Total replies: 10) | |||||
I will research that and get back to you ASAP. |
|||||
Advanced Order Management » Orders getting rejected Jan 08, 2010 @ 10:05 AM (Total replies: 10) | |||||
According our logs these orders were entered to the system with GTC flag. |
|||||
Advanced Order Management » Orders getting rejected Jan 07, 2010 @ 05:10 PM (Total replies: 10) | |||||
Could you please specify order number(s)? |
|||||
API Support » SubscriptionType.TickBar vs SubscriptionType.Ticks Dec 11, 2009 @ 04:05 PM (Total replies: 4) | |||||
You need to handle OnBarsReceived event. OnTicksReceived event works for SubscribeTicks and has Ticks in parameters. |
|||||
API Support » What symbols can I Subscribe? Dec 11, 2009 @ 04:00 PM (Total replies: 3) | |||||
OEC API is asynchronous. You need to wait until contracts are downloaded and event OnContractsChanged is raised before you can see the contracts you have requested. |
|||||
Market Data » Subscription and limits Dec 11, 2009 @ 11:14 AM (Total replies: 1) | |||||
Please make sure you are subscribed to OnError event. |
|||||
API Support » What symbols can I Subscribe? Dec 10, 2009 @ 11:45 AM (Total replies: 3) | |||||
Please make sure you downloaded the contracts for FDAX base contract first. see OECClient.RequestContracts method for details. |
|||||
API Support » SubscriptionType.TickBar vs SubscriptionType.Ticks Dec 10, 2009 @ 11:40 AM (Total replies: 4) | |||||
Ticks subscription allows to receive trades (ticks), and TickBar subscription gets bars composed from every N ticks, where N is BarInterval. BarInterval is not used for Ticks subscriptions. |
|||||
Market Data » Problems with Subscribe Nov 30, 2009 @ 12:49 PM (Total replies: 1) | |||||
Could you please specify what server (api, sim, prod) you were connected to, login name used, exact time of request and what values you expected to see in bid, ask and lastdatetime? |