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 service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"I am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"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 just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"You have an excellent product !!!!!!" - Comment from Arely
"If you are serious about your trading I would not rely on IB data for serious daytrading. Took me a while to justify the cost of IQ Feed and in the end, it's just a 2 point stop on ES. Better safe than sorry" - Comment from Public Forum
"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
"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
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
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 »Minute data period volume slightly off?
Author Topic: Minute data period volume slightly off? (4 messages, Page 1 of 1)

ropester
-Interested User-
Posts: 10
Joined: Feb 24, 2008


Posted: Mar 30, 2008 01:40 PM          Msg. 1 of 4
Hi, i'm just running through the minute trades on a few options - virtually all the data is coming through fine but the data seems to be slightly off..
For example, RIMM 115 April Calls ( RUL DU ) shows 8202 as the total volume for friday..

If i run through every minute in the data and add up the period volume i end up with 7869

Am i missing something?

thanks
Si

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


Posted: Mar 31, 2008 10:24 AM          Msg. 2 of 4
You will almost never be able to add up the incremental volumes on minute data (nor tick data) and have it equal to the cumulative volume throughout the day. This is because the exchange occasionally will send a volume correction message that adjusts cumulative volume but does translate to a trade and as such, it does not show up in historical data.

mootsie
-Interested User-
Posts: 1
Joined: Apr 2, 2008


Posted: Apr 2, 2008 04:12 AM          Msg. 3 of 4
With this in mind, what is the most accurate way to calculate metrics such as VWAP which depend on price and volume? Based on the incremental volume for which we have an actual price, or by attempting to extrapolate an estimated price for the missing cumulative volume?

It seems that method 1 underestimates volume and method 2 has inaccurate price, but both methods are less than perfect. I wonder what is the "normal" way?

I have observed Ninja Trader, for instance, attempts to account for the missing volume by assigning the current tick price to the difference in cumulative volumes. This seems to be method 2 but with a poor estimation algorithm.

Is there a better methodology?

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


Posted: Apr 2, 2008 10:23 AM          Msg. 4 of 4
This is basicly going to be a "personal preference" decision.

I can tell you that IQFeed currently calculates VWAP "on-the-fly" using the following calculation:

new VWAP = ((previous VWAP * PrevTotal Volume) + (Last Price * Incremental Volume)) / new Total Volume
 

 

Time: Sat May 18, 2024 5:23 AM CFBB v1.2.0 9 ms.
© AderSoftware 2002-2003