apply_optimization
Apply a previously saved optimization result file to a strategy, creating an optimized strategy for further analysis.
Instructions
Apply an optimization result file to a strategy, saving <strategy_id>_optimized.
Prerequisite: run_optimize(save=true) — result_file is its `saved_path`. Runs
non-interactively (--yes). Returns {result_file, strategy_id, output}. Follow up by
generating Pine Script for `<strategy_id>_optimized`. Reports progress to capable
clients; has an execution timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result_file | Yes | ||
| strategy_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | Yes | ||
| error | Yes |