Synpath
Orders

List open orders

Every resting order the engine knows about, on every venue you hold.

GET/ordersself-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.

Query parameters

NameTypeDescription
venuestringOnly this venue.
bookstringOnly this strategy.

Response

A page of orders. Engine-held parents appear with held_by: "engine".

client = synpath.Client(synpath.load_credentials())
for order in await client.fetch_open_orders(venue="polymarket"):
    print(order.id, order.market_id, order.side, order.price, order.remaining)
200
{
  "data": [
    {
      "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": {}
    }
  ],
  "next_cursor": null,
  "count": 1
}