Retrieves the order history for a specific instrument. The history includes orders that have been partially or fully filled, as well as cancelled orders (if include_unfilled_orders is set to true).
Results can be paginated using offset and count parameters, or using continuation tokens. Use include_old_orders to include orders from before a certain date, and historical to retrieve historical order data.
๐ Related Article: Accessing Historical Trades and Orders Using API
Scope: trade:read
Instrument name Unique instrument identifier
"BTC-PERPETUAL"
Number of requested items, default - 20, maximum - 1000
1 <= x <= 1000The offset for pagination, default - 0
10
Include in result orders older than 2 days, default - false
false
Include in result fully unfilled closed orders, default - false
false
When set to true, the API response format changes from a simple list of orders to an object containing the orders and a continuation token.
Continuation token for pagination
"xY7T6cutS3t2B9YtaDkE6TS379oKnkzTvmEDUnEUP2Msa9xKWNNaT"
Determines whether historical trade and order records should be retrieved.
false (default): Returns recent records: orders for 30 min, trades for 24h.true: Fetches historical records, available after a short delay due to indexing. Recent data is not included.๐ Related Article: Accessing Historical Trades and Orders Using API