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)




"If someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via Public Forum
"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 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
"Excellent datafeed !!!" - Comment from Arely
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"Its working FABULOUSLY for me!! Holy cow...there has been so much I've been missing lately, and with this feed and Linnsoft software...I'm in the game now." - Comment from Chris R.
"I have to tell you though that using the IQFeed API is about the easiest and cleanest I have seen for some time." - Comment from Jim
"I just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
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 »Historical Daily Bars and HL while the market is open.
Author Topic: Historical Daily Bars and HL while the market is open. (2 messages, Page 1 of 1)

mattgundersen
-Interested User-
Posts: 15
Joined: Jun 23, 2015


Posted: Jul 15, 2015 07:33 PM          Msg. 1 of 2
Hi,

I am requesting historical daily bars for @ES#. eg: "HDX,@ES#,300,1".
If I understand by observation of the data, while the market is open, today's daily bar (OHLC) is not returned until the close of the session?

If today's daily bar (OHLC) *is* returned while the market is open as a result of the HDX command, stop reading, I have a bug :)

Otherwise, here's my issue. I build my own bars so with the close I can build the daily bar. But if I request daily data in the middle of the session I need the HL for the day.

I know I could make a level1 request for @ES# and get the realtime HL for the day from there. But, to save bandwidth, one of the first commands I issue on the level1 socket is:
S,SELECT UPDATE FIELDS,Last,Total Volume,Last Size,Last TimeMS,Symbol

Given that, is the best practice for getting the intraday HL of the daily bar to:
S,SELECT UPDATE FIELD, .... asking for the HL?

Once I have it, resend my command to limit the fields? eg:
S,SELECT UPDATE FIELDS,Last,Total Volume,Last Size,Last TimeMS,Symbol

Or is there a another/better way?

Hope this made sense.
Thanks, Matt.

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: Jul 16, 2015 12:59 PM          Msg. 2 of 2
During the current trading session, the only ways to get the current High and Low values would be from a Level 1 watch or by requesting tick history and building it yourself from 'C' trades.

If you choose to go the level 1 route, I would recommend simply adding High and Low to your current fields. It will not change your internet bandwidth (only your local bandwidth) because the data is already there on your machine but you currently have it filtered out.
 

 

Time: Mon May 20, 2024 4:52 PM CFBB v1.2.0 6 ms.
© AderSoftware 2002-2003