monte_carlo
Resamples a stored backtest's per-trade returns to estimate loss, ruin, and maximum-drawdown statistics via simulations.
Instructions
Monte Carlo on a backtest run: resamples its per-trade returns into loss, ruin and maximum-drawdown statistics. Reruns the stored backtest, which gives the same trades to the byte, then simulates.
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": {
"run_id": "<run_id>"
},
"name": "monte_carlo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| run_id | Yes | ||
| timeout_s | No | ||
| simulations | No |