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 will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"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 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
"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
"If you want customer service that answers the phone, your best bet is IQFeed. I cannot stop praising them or their technical support. They are always there for you, and they are quick. I have used ****** too but the best value is IQFeed." - Comment from Public Forum
"I just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"I'm very glad I switched to IQFeed. It's working perfectly with no lag, even during fast market conditions." - Comment from Andy via Email
"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
"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.
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) »Data and Content Support »Volume issue
Author Topic: Volume issue (5 messages, Page 1 of 1)

newdoct
-Interested User-
Posts: 4
Joined: Jun 11, 2021


Posted: Jun 29, 2021 09:35 PM          Msg. 1 of 5
Hi, I'm doing some analysis on historical data and I noticed that there's an issue with the stock volume.

for otc EDS, I noticed for stock MMEX on 03/24/2021 I received this:
MMEX,3,1,0.002100,136000,3,20210324, 160046,0.001300,0.002500,0.001240,0.001300,,,,,,,715078128,915839192,1171595226,1003328001,2835122197,7734,1730,1736,4268,0.013558,,,,,,,


The total Volume is 715078128 (0.7B), but the UpVolume is 1171595226 (1.17B), DownVolume is 1003328001 (1B), NeutralVolume is 2835122197 (2.83B). The number does not match here.

When I checked on some other site, the total Volume seems should be 5.01B, which makes sense.

Do we know the cause of this? And do we know if there are any more data like this?

DTN Todd
-Interested User-
Posts: 74
Joined: Mar 24, 2010


Posted: Jun 29, 2021 09:46 PM          Msg. 2 of 5
We will have our data team look into this and then post their findings

Thanks
Todd

DTN Todd
-Interested User-
Posts: 74
Joined: Mar 24, 2010


Posted: Jun 29, 2021 10:56 PM          Msg. 3 of 5
Hello Newdoct

Our data team researched your inquiry, they verified that our minute data volume is correct. We do not count up the total volume as that is supplied by the exchange. If you have any questions please contact service chat is available at www.iqfeed.net IQfeed service phone number 800.779.7299

Thanks
Todd

newdoct
-Interested User-
Posts: 4
Joined: Jun 11, 2021


Posted: Jun 30, 2021 01:32 AM          Msg. 4 of 5
Hi Todd, this is end of day summary data, not minute data.

It is from the result directly from the api with request data:
EDS,1,5,20210324,

do you mean the volume is the same as what directly supplied by the exchange?

It looks to me it was due to some data type conversion

The total by calculation is 5010045424, while total volume provided is 715078128. Difference is 4294967296
which is 2^32

I noticed for the daily volume, if it is > 4.3B, the number we get from the api will automatically deduct 4294967296. I've also noticed the daily volume returned by EDS command never greater than 4.3B.

additional data points for prof (all are retrieved by EDS command, please notice the difference between calculated total volume and the volume directly received by API):
Symbol Date Volume(API) calculatedVol difference
HCMC 20210617 170545572 4465517868 4294972296
HCMC 20210616 707350096 5002317392 4294967296
HCMC 20210602 1563198018 5858165314 4294967296
INCC 20210520 1770913032 6065880328 4294967296
HCMC 20210510 1390303020 5685270316 4294967296

If anyhow, the volume data is using int or unsigned int (32bit) to represent in the code, please consider using the data type with a bigger range.
Edited by newdoct on Jun 30, 2021 at 01:33 AM

DTN Todd
-Interested User-
Posts: 74
Joined: Mar 24, 2010


Posted: Jun 30, 2021 01:38 AM          Msg. 5 of 5
I will have our developer support team look into this

Thanks
Todd
 

 

Time: Fri April 26, 2024 9:56 AM CFBB v1.2.0 10 ms.
© AderSoftware 2002-2003