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)




"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"Just a thank you for the very helpful and prompt assistance and services. You provided me with noticeably superior service in my setup compared to a couple of other options I had looked at." - Comment from John
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - Comment from Public Forum
"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
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"I would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"I am very happy I changed. I love the product, but more so I am thrilled with Tech Support. You are knowledgeable, polite, pleasant and professional." - Comment from Pat
"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
"Thanks for following up with me. You guys do a great job in tech support." - Comment from Phelps
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 »How to obtain historical data (OHLC) for current bars
Author Topic: How to obtain historical data (OHLC) for current bars (2 messages, Page 1 of 1)

JJTrader
-Interested User-
Posts: 1
Joined: Nov 4, 2016


Posted: Nov 7, 2016 06:12 AM          Msg. 1 of 2
Hi

One of my requirements is to be able to pull OHLC for a bar that has not closed yet.
The bar timeframe could be anything from say 5min up to a monthly bar.
So I might want to pull OHLC for a 60min bar at xx:59, or a daily bar at 1500, or a weekly bar midweek, or a monthly bar mid-month.

Is this doable? I have had a partial answer via email that has said intraday data can be done easily, but the answer was ambiguous with respect to timeframes higher than intraday.

Could someone answer this question for me please? What I don't want to have to do is "hand crank" OHLC for a higher timeframe by downloading a load of data on a lower timeframe, iterating over it and pulling out the OHLC myself. I currently use Interactive Brokers and their reqHistoricalData function does this easily in one function call.

Thanks in advance.

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

DTN IQFeed/DTN.IQ/DTN NxCore


Posted: Nov 7, 2016 08:30 AM          Msg. 2 of 2
We received your follow up email as well and a response is coming shortly. For those on this forum with the same question, I will also answer here:

We store tick data for 180 days. This data can be retrieved in nVolume, nTick or nSecond intervals where “n” is whatever interval you choose. We store many years of 1 minute data. This data can be retrieved in nMinute intervals. Thus, you can request 60 minute bars and you will get data up to the latest tick with the last bar being a partial bar.

We store daily data with bars generated at the end of each day. When you ask for weekly or monthly bars, we derive that from the daily bars. These intervals will not include the current day's trading session until the end of the day. Our customers are traders, and thus they are nearly always also watching a stream of the instruments they are interested in. The stream includes everything they need to create their own partial/current bar for the day/session including OHLCV.

You don't need to hand crank over a load of data. You just need to watch the stream on the symbol. When you watch a symbol we send the current session OHLCV immediately and update it with every tick throughout the session so your chart/analysis can stay current.

Jay Froscheiser
Vice President, Active Trader Products
 

 

Time: Wed May 8, 2024 3:50 PM CFBB v1.2.0 12 ms.
© AderSoftware 2002-2003