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 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
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"Excellent datafeed !!!" - Comment from Arely
"Everything is working great with the API. I love it." - Comment from Calvin
"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
"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
"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
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 April 26, 2024 2:40 PM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003