Backtesting with tick data. How does it work?
Posted: Fri Nov 20, 2015 2:39 pm
Hey guys,
I'm not sure about other platforms, but I'll ask based on how mt4/mt5 works.
Here's the definition of the start function:-
In EAs, start() is called (and executed) immediately after a new tick comes. If a new tick has come during the execution of start(), this tick will be ignored, that is start() will not be called for execution when such a tick comes. All quotes received during the execution of start() will be ignored. The commencement of start() for execution is performed by the client terminal only, provided the previous operation session has been completed, the control has been returned to the client terminal, and start() is waiting for a new tick.
My question: Does this mean that backtesting in strategy tester actually operate the EA's algorithms without fail for each and every tick? Or is there some kind of internal simulation which ignores ticks in some set frequency?
Regards
Kevin Wong
I'm not sure about other platforms, but I'll ask based on how mt4/mt5 works.
Here's the definition of the start function:-
In EAs, start() is called (and executed) immediately after a new tick comes. If a new tick has come during the execution of start(), this tick will be ignored, that is start() will not be called for execution when such a tick comes. All quotes received during the execution of start() will be ignored. The commencement of start() for execution is performed by the client terminal only, provided the previous operation session has been completed, the control has been returned to the client terminal, and start() is waiting for a new tick.
My question: Does this mean that backtesting in strategy tester actually operate the EA's algorithms without fail for each and every tick? Or is there some kind of internal simulation which ignores ticks in some set frequency?
Regards
Kevin Wong