get_trade_history
Retrieve detailed trade execution history from Bybit, including prices, quantities, fees, and timestamps for performance analysis and tax reporting.
Instructions
Get detailed execution history showing actual trades (fills) with execution prices, quantities, fees, and timestamps. Essential for performance analysis and tax reporting.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | Product category to query trade executions for | |
| symbol | No | Specific trading pair to get trade history for. Leave empty to get all trades in category | |
| baseCoin | No | Base coin filter for derivatives and options | |
| orderId | No | Get trades for specific order ID | |
| orderLinkId | No | Get trades for specific custom order ID | |
| execType | No | Execution type filter | |
| startTime | No | Start timestamp in milliseconds for trade history query | |
| endTime | No | End timestamp in milliseconds for trade history query | |
| limit | No | Maximum number of records to return (1-100) | |
| cursor | No | Pagination cursor for next page of results |