Update strategy
update_strategyChanges fields of one of your saved strategies and returns the updated strategy. Use it to adjust a strategy between run_backtest runs; to make a new one use create_strategy. Only the fields you pass change; engines and symbols replace the whole list. The same tier rules as create_strategy apply to the result. A bot already deployed from the strategy keeps its own copy and is not changed. Needs an API key with write scope; another account's id reads as not found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Engine family the setup trades on. | |
| name | No | Setup name, up to 100 characters. | |
| engines | No | Engines to combine; the tier caps how many (Free 3, Gold 5, Platinum 8, Aleph 12). | |
| symbols | No | Pairs; the tier caps how many (Free and Gold 1, Platinum 3, Aleph 10). Empty means any pair, and run_backtest then needs symbol. | |
| direction | No | Which signals the setup takes. | |
| timeframe | No | Candle timeframe; the tier decides which are open (Free 1h/4h, Gold 15m/1h/4h). | |
| description | No | Free text, up to 1000 characters. | |
| strategy_id | Yes | Id from get_my_strategies. | |
| min_confidence | No | Minimum signal confidence, percent (1–100). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Set only on a failed call (isError true): what went wrong. | |
| created | No | True when create_strategy saved it. | |
| updated | No | True when update_strategy saved it. | |
| strategy | No | One saved strategy. |