Orderbook

private/get_open_orders

Returns all currently open orders for the given subaccount, including each order's instrument, direction, prices, amounts and status. Only orders resting on the order book are returned: pending trigger orders that have not yet fired are available from get_trigger_orders, and active algo orders from get_algo_orders. Once a trigger order fires, the resulting order appears here if it rests on the book rather than filling immediately; algo orders execute as IOC slices and so never rest here. Read-only query.

post/private/get_open_orders

Request

  • Base URL: https://api.derive.xyz/v3
  • URL: https://api.derive.xyz/v3/private/get_open_orders
  • Auth: none declared

Request body

subaccount_idinteger required

Response

Success

subaccount_idinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.