Save Strategy
save_strategySave a formula as a strategy IF it currently validates. Re-runs test_formula itself
server-side first — never trusts a stale claim from an earlier call, since data moves —
and only saves when that fresh verdict is 'validated'. Saved strategies appear in the
user's own EnsoTrade dashboard under Strategies; they're private to that account, not
published or shared with anyone else. Same parameters as test_formula: symbol/formula
as usual, timeframe="scalp" (use horizon) or "15m"/"1h"/"4h"/"1d" (use horizon_bars),
hours = history window tested. label is an optional short name for the strategy (e.g.
"BTC 1h RSI reversion"). Requires an EnsoTrade Pro API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | ||
| label | No | ||
| symbol | Yes | ||
| formula | Yes | ||
| horizon | No | ret_30s_bp | |
| timeframe | No | scalp | |
| horizon_bars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||