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'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 noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"Version has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"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
"I've been using IQFeed 4 in a multi-threaded situation for the last week or two on 2600 symbols or so with 100 simultaneous daily charts, and I have had 100% responsiveness." - Comment from Scott
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"DTN feed was the only feed that consistently matched Bloomberg feed for BID/ASK data verification work these past years......DTN feed is a must for my supply & demand based trading using Cumulative Delta" - Comment from Public Forum Post
"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
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
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 »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)

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

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

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 Guru-
Posts: 2084
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: Sat August 8, 2020 1:35 PM CFBB v1.2.0 31 ms.
© AderSoftware 2002-2003