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)




"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
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"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
"This is an excellent value, the system is generous (allowing for 500 stocks) and stable (and really is tick-by-tick), and the support is fantastic." - Comment from Shirin via Email
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"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 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.
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"I "bracket trade" all major news releases and I have not found one lag or glitch with DTN.IQ feed. I am very comfortable with their feed under all typical news conditions (Fed releases, employment numbers, etc)." - Comment from Public Forum
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 »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: 2093
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: Fri April 26, 2024 9:28 AM CFBB v1.2.0 13 ms.
© AderSoftware 2002-2003