Risk
Set your risk settings
Risk management in a backtest relies on two aspects: the position type and the risk per trade.
The position type affects how the amount placed on each trade (i.e. position size) is calculated in the backtest.
In summary:
With a fixed position type, you always place the same fraction of your capital on each trade, regardless of your strategy's exit rules.
With a dynamic position type, the amount placed on each trade is calculated automatically, so as to always risk the same fraction of your capital if your stop-loss is hit.
With a custom position type, you define yourself capital and risk management directly in your rules, based on specific conditions (e.g. adjusting risk after a series of wins or losses, dynamic allocation based on an indicator).
Fixed position
A fixed fraction of capital is placed on each trade, regardless of the strategy rules or the distance to the exit price.
Dynamic position
A fixed fraction of capital is risked, which means that if the stop-loss is reached, the loss will always remain the same proportion of capital. This position type absolutely requires using a stop-loss in your strategy's exit rules.
If your trading strategy does not use a stop-loss and you choose a dynamic position type, the backtest will then apply the logic of a fixed position type.
Custom position
You can define your own risk management rules and position sizing to adapt risk-taking to specific conditions. With this approach, risk management becomes totally flexible, and adapts to the specific rules of your strategy.
Last updated
Was this helpful?