Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"I just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"I would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"Everything is working great ! Very impressive client. The news refreshes better and is more pertinent than the ******* feed I paid $ 100/month for. I Also like the charts a lot." - Comment from Leon
"If you want customer service that answers the phone, your best bet is IQFeed. I cannot stop praising them or their technical support. They are always there for you, and they are quick. I have used ****** too but the best value is IQFeed." - Comment from Public Forum
"I was on the phone with a friend who uses CQG and right after the Fed announcement, CQG was as much as 30 seconds behind DTN.IQ. Some quotes were off by as much as 15-18 cents. Your feed never missed a beat." - Comment from Roger
"I just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
"Thanks for all of your help. Great customer service deserves to be recognized which one the reasons I've been a customer of DTN for over 10 years!" - Comment from Stuart
"I use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - Comment from Public Forum
Home  Search  Register  Login  Blogs Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTN_IQFeed on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »IQFeed Developer »IQFeed Developer Support »Get underlying for a futures option
Author Topic: Get underlying for a futures option (4 messages, Page 1 of 1)

homie70
-Interested User-
Posts: 6
Joined: Aug 12, 2018


Posted: Dec 4, 2018 02:07 AM          Msg. 1 of 4
Hi,

every option has an underlying. For index or equity options it is always the same. But for future options that changes with time due to the expiry of futures.

Therefore my question: Is it possible for a certain futures option to get the information about the ticker of the corresponding underlying through the IQfeed API, please?

Thank you

DTN_Steve_S
-DTN Guru-
Posts: 2069
Joined: Nov 21, 2005


Posted: Dec 14, 2018 11:58 AM          Msg. 2 of 4
Hello, sorry for the delay responding here.

I'm not sure I understand what you're asking for.

Future Options are issued based on a specific futures contract and expire at the same time (or close to).

The symbology also has the underlying contract specified as well.

For example

@ESZ18C120000

is an option for @ESZ18

homie70
-Interested User-
Posts: 6
Joined: Aug 12, 2018


Posted: Dec 14, 2018 12:21 PM          Msg. 3 of 4
Hello,

thx for your feedback.

What you are saying is sometimes true but not always, to my knowledge, e.g.

- Bund-Futures Options exists for every month, but you have only 4 Futures contracts per years (March, June, Sep, Dec)
- Corn Futures: you have the Jan, Feb and Mar Options which all have the March Futures as underlying

Therefore my question if an individual option maybe has a field which contains the underlying Futures?

DTN_Steve_S
-DTN Guru-
Posts: 2069
Joined: Nov 21, 2005


Posted: Dec 14, 2018 02:04 PM          Msg. 4 of 4
OK, I understand now. You're talking about serial options. We do not have this data directly in the feed currently. However, the next version of IQFeed (6.1) will have a way you can figure it out indirectly.

We are adding a List of contract months to the futures symbol's fundamental data.

As a result, using @C as an example:

@CF19C3300 is a serial option.

In IQFeed 6.1, watching @C# will give you a list of contract months so you will be able to compare the option Month code (F) to the list of future contract months (MKNUZ) and be able to determine what the next one would be which the serial month would apply to.
 

 

Time: Fri February 15, 2019 7:31 PM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003