Bad History Check
Author: dansmo
Creation Date: 8/18/2010 3:38 AM
profile picture

dansmo

#1
Hi,

is there a script available that checks intraday date for bad data?
Most important would be missing bars. Or can the "Bad History Data Check" script be used for intraday
data, too?
profile picture

Cone

#2
Depending on the provider, missing bars are expected for illiquid symbols on an intraday basis. For example, if stock ABC doesn't trade any shares from 10:31:00 to 10:34:00, you should expect 3 missing 1 minute bars. (Some providers may show the last close with 0 volume, I remember RealTick did this or had an option for it.)
profile picture

dansmo

#3
I want to check very liquid futures markets where I know that ther should not be any gap in the data during a trading day. Is there a script that does this?
profile picture

Eugene

#4
You could easily modify the strategy for intraday data. Here's an example that works for 60-min bars:
CODE:
Please log in to see this code.
profile picture

dansmo

#5
Thank you Eugene.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).