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 great with the API. I love it." - Comment from Calvin
"I used to have *******, but they are way more money for the same thing. I have had no probs with data from DTN since switching over." - 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
"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'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 will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"I've been using Neoticker RT with IQFeed for two months, and I'm very happy with both of the products (I've had IQFeed for two years with very few complaints). The service from both companies is exceptional." - Comment from Public Forum
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"I started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
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) »Data and Content Support »Commodity Date of expiration
Author Topic: Commodity Date of expiration (2 messages, Page 1 of 1)

krwkrw
-Interested User-
Posts: 1
Joined: May 13, 2004


Posted: Jun 14, 2004 10:25 AM          Msg. 1 of 2
I understand the watchlist, I am just hoping to retrieve the expiration date for 04Dec Corn or 05 July Corn or whatever, I only need to retrieve the date one time and then I can do the calculations after that. I have no need to retreive it real-time as that is complete overkill for me. You must have the value stored somewhere, becuase you are using it to calculate days to expiration too. Do I have access to this table?

Thanks
Mike


-----Original Message-----
From: IQFeed Developer Support [mailto:]
Sent: Thursday, June 10, 2004 3:37 PM
To: rebermp@hotmail.com
Subject: Re: IQFeed NOTICE: IQFeed 2.3.0.1 is now available (Thread:342615)

From looking at your code excerpt, it looks like you are trying to get
historical data for a symbol. You cannot get the Days To Expiration data for
history data.
The Days To Expiration data is included for streaming data in the Update
Message.

I'm not sure how much you know about IQFeed, so I'll give you some basic
info. Sorry if you already know this!

At the start of your program, you need to call RegisterClientApp(), and
connect to IQConnect. I can't tell from your code excerpt if you are doing
this. If you're not, you can consult the help documenation for "Logging into
IQFeed", and "Getting Streaming Data".

After that is done, you are ready to request symbols, and receive streaming
data on them. First, you must watch a symbol ("Manage a Watch List" in the
help). Then, when a trade or a quote occurs for that symbol, you will
receive an Update Message (begins with a "Q"). Field #49 in that message is
the Days To Expiration field ("Update Message Format" in the help).

As far as the symbol @TB{month][year], you can run the SymbolLookup test
application, which is under the VC++ Examples directory in your install
directory. Type in @TB, and you will receive symbols that you can choose
from.


Also, if you have specific issues with the help documentation, please let us
know. We'd like to make it more clear where we can. Thanks!


Visit our new online forums! DTN employees actively monitor the forums to
provide you the highest level of support in the industry. Our forums also
has an announcements area where you can learn about new features or changes
within DTN. You can even use the forums to exchange trading ideas or tips
and tricks on how you use your DTN data to be more profitable.

Go to http://forums.dtniq.com now to start sharing information with fellow
DTN subscribers!


Natalie Hannan
Software Engineer
DTN Market Access
http://www.iqfeed.net
Edited by DTN_Steve_S on Sep 19, 2011 at 09:20 AM

DTN_Jay_Froscheiser
-VP, Product Operations-
Posts: 1746
Joined: May 3, 2004

DTN IQFeed/DTN.IQ/DTN NxCore


Posted: Jun 16, 2004 10:59 AM          Msg. 2 of 2
Mike,

Yes. Expiration date is a field in our datafeed. You just need to set a watch on the symbol and parse the fundamental record (which you get immediately) for the expiration date. The expiration date is not an included field when pulling historical data (it is only available in a fundamental or quote record).

Jay Froscheiser
DTN Market Access, LLC.
 

 

Time: Sun May 12, 2024 2:44 PM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003