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'm satisfied with IQFeed. It's the most reliable and fastest quote feed I have ever used. Although I'm a resident in China, it's still very fast!" - Comment from Xiaofei
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"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
"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.
"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've been using IQFeed 4 in a multi-threaded situation for the last week or two on 2600 symbols or so with 100 simultaneous daily charts, and I have had 100% responsiveness." - Comment from Scott
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"DTN feed was the only feed that consistently matched Bloomberg feed for BID/ASK data verification work these past years......DTN feed is a must for my supply & demand based trading using Cumulative Delta" - Comment from Public Forum Post
"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
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
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 »IQFeed Developer »IQFeed Developer Support »Retrieve contract info
Author Topic: Retrieve contract info (4 messages, Page 1 of 1)

ejzj1
-Interested User-
Posts: 10
Joined: Nov 10, 2015


Posted: Feb 15, 2016 11:51 AM          Msg. 1 of 4
Hello,
how can i retrieve contract info for futures via api. I need the expiration date.
Thanks for help.

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


Posted: Feb 15, 2016 01:31 PM          Msg. 2 of 4
We provide the Expiration date in the fundamental message of level 1 data.

Take a look at the documentation page for fundamental data fields here:
http://www.iqfeed.net/dev/api/docs/Level1FundamentalMessage.cfm

ejzj1
-Interested User-
Posts: 10
Joined: Nov 10, 2015


Posted: Feb 16, 2016 01:14 AM          Msg. 3 of 4
This helps me. Thanks.

Is there a way to get the expiration date of old contracts?

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Feb 16, 2016 08:00 AM          Msg. 4 of 4
Unfortunately not directly. You could do a daily history request for each and get the last day that the contract traded/settled though and that may work for you.

Tim
 

 

Time: Sat August 8, 2020 1:28 PM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003