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 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
"I just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
"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
"If you want customer service that answers the phone, your best bet is IQFeed. I cannot stop praising them or their technical support. They are always there for you, and they are quick. I have used ****** too but the best value is IQFeed." - Comment from Public Forum
"I just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter via Email
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"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'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.
"Everything is working great with the API. I love it." - Comment from Calvin
"For anyone considering using DTN.IQ for a data feed, my experience with the quality of data and the tech support has been very positive." - 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: Wed May 1, 2024 6:56 PM CFBB v1.2.0 10 ms.
© AderSoftware 2002-2003