Skip to main content
Glama
BCusack

Bybit MCP Server

by BCusack

get_closed_pnl

Retrieve historical profit and loss data for closed positions on Bybit to analyze trading performance and prepare tax reports.

Instructions

Get historical profit and loss data for closed positions. Useful for performance analysis and tax reporting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryYesProduct category to query closed PnL for
symbolNoSpecific trading pair to get PnL for. Leave empty to get all closed PnL in category
startTimeNoStart timestamp in milliseconds for PnL query
endTimeNoEnd timestamp in milliseconds for PnL 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