Skip to content

📊 Donut AI-Powered Backtesting ​

Test your trading ideas against historical data to see how they would have performed. Donut makes it easy to backtest strategies using simple, natural language commands.

Using the /backtest command, you can ask Donut to run a strategy for you.

Strategy Backtesting

You can ask Donut to backtest a strategy with questions like:

  • "Help me backtest a Bollinger Bands strategy on SOL/USDC for the last 30 days."
  • "Run a backtest for an RSI strategy on ETH/USDC from January 1st to now."
  • "What if I used a MACD strategy on BTC/USDC?"

Donut will return a comprehensive backtest report, giving you a clear view of your strategy's performance.

Backtest Report

Backtest Results ​

The backtest report gives you all the details you need to assess your strategy, including:

  • Key Performance Metrics: Instantly see your Net PnL, Win Rate, Max Drawdown, Sharpe Ratio, and Profit Factor.
  • PnL Chart: A visual chart showing your profit and loss over the backtesting period.
  • Trades Table: A complete list of every trade made during the backtest, which you can sort and review.

Analyze Your Backtest ​

Once a backtest is complete, you can ask the Donut AI to help you understand the results and find ways to improve.

For example: "This looks good, but how can I reduce the drawdown?"

Donut AI - The operating system for the on-chain world