Endpoints
Strategies
A strategy is a multi-leg trading rule with a cadence, an allocation, typed exits, and a sizing model. Each leg specifies what to trade, when to open, when to close, and how much per position. Execution is emit-only — Tickerbot maintains a paper ledger and emits intent webhooks to your executor.
| Method | Path | Summary |
|---|---|---|
| POST | /v2/strategies | Create a multi-leg strategy. |
| GET | /v2/strategies/{name} | Fetch a saved strategy. |
| GET | /v2/strategies | List your strategies, newest first. |
| PATCH | /v2/strategies/{name} | Partial update — change any subset of fields, including status. |
| DELETE | /v2/strategies/{name} | Soft-delete a strategy; optionally force-close open positions. |
| GET | /v2/strategies/{name}/positions | Positions opened by the strategy's runner. |
| POST | /v2/strategies/{name}/positions/{id}/close | Manually close (or partially close) an open position. |
| POST | /v2/strategies/{name}/run-tick | Evaluate the strategy once against the latest bar. |
| GET | /v2/strategies/{name}/backtest | Walk historical bars and return trades + equity curve + summary. |