Will backtest take time of day into account?
Author: Carloseta
Creation Date: 11/22/2010 5:58 PM
profile picture

Carloseta

#1
I'm backtesting a script looking back 5 years using 5 minute quotes.

Will the back test take the time of day into account. Will it trade the earlier triggers first?
profile picture

Eugene

#2
Yes, but there's one exception. If several stop/limit signals appear on the same 5 minute bar, then it's hard to tell which one happened first, causing inadvertent peeking into the future.

In this case you'd want to apply a workaround:

* WealthScript Programming Guide: Techniques > Most Probable AtStop
* Community Components library: Setting Priority for AtStop/AtLimit Orders
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).