Hypothetical backtest
Trading bot risk calculator
Results are based on hypothetical backtests on historical data. They are not a guarantee of future performance, but can be used as a reference to gauge potential risk.
This calculator does not constitute financial advice. It is for information only.
Type your account's rules and replay a strategy's tested days through them, starting from every day it traded.
The three kinds of loss limit
The same numbers under each kind. Choose one to use it.
Every start, drawn
The trading days
Each coloured square is one trading day in the test, coloured by what happened that day: red, accounts were blown that day (the number in the square is how many); green, none was. A plain square had no closed trade.
How this is worked out
Every traded day is a start: the replay runs the strategy's tested days from each one, in order. Each day is replayed along its own ups and downs, from one turning point to the next. The test does not record whether a trade's best or worst point came first. The main result takes the worst point first in a trade that closed at a profit and the best point first in any other trade. The second result takes the best point first in every trade. Without a consistency rule, the second result is never the higher of the two. With a consistency rule on, it can be. Where trades overlap, they are taken one after another in the order they closed.
The loss limit is Static, a Trailing drawdown or an End-of-day drawdown, as chosen above.
The percentage passed counts passed and blown accounts; accounts still in progress when the test ended are left out. The ring shows all three: green passed, red blown, grey in progress. Days to the target are calendar days, from the start day to the day the target was reached, both counted; the required-days rule and the lines chart count days with trades. The account's own fees are not counted; commission and slippage are as in the test. Rules differ from account to account, so type your own.
A replay of hypothetical test results. Not a forecast, and not a chance of passing any account.
Every strategy under these rules
A replay of hypothetical test results. Not a forecast, and not a chance of passing any account.
The percentage passed counts passed and blown accounts, not those in progress. Choose a heading to sort; choose a strategy to open it.
A replay of hypothetical test results. Not a forecast, and not a chance of passing any account.
One live account, hypothetical backtest
A replay of hypothetical test results. Not a forecast.
The account's balance
How this is worked out
The account holds the chosen strategies together, each at its tested size times its own multiplier. Each day's result is the sum of the strategies' tested results that day; a strategy that did not trade that day adds nothing. The period runs from the start date to the last day every chosen record covers.
Max drawdown is the largest drop from a high on day closes. The records carry no trade times, so the worst case within a day adds up each strategy's own lowest point that day, as if they all came at the same moment.
Margin is the most micro contracts each strategy held open at one time in its test, times its multiplier, added up as if every strategy held its most at the same moment, times the margin per micro contract. The starting balance needed is that margin plus the most the account fell, within the day in the worst case.
The figures are after the commission and slippage in each test. Other fees and live fills are not included.
A replay of hypothetical test results. Not a forecast.
