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)




"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
"I am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"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
"Everything is working great with the API. I love it." - Comment from Calvin
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"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
"I ran your IQFeed DDE vs. my broker vs. a level II window for some slow-moving options. I would see the level II quote change, then your feed update instantaneously. My broker's DDE, however, would take as much as 30 seconds to update. I am not chasing milliseconds, but half a minute is unacceptable." - Comment from Rob
"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 amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler via Email
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 »Constructed volume differs from 'official' EOD volume data
Author Topic: Constructed volume differs from 'official' EOD volume data (4 messages, Page 1 of 1)

Wilkinson
-Interested User-
Posts: 4
Joined: Feb 6, 2015


Posted: Feb 6, 2015 04:53 PM          Msg. 1 of 4
I am using Amibroker with a 1-minute database. I am also using XLQ for Excel.

I noticed that for _any_ ticker the volume info shown on Amibroker's daily chart will be _less_ than the volume retrieved via XLQ (which again connects to IQFeed). The difference is in the 10-15% range, for all days, all tickers. I have cross-checked the information with Yahoo EOD data and the data in Excel/XLQ matches (to the 100, which is fine).

See attached screenshots for AAPL (created 3 days ago) - Excel.png and Yahoo.png.
However, if I look on the Amibroker chart I get the following values, starting from 3 Feb to 21 Jan:
48,527,572
58,504,896
76,975,896
78,355,120
136,403,232
89,923,048
50,280,040
43,102,976
47,692,804
45,262,800

I contacted Amibroker's support who sent me their snapshot created using an end-of-day database (Amibroker-EOD_Setup.png) and gave the following explanation:
"Indeed – 1-minute database is recommended, however in this case the daily prices and volumes are constructed out of individual 1-minute bars captured from the stream. So – the output will depend on your intraday settings in File -> Database Settings -> Intraday Settings.

This article explains the topic in details:
http://www.amibroker.com/kb/2006/03/19/how-does-the-daily-time-compression-work/

Note however that daily values obtained from the data-stream may differ from the ‘official’ prices provided by the exchange."

How is this difference possible? Surely, the sum of volume bars should give out the daily volume? There seem to be constant 10-15% difference which can mislead the chart eye AND the exploration scripts.

As there is an option to plot data from a 'Foreign' stock, was it possible to access the EOD data using a different symbol? (e.g. made up: "AAPL.EOD"). This way I could rely on the EOD data from this ticker and continue using the 5-min chart with live prices.

Thank you.



File Attached: Volume_Issue.zip (downloaded 1420 times)

DTN_CurtisT
-DTN Technical Support-
Posts: 323
Joined: Jun 14, 2007


Posted: Feb 8, 2015 07:02 PM          Msg. 2 of 4
Hello Wilkinson, within IQFeed the Intraday data only shows volume for Qualified last trades and Extended Trades, but does not include Other trade types like the End-of-Day values will. So the End-of-Day volume will always be higher than what the Intraday totals will be. As to viewing the End-of-Day volume totals within AmiBroker you will need to set the Database interval to End-of-Day for AB to pull that data. Within XLQ if you are using =xlqhVolume("Symbol", "Date Ref", "Source") this pulls the End-of-Day Volume Totals.

Curtis Thompson
support@iqfeed.net
support@dtniq.com
support@prophetx.com
Trading Markets Customer Service
1-800-397-7000

Wilkinson
-Interested User-
Posts: 4
Joined: Feb 6, 2015


Posted: Feb 11, 2015 04:40 AM          Msg. 3 of 4
Thank you Curtis.

As a workaround, is there an option to retrieved the EOD data even when the feed is to set 1 minute? (with a 'special' ticker name like 'AAPL.EOD' as I asked above?).

Amibroker DB is currently set to a mixed database on 1 minute bars, therefore it constructs the daily data from the minute bars on for the daily chart. The suggested solution (storing the data in an EOD database) would defeat the purpose of working with an exploration on an intraday 5-min chart AND past "completed" EOD data.

There is a way to get a 'foreign' stock from the same database in Amibroker but can't query another (Amibroker) database (i.e would have a 1-min and an EOD DB setup).

Alternatively I was thinking about importing the EOD data to using StaticVarSet for my watch list on a daily basis, but this sounds very painful and feels an unnecessary burden... I can get today's 'full' volume data so far using GetRTData("TotalVolume").

DTN_LorenF
-DTN Technical Support-
Posts: 228
Joined: May 11, 2004


Posted: Feb 11, 2015 08:31 AM          Msg. 4 of 4
Wilkinson
We do not have unique tickers for the data/time ranges. You can use the software to request the different time ranges.
 

 

Time: Thu May 2, 2024 2:28 AM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003