Skip to main content
Glama
BCusack

Bybit MCP Server

by BCusack

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
NameRequiredDescriptionDefault
categoryYesProduct category to query trade executions for
symbolNoSpecific trading pair to get trade history for. Leave empty to get all trades in category
baseCoinNoBase coin filter for derivatives and options
orderIdNoGet trades for specific order ID
orderLinkIdNoGet trades for specific custom order ID
execTypeNoExecution type filter
startTimeNoStart timestamp in milliseconds for trade history query
endTimeNoEnd timestamp in milliseconds for trade history query
limitNoMaximum number of records to return (1-100)
cursorNoPagination cursor for next page of results

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BCusack/bybit-py-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server