Dry-run a strategy config
strategy_dry_runSimulate a saved strategy with config overrides once without saving, returning run metrics, exits, per-layer blockers, and optional explain or randomized-entry analysis.
Instructions
Runs a config once without saving anything. strategyId is the saved base strategy (ownership); config overrides its saved config. Without explain/randomizedEntry: synchronous, returns the full RunSummary (metrics, exits, per-layer fired/opened/blockedBy and top blockers, inertFeatures). With explain or randomizedEntry: asynchronous, returns {dryRunId, kind:"DRY_RUN"} — then call wait {kind:"DRY_RUN", ids:[dryRunId]}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"strategyId": "<strategyId>",
"from": "<from>",
"to": "<to>"
},
"name": "strategy_dry_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ISO-8601 instant, or a date `YYYY-MM-DD` read as 00:00 UTC. | |
| from | Yes | ISO-8601 instant, or a date `YYYY-MM-DD` read as 00:00 UTC. Limits: from on or after 2020-01-01, to at most 24 h past now, from before to, at most 500,000 bars per run (422 PERIOD_TOO_EARLY / INVALID_PERIOD / PERIOD_TOO_LONG otherwise). | |
| config | No | ||
| symbol | No | Defaults to config.instrument.symbol. | |
| explain | No | Condition trace; true = the recent end of the period. | |
| exchange | No | Defaults to config.market.exchange, then binance. | |
| leverage | No | Futures only. Defaults to config.market.futures.leverage. | |
| timeframe | No | Defaults to config.instrument.timeframe. | |
| marginMode | No | ||
| marketType | No | Defaults to config.market.type. | |
| strategyId | Yes | ||
| applyFunding | No | ||
| initialCapital | No | Defaults to 10000. | |
| randomizedEntry | No | Null-model comparison: the same exits and sizing with coin-flip entries. |