top of page

Backtesting an algo in ProRealTime™

Writer's picture: ProRealAlgosProRealAlgos

Description

To backtest an algo is to test how the algo has performed historically. The backtest can give you valuable insights to the performance and nature of the algo, to help you with your money and risk management. It's always recommended to run a backtest before starting any algo. It's also recommended to investigate what the average spreads are for that index for the trade hours of your algo. Spreads and overnight fees are often underestimated.Please note that backtests can be easily manipulated and overly optimized to show great historic results but leading to a significant risk of underperformering when starting the algo live. It's also important that you understand that historic results are no guarantee for future results.



1. Opening up the correct chart (timeframe + index)

1) Find the instrument name for the algo you want to test. The list belows shows you which instruments the different algos run on for a international IG account.

Please note that instrument names, currencies and contract sizes can differ depending on the country of your trading account


Algo instruments and position sizes



2) Search for the instrument in ProRealTime(Click to open up a chart of that instrument)
















3) Change the timeframe of the chart to the timeframe intended for the algo (see list above)




















4) Change the number of units of the chart(The number of units of the charts changes

The number of historic candlesticks shown in the chart and consequently changes the time period of the chart and the time period of your backtest ) Most ProRealTime accounts have access to maximum 200 000 units of historic data.



















2. Running the backtest

1) Click on Indicators




















2) Go to Backtesting & Automatic trading and select your algo
















3) Optional: Change backtest settings by clicking Modify
















4) Optional: Change position size, spreads, initical capital etc























5) Click ProBackTest my system


(If you haven't changed settings. Default settings)
















(If you have changed settings)


Comments


Try the products free for 7 days

Easy setup • full version • get-started support

ProRealTime made easy

CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. On average 76% of retail investor accounts lose money when trading CFDs. Past performance is no guarantee of future results. You should consider whether you understand how CFDs work before starting.

Read full terms and conditions

ProRealTime™ is a trademark registered by the third-party entity ProRealTime SAS

We have no link with the ProRealTime™ entity that offers the ProRealTime™ trading software

Copyright ProRealAlgos 580648-4231
Harju maakond, Tallinn, Kesklinna linnaosa, Pille 13, 10173

bottom of page