get_open_closed_orders
Retrieve open and closed orders from Bybit to monitor trading activity, check order status, and track fills or cancellations.
Instructions
Get both open (pending) and recently closed orders. Essential for monitoring order status and trading activity. Use this to check if orders are filled, cancelled, or still pending.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | Product category to query orders for | |
| symbol | No | Specific trading pair to get orders for. Leave empty to get all orders in category | |
| baseCoin | No | Base coin filter for derivatives and options | |
| orderId | No | Specific order ID to query | |
| orderLinkId | No | Specific custom order ID to query | |
| openOnly | No | Filter by open orders only: 0 = all orders, 1 = open orders only, 2 = closed orders only | |
| limit | No | Maximum number of records to return (1-50) | |
| cursor | No | Pagination cursor for next page of results |