Orderbook

private/get_trigger_orders

Changed on

Returns all pending trigger (conditional) orders for the given subaccount that have not yet fired. Read-only query.

post/private/get_trigger_orders

Request

  • Base URL
    https://api.derive.xyz/v3
  • Auth
    API key in header X-DeriveWallet and API key in header X-DeriveTimestamp and API key in header X-DeriveSignature

Request body

GetTriggerOrdersRequest required
subaccount_id, integer required

Response

Success

AggregatedTriggerOrdersResult required
orders, Order[] required
subaccount_id, integer required

Changes

    • info

      the endpoint scheme security DeriveWallet AND DeriveTimestamp AND DeriveSignature was added to the API

    • info

      added the media type application/json for the response with the status

    • warning

      added the new max_crossed_orders enum value to the orders/items/cancel_reason response property for the response status