Backtesting

Validate Your Strategy

Backtesting is the general method for evaluating a trading strategy, how well it would have done in the past. Backtesting assesses the viability of a trading strategy (the bot's settings) using historical data to run through the strategy, and generating the results as if the strategy was to be deployed in that time frame. It provides a measure of confidence to employ the same strategy going forward. But bear in mind a good historical performance is not an indicator of the future.

A good backtest result does NOT guarantee good future performance

Time Frame

Backtesting can be usually done in 6 different time frames, 1 Day, 1 Week, 1 Month, 3 Months, 6 Months, 1 Year. Longer time frame can weed out market noises over a period of time while shorter time frames can evaluate current prevailing trends. It is good practice to draw conclusions from backtesting multiple time frames for each bot.

Backtest can only be done within the selected Time Frame from the day the Bot is created and going backwards in time. CFDHero supports custom date and time setting for Backtesting for users on our Professional Plan.

Data Source

CFDHero uses live candlestick data pulled from their respective brokerages. Trade signals are evaluated with each candlestick's open value, determined by the frequency. Choosing a longer time frame with higher frequency (e.g. 15 minute) might take a longer time for CFDHero to evaluate the data as more candlesticks are involved.

Note: Newly listed CFD instruments might not have enough data going back in time.

Last updated