whatif
Replay a trading strategy with modified parameters to evaluate hypothetical scenarios. Test changes like EMA periods or stop levels and see their impact on PnL.
Instructions
Counterfactual replay: same as replay_window plus a strategy-name filter and required param_overrides. Use for 'what if EMA period was 50 instead of 21' / 'show me the PnL if I had used a wider stop'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strategy | Yes | ||
| param_overrides | Yes | ||
| from_ts_ns | No | ||
| to_ts_ns | No |