get_open_closed_orders
Retrieve open or closed orders by product type. Filter by symbol, order type, and limit. Get a unified view of active and recent order history for linear, inverse, spot, or option categories.
Instructions
Get open and/or closed orders (unified endpoint).
Args: category: Product type: linear, inverse, spot, option. symbol: Filter by symbol (optional). open_only: 0: open orders only (default), 1: recent 500 closed orders. order_filter: Filter: Order, StopOrder, tpslOrder, OcoOrder (optional). limit: Number of records (default: 20, max: 50).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | ||
| symbol | No | ||
| open_only | No | ||
| order_filter | No | ||
| limit | No |