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: 2096
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: Thu July 3, 2025 10:49 PM CFBB v1.2.0 22 ms.
© AderSoftware 2002-2003