Risk
Lift a halt
Accept orders again.
POST/resumeself-hosted · access token · trade
Self-hosted. Served by synpath serve on your own machine or host, which must be running; the engine and its order types live there. Nothing on this page runs on Synpath's servers.
Query parameters
| Name | Type | Description |
|---|---|---|
scope | string | A venue id, or omit for everything. |
Response
Whether a halt is still in force, for example one on another scope.
import os
import httpx
TOKEN = os.environ["SYNPATH_ACCESS_TOKEN"]
r = httpx.post("http://127.0.0.1:8000/trading/resume", headers={"Authorization": f"Bearer {TOKEN}"})
r.raise_for_status()
print(r.json())200
{
"halted": false,
"halt_reason": ""
}
