Journal of Investment Strategies
ISSN:
2047-1238 (print)
2047-1246 (online)
Editor-in-chief: Ali Hirsa
Need to know
- We provide unit tests to be able to ensure correctness of backtest software.
- Correctness is ensured for order setups like limit buy order combined with stop loss.
- We find all possible backtest results on candle data for non-unique situations.
- We hint to algorithmic considerations to allow for a fast implementation of unit tests.
Abstract
In recent years, several trading platforms have appeared that provide a backtest engine to calculate the historic performance of self-designed trading strategies on underlying candle data. The construction of an accurate backtest engine is, however, a subtle task, as shown in previous work by Maier-Paape and Platen. Several platforms are struggling to achieve accuracy. We discuss how the accuracy of backtest engines can be verified and provide models for candles and intra-period prices, which may be applied to conduct a “proof of correctness” for a given backtest engine when our tests on specific model candles are successful. Further, we suggest algorithmic considerations in order to allow a fast implementation of the tests necessary for the proof of correctness.
Copyright Infopro Digital Limited. All rights reserved.
As outlined in our terms and conditions, https://www.infopro-digital.com/terms-and-conditions/subscriptions/ (point 2.4), printing is limited to a single copy.
If you would like to purchase additional rights please email info@risk.net
Copyright Infopro Digital Limited. All rights reserved.
You may share this content using our article tools. As outlined in our terms and conditions, https://www.infopro-digital.com/terms-and-conditions/subscriptions/ (clause 2.4), an Authorised User may only make one copy of the materials for their own personal use. You must also comply with the restrictions in clause 2.5.
If you would like to purchase additional rights please email info@risk.net