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)




"Thanks for following up with me. You guys do a great job in tech support." - Comment from Phelps
"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
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. 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
"I have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - Comment from Public Forum
"I was on the phone with a friend who uses CQG and right after the Fed announcement, CQG was as much as 30 seconds behind DTN.IQ. Some quotes were off by as much as 15-18 cents. Your feed never missed a beat." - Comment from Roger
"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
"You have an excellent product !!!!!!" - Comment from Arely
"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
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - 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 »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: 2086
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: Sun October 25, 2020 11:47 PM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003