Backtesting

Testing a trading rule on past data to see how it would have performed.

Last updated:

Definition

Backtesting applies a set of entry and exit rules to historical prices and records every hypothetical trade. The result — win rate, average gain, drawdown — shows whether an idea had any edge before you risk real money on it.

How it is calculated

A fair backtest includes costs (commission), uses only information that was available at the time, and is checked on a period it was not designed on.

How to read it

A rule tuned until it looks perfect on the past usually disappoints in the future (overfitting). Prefer simple rules that work reasonably across many periods and shares.

For DSE investors

DSE history includes unusual periods such as the floor-price years, when many shares did not trade freely. Results that depend heavily on those periods should be treated with caution.

Frequently asked questions

Does a good backtest guarantee future profit?+

No. Markets change. A backtest shows whether an idea is worth testing further, not that it will work.

Can I backtest on Assetick?+

Yes, the Backtest tool runs indicator-based rules on DSE history.

← All terms

This explanation is for educational purposes only and does not constitute investment advice.