API Support Forum
OEC API > API Support > "Top Of Market" is unreachable
Author Topic: "Top Of Market" is unreachable
(2 messages, Page 1 of 1)
Moderators: VPfau
Posts: 121
Joined: Jul 23, 2009

Posted: Mar 21, 2019 @ 06:08 PM             Msg. 1 of 2

Currently I 'm subscribed on "Top Of Market" only data feed,
as you explained it on https://myaccount.gainfutures.com/MarketData and
and in https://myaccount.gainfutures.com/Content/includes/pdf/Market_Data.pdf

"Real time quote board, charts and best bid/ask only on Depth of Market."

In OEC-Trader (prod) I received both of datafeeds (Quotes and "Top Of Market") very well.

However, my application, being connected to prod server too,
and being subscribed on DOM, doesn't recieved any events on DOM datafeed,
meanwhile quotes (ticks) datafeed is working very well.

Subscribing on the DOM datafeed maded by, and events are waiting on the following:
Sub SubscribeDOM(Contract As Contract)
Event OnDOMChanged(Contract As Contract)

Subscribing on the Tick datafeed maded by, and events recieved on the following:
Function SubscribeTicks(Contract As Contract, startDate As Double) As Subscription
Event OnTicksReceived(Subscription As Subscription, Ticks As Ticks)

The same code, logging on api server,
where my developer's account has the full "Depth of Market" subscribe plan and which I can't change,
API DOM subscribe is working OK on full depth.

Please, explain - how I can reach the "Top Of Market" data on API,
according to datafeed plan, on which I am subscribed currently.

Posts: 229

Posted: May 28, 2019 @ 03:19 PM             Msg. 2 of 2
All Developers accounts come with CME Market Depth data. We unable to entitle these accounts with Top of Book data. This data plan is only available in public simulation and production environments.
Chris M