feedback

Backtesting & Deployment

Once your strategy is ready, BlaveClaw automatically runs a backtest and sends you the report. Review the results and go live with a two-step confirmation.

Backtest Workflow

After writing the strategy, BlaveClaw automatically runs a backtest and sends results to Telegram.

1

BlaveClaw runs the strategy with MODE = "backtest", simulating trades over the configured date range.

2

A performance report chart (PnL curve + signal markers) is sent to Telegram, along with these metrics:

  • Return [%] — Total return over the backtest period
  • Sharpe Ratio — Risk-adjusted return; higher is better (aim for > 1)
  • Max Drawdown [%] — Largest peak-to-trough loss; lower is more stable
  • Win Rate [%] — Percentage of profitable trades
  • # Trades — Total trade count (too few may indicate sparse signals)
3

Based on the report, decide whether to tweak parameters or proceed to deployment confirmation.

Deployment Confirmation

BlaveClaw uses a strict two-step confirmation to prevent accidental deployment. You must reply YES to each step explicitly.

Step 1: Confirm Deployment

BlaveClaw asks:

Backtest results shown above. Deploy strategy to Live? Reply YES to confirm.

You reply:

YES

Step 2: Confirm Position Sizing

BlaveClaw then asks how much capital to use per trade:

Choose position sizing:
1. Fixed amount (e.g. 100 USDT per trade)
2. Fixed percentage (e.g. 10% of account balance per trade)

After confirmation, BlaveClaw switches to MODE = "live" and schedules the strategy to run automatically.

Important Both steps require an explicit YES. Ambiguous replies ("ok", "sure") will not trigger deployment.

Type B Deployment

Type B strategies skip backtesting. Confirmation is a single step:

Strategy logic shown above. Deploy? Reply YES to confirm.

The strategy is then scheduled and goes live immediately after confirmation.

Next Step Learn how to buy or share strategies in the Strategy Marketplace.