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 used to have *******, but they are way more money for the same thing. I have had no probs with data from DTN since switching over." - Comment from Public Forum Post
"I've never had DTN go out on me since switching. ******* would go down a couple times every month when I was using them." - Comment from Bryce in AL.
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"I just wanted to let you know how fast and easy I found it to integrate IQFeed into our existing Java code using your JNI client. In my experience, such things almost never go so smoothly - great job!" - Comment from Nate
"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"Everything is working amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler via Email
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"Everything is working great with the API. I love it." - Comment from Calvin
"DTN has never given me problems. It is incredibly stable. In fact I've occasionally lost the data feed from Interactive Brokers, but still been able to trade because I'm getting good data from DTN." - Comment from Leighton
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: Sun May 19, 2024 11:58 AM CFBB v1.2.0 6 ms.
© AderSoftware 2002-2003