Orders
Get order
One order by its id, as the journal last saw it.
GET/orders/{order_id}self-hosted · access token · view
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.
Path parameters
| Name | Type | Description |
|---|---|---|
order_id | string | The venue's order id, or an engine-held order's id. |
Response
The order.
order = await client.fetch_order(order_id, market_id="polymarket:2252244")
print(order.status, order.filled, order.remaining)200
{
"id": "01a0afc0-46e8-7596-b183-1ff448331615",
"client_order_id": "quickstart-1",
"venue": "kalshi",
"account": {
"venue": "kalshi",
"name": "desk-a",
"subaccount": null
},
"market_id": "kalshi:KXELONMARS-99",
"side": "buy",
"type": "limit",
"time_in_force": "gtc",
"status": "open",
"held_by": "venue",
"price": "0.10",
"stop_price": null,
"amount": "5",
"filled": "0",
"remaining": "5",
"average_price": null,
"cost": null,
"fee": null,
"fee_currency": "USD",
"last_fill_price": null,
"last_fill_amount": null,
"post_only": false,
"reduce_only": false,
"expires_at": null,
"created_at": 1789655008000,
"updated_at": 1789655008000,
"parent_id": null,
"queue_priority_preserved": null,
"book": "alpha",
"trader": "tester",
"tags": {},
"info": {}
}
