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 was with ******* for 4 years at $230 a month, this is a huge savings for me, GOD BLESS YOU PEOPLE," - Comment from T.S. via Email
"I ran your IQFeed DDE vs. my broker vs. a level II window for some slow-moving options. I would see the level II quote change, then your feed update instantaneously. My broker's DDE, however, would take as much as 30 seconds to update. I am not chasing milliseconds, but half a minute is unacceptable." - Comment from Rob
"I had always used ******* but for the past 2 weeks have been trying DTN IQFeed. Customer support has been extraordinary. They call just to make sure your problem hasn't recurred." - Comment from Public Forum
"Excellent datafeed !!!" - Comment from Arely
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"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.
"If someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via Public Forum
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
"I am very happy I changed. I love the product, but more so I am thrilled with Tech Support. You are knowledgeable, polite, pleasant and professional." - Comment from Pat
Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Archive (2017 and earlier) »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: 9
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: 2093
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: 9
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: 2093
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 May 3, 2024 4:20 AM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003