Endpoints
Strategies
A strategy is a saved boolean condition over the signal vocabulary, evaluated per bar against any ticker you point it at. Optional exit policy turns a strategy into a trading hypothesis with paired entry/exit events and a backtest. With no exit policy it’s a watch — pure notification.
| Method | Path | Summary |
|---|---|---|
| POST | /v2/strategies | Create a user-defined condition, optionally with exit policy. |
| GET | /v2/strategies/{name} | Fetch a saved strategy. |
| GET | /v2/strategies | List all your strategies. |
| PATCH | /v2/strategies/{name} | Edit condition, description, or exit policy. |
| DELETE | /v2/strategies/{name} | Remove a strategy. |
| GET | /v2/strategies/{name}/{ticker}/history/{interval} | Time-series of the strategy's condition value on a single ticker. |
| GET | /v2/strategies/{name}/{ticker}/events | Paired (start, end) spans where the condition was true. |
| GET | /v2/strategies/{name}/backtest | Walk historical bars maintaining position state; return paired trades. |