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)




"It’s so nice to be working with real professionals!" - Comment from Len
"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
"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
"You are either overstaffed or people just don't have problems with your feed because customer support always answers the phone quickly." - Comment from Jay via Email
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"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
"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
"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.
"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"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
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: Tue May 7, 2024 10:03 PM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003