Skip to main content
Glama

get_my_trades

Retrieve your personal trade history with detailed information including side, price, fees, and PnL. Filter by instrument, currency, or time period to analyze trading performance.

Instructions

Get personal trade history with detailed trade information (side, price, fees, PnL). Requires authentication.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subaccount_idYesSubaccount ID to get trades for
instrument_nameNoFilter by instrument (optional)
currencyNoFilter by currency (optional)
from_timestampNoEarliest timestamp in milliseconds
to_timestampNoLatest timestamp in milliseconds
pageNoPage number (default 1)
page_sizeNoResults per page (default 100, max 1000)

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/solenyaresearch0000/derive-MCP'

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