Trading

Returns all currently-open orders belonging to the authenticated portfolio. Orders are returned regardless of instrument or order type; filtering by instrument kind and order type is not currently supported.

Each order includes instrument_id, product_group, and the post_only, reject_post_only, and reduce_only flags. instrument_id is the numeric instrument id. product_group is the Starbase routing group (BTC, ETH, TIER_2, or TIER_3). post_only and reject_post_only correspond to the SBE postOnly and postOnlyReject bits and are mutually exclusive. reduce_only reflects per-order reduce-only from classic JSON-RPC or FIX (it cannot be set per order in SBE).

The portfolio is resolved from the authenticated session. There is no parameter to query another portfolio's orders. MMP-flagged orders are visible via this endpoint. Orders placed via Mass Quote (MassQuoteRequest) are not currently returned.

This endpoint is rate-limited to 10 requests per minute per portfolio on each REST gateway. The A and B gateways enforce this cap independently. Exceeding the limit returns HTTP 429.

get/api/v2/private/get_open_orders

Request

  • Base URL
    http://195.138.37.5:4410
  • URL
    http://195.138.37.5:4410/api/v2/private/get_open_orders
  • Auth
    HTTP bearer

Response

List of open orders for the authenticated portfolio. May be empty.

jsonrpc'2.0' required

The JSON-RPC version (2.0)

idinteger

The id that was sent in the request

Example response

{
  "result": [
    {
      "order_id": "1cc1c718-49e0-4ea5-8902-f3f22968c350",
      "instrument_id": 310001,
      "instrument_name": "TREE-USD",
      "product_group": "TIER_3",
      "price": 0.0717,
      "amount": 83698,
      "creation_timestamp": 1778270370643,
      "last_update_timestamp": 1778270370643
    }
  ]
}

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the required property // to the response with the status

    • info

      added the optional property // to the response with the status