Create strategy
create_strategySaves a new strategy on the API key's account and returns it with its id. Use it to set up a strategy to test with run_backtest; to change one use update_strategy. Only name is required (defaults: hybrid, min_confidence 60, direction all, 4h); engines take ids from the schema's list, and an empty symbols list means any pair. The website's tier limits apply (free: 3 strategies, 1 symbol, 3 engines, 1h or 4h) and a refusal names the limit. Needs a write-scope key; it starts no bot and places no order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Engine family the setup trades on. | hybrid |
| name | Yes | 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. | all |
| timeframe | No | Candle timeframe; the tier decides which are open (Free 1h/4h, Gold 15m/1h/4h). | 4h |
| description | No | Free text, up to 1000 characters. | |
| 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. |