stress_test_strategy
Stress-test a saved Pine strategy with cost, commission, period-start, bootstrap, and input-override scenarios to identify failures, worst cases, and performance degradation.
Instructions
Run bounded robustness tests for one exact saved Pine strategy. After a dry-run preview, confirm=true collects a baseline full ledger, applies modeled cost, commission, period-start, and seeded bootstrap scenarios, and can serially rerun up to eight explicit Pine input-override scenarios for Entry-delay, Stop/Target, or parameter-neighbor effects. Every temporary Strategy is removed and the chart fingerprint is checked before continuing. Results include failures, distributions, worst cases, and degradation without ranking, adoption, fabricated fills, or orders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | No | ||
| confirm | No | ||
| pine_id | Yes | ||
| bootstrap | No | ||
| scenarios | Yes | ||
| protocol_id | Yes | ||
| pine_version | Yes | ||
| evaluation_to | Yes | ||
| minimum_trades | Yes | ||
| evaluation_from | Yes | ||
| expected_symbol | Yes | ||
| rerun_scenarios | No | ||
| expected_timeframe | Yes |