API Support Forum
OEC API > Market Data > Which datafeed is not entitled?
Author Topic: Which datafeed is not entitled?
(6 messages, Page 1 of 1)
Moderators: VPfau
TLau471
Posts: 70
Joined:


Posted: May 27, 2016 @ 11:02 PM             Msg. 1 of 6
Right now, the API raises the OnError event with the message Data feed is not entitled

How do we tell which datafeed is not entitled?
Please kindly recommend a solution as that message is not user friendly for traders.

Thank you.
TLau
CMicciche902
Posts: 348
Joined:


Posted: May 31, 2016 @ 08:29 AM             Msg. 2 of 6
Which symbol are you attempting to subscribe to?

Only CME markets are offered in the Developer environment. If you are requesting data for EUREX or ICE, please remove them from your subscription requests.
Chris M
TLau471
Posts: 70
Joined:


Posted: May 31, 2016 @ 08:35 AM             Msg. 3 of 6
I'm trying to handle situations when a trader requests for symbols they are not entitled to.
TLau
CMicciche902
Posts: 348
Joined:


Posted: May 31, 2016 @ 08:40 AM             Msg. 4 of 6
We offer the following Classes regarding data entitlements:

1. Data Feed Entitlement - http://www.gainfutures.com/api/api/html/T_OEC_API_DataFeedEntitlement.htm
Some exchanges can require individual data feed entitlements. This class is intended to show what exchange and subscription types are entitled for user

2. DataFeedEntitlementList Class - http://www.gainfutures.com/api/api/html/T_OEC_API_DataFeedEntitlementList.htm
provides list of data feed entitlements
Chris M
TLau471
Posts: 70
Joined:


Posted: May 31, 2016 @ 08:54 AM             Msg. 5 of 6
Ok thanks, but more questions:

1. Are we supposed to compare DataFeedEntitlements.Exchange with the Contract.Exchange to determine if a datafeed is entitled?

2. For exchanges that required individual datafeed entitlements, how do we figure it out?
TLau
CMicciche902
Posts: 348
Joined:


Posted: May 31, 2016 @ 10:17 AM             Msg. 6 of 6
Yes, you can compare data entitlements to the exchange from contract.exchange. The following exchanges require market data subscriptions:

EUR
CME
CBL
IPE
NYM
COE
ICEEUC
ICEEUF
ICEEUS
ICECA

Some exchanges may only stream data to applications the customer has subscribed to. For instance, if you are a CME professional data user, a customer may only choose to pay for OEC Trader, or just a proprietary application using the API, or both.
Chris M