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 cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"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 use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - Comment from Public Forum
"Version 4.0.0.2 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
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"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
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"I just wanted to let you know how fast and easy I found it to integrate IQFeed into our existing Java code using your JNI client. In my experience, such things almost never go so smoothly - great job!" - Comment from Nate
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: Fri April 26, 2024 4:22 PM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003