Backtesting Engine
Test your strategy against real historical data — tick by tick, in seconds.
Every strategy built in Charton goes through backtesting before anything runs live. The engine works at tick level, covers most of each asset's available price history, and returns a full breakdown of how the strategy performed — not just a win rate, but every metric that matters.
How it works
After building a strategy in the chat, you receive a quick summary of the basic results immediately — win rate, total trades, and net P&L. No waiting, no separate step.
From there, the strategy moves to the Workspace. The chat stays open alongside it. You see the strategy drawn directly on the chart — every entry, exit, and trigger — and next to it the full backtesting report with every metric expanded.
Any change you make through the chat automatically updates the backtest in real time. The same way TradingView's strategy tester works — except here the strategy itself was built by the system, not coded manually.
Realistic testing conditions
Results are only useful if they reflect real conditions. You can add commissions, slippage, and actual position sizing before running the backtest — the system does not assume ideal execution by default.
What the report includes
Everything. The full report covers:
Performance
- Net P&L and gross profit / gross loss
- Win rate and total number of trades
- Profit factor
- Sharpe ratio and Sortino ratio
- Expected payoff per trade
- Strategy vs buy & hold comparison
Drawdown & equity
- Max drawdown and average drawdown
- Max run-up and average run-up
- Equity curve over time
- Time to recover from max drawdown
- Consecutive wins and consecutive losses
- Historical VaR (95%)
Trade breakdown
- Long vs short split
- Average win vs average loss
- Largest single win and largest single loss
- Average trade duration
- P&L by day of week and by session
Capital efficiency
- Annualized return
- Return on initial capital
- Commission paid
- Margin usage (where applicable)
- Full list of every trade with entry, exit, P&L, and exit reason
Speed
Most backtests complete in seconds. Longer time ranges or strategies with a high number of trades may take up to a minute. The engine runs at tick level — meaning it processes every price movement in the data, not just candle opens and closes.
