[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Bad data with IQFeed?


  • Date: Thu, 04 Feb 2010 19:44:26 -0000
  • From: "kurasake" <kurasake@xxxxxxxxx>
  • Subject: [amibroker] Re: Bad data with IQFeed?

PureBytes Links

Trading Reference Links


Hi Patrick.

Thanks for your response.  I do agree that we have similar, but slightly different problems.

The problem with me is I only see the bad (abnormally high/low outlier) data popup in AB.  The data I see in QT is always correct (my setup is a single feed from IQFeed going into one machine which feeds data to both AB and QT directly).  And to top it off, the bad data doesn't exist in the Qutoations Editor in AB which is very odd.  Somehow AB is plotting data that doesn't exist in the Quotations Editor!?   When I do a "Force Backfill" in AB the outlier data magically vanishes.  This problem will come up whether or not I have QT running or not.  This is what leads me to believe the problems lies within AB and not IQFeed.

Also different from your case, I believe the root cause has something to do with me running an Exploration in AB on a watchlist with a lot of tickers, so unfortunately, running an exploration to get rid of the outliers isn't an option for me..  If I don't run an exploration, the bad outliers never appear (except for maybe the rare once in a blue moon occurance). After I run an exploration the bad data starts popping up.  So the past day or two I've not been running any explorations.  

This is a relatively new problem for me and I've been using this setup for some time now so I'm puzzled at what it could be.  This is getting a bit frustrating though.

Thanks for your input.


--- In amibroker@xxxxxxxxxxxxxxx, "NW Trader" <ta4charts@xxx> wrote:
>
> Hi Kurasake,
> 
> Now that you have added the QuoteTracker info to your problem, I'll confirm that I too have seen the same problem. I see it using QT with a data feed from Ameritrade (two computers and two different AMTD data servers).  The differences I've noticed from your experience are that I can find the bad data (lately a low or open of 0 on a one minute bar) when I check the raw data / quotes list in either AB or QT (in QT to see the raw data for an instrument, highlight the instrument and press <CTRL>D).  
> 
> These outlier data points do not show up on a chart in QT. If you see a bad data point on a QT chart you can zoom in on it and then press <Shift><CTRL>H to erase the high spike data and <Shift><CTRL>L to erase the low spike data. Sometimes multiple executions of this are required to get rid of the bad data.  To my knowledge, when the QT chart doesn't display the bad data, there is no way to edit the data in QT other than to scroll thru the raw data to find the bad stuff and delete it.  In AB I can see the bad data when I open the quote editor and then sort the column for low or high.  In AB you may edit the data or delete it. However if you catch a bad data point on the day it occurs, and correct it in QT, it usually will automatically correct in AB.  If it is more than a couple day bars in the past or perhaps if you have saved your database in AB, then you must manually correct the AB database. Perhaps there is a way to write a filter which will delete any intraday quote with a 0 entry or an entry X % away from the H or L -- I haven't had time to develop such.
> 
> Recently (past several weeks), I have seen increasing instances of the outlier condition, especially 0 at the open and several times in the first minute, but sometimes intraday as well.  I have talked to Ameritrade about this and in the case of the spike data, they say it is the result of delayed reporting from dark pools and they can't do anything about it (eSignal on the other hand does report it on a T&S window but doesn't pass it to a chart or to AB).  For some years, the SPY, or other heavily traded stocks, often will have intraday erratic spikes as well, especially on FOMC or other heavy volume days or after the close in the aftermarket. No explanation from AMTD yet to my inquiry about the 0 values. 
> 
> As recently as 1/29 there were many, many bad data spikes on many, many stocks as well as the 0 low value.  I finally wrote an exploration to find stocks with outlier values so I could correct them.  In the case of AB on my laptop I finally dumped the database for both QT and AB and reimported the quotes.  A usage tip: if you do not delete the bad data from QT, then it will be introduced into AB the next time you run an exploration, so step one is to clean up your QT data, then clean up the AB data (by edit or rebuild).  A good habit is to backup your AB data every so often (at least within the 20 days of storage QT provides) so that if you do get corrupted big time, it is easier to reinstall a "clean" historic intraday database and then update it from clean QT data.  
> 
> 
> Just one more reason I wish there were a plug in for Ameritrade, rather than having to import via QT.  (I am not knocking QT -- I have used it for longer than the 10+ years I've used AB and Jerry and Mike are second only to Tomasz for product support).   
> 
> Peace and Justice   ---   Patrick
>   ----- Original Message ----- 
>   From: kurasake 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Wednesday, February 03, 2010 11:09 AM
>   Subject: [amibroker] Re: Bad data with IQFeed?
> 
> 
>   I wanted to add that I have QuoteTracker running on the same machine using the same IQFeed and the data in QT is fine so it's definitely an AB issue.
> 
>   The problem seems to come up only after I run an "Explore" in "Automatic Analysis" over a large number of stock symbols.  The code in the .afl file I'm running can be as simple as: 
> 
>       Filter=1; 
>       AddColumn(O,"Open"); 
>       AddColumn(H,"High"); 
>       AddColumn(L,"Low"); 
>       AddColumn(C,"Close"); 
>       AddColumn(V,"Volume",1.0);
> 
>   which is run on >400 symbols and "Wait for backfill" checked and "n last days" equal to 1.
> 
>   Any help, clues, hints on how I can fix this would be appreciated.
> 
>   Thanks
> 
> 
> 
>   ------------------------------------
> 
>   **** IMPORTANT PLEASE READ ****
>   This group is for the discussion between users only.
>   This is *NOT* technical support channel.
> 
>   TO GET TECHNICAL SUPPORT send an e-mail directly to 
>   SUPPORT {at} amibroker.com
> 
>   TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
>   http://www.amibroker.com/feedback/
>   (submissions sent via other channels won't be considered)
> 
>   For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
>   http://www.amibroker.com/devlog/
> 
>   Yahoo! Groups Links
>




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/