Create a backtest
https://api.dogabot.com/api/v1/backtest Enqueues a backtest. Check quota first; a limited number may run at once. start_time and end_time are unix milliseconds; execution_interval is milliseconds. Requires the listed write scope and feat:api:write on an Institutional account. Send Idempotency-Key.
write:backtest write Headers
Idempotency-Key string required Unique key per mutation so retries stay safe.
Body parameters
application/json required
name string required symbol string required exchange string required candle_timeframe string required Candle size, e.g. 1h or 60.
execution_interval integer required Strategy tick in milliseconds (must be compatible with candle_timeframe).
start_time integer required Range start, unix milliseconds.
end_time integer required Range end, unix milliseconds. Must be after start_time.
initial_capital number markets array of object Optional multi-leg markets. When omitted, a single primary leg is built from exchange/symbol.
params object Strategy params in the webapp / backtest save shape. Needs entry.rules (and usually exit/increase/reversal sections) for validation. Named-rule wire shapes: https://docs.dogabot.com/rules/ (JSON: /rule-examples.json). Ask AI / customLogic recipes: https://docs.dogabot.com/recipes/ (JSON: /recipe-examples.json).