get_trade_history
Fetch your recent closed trades with realized PnL, entry/exit ratios, and pair composition. Filter by date range and limit results.
Instructions
Fetch the authenticated user's recent closed trades on Pear Protocol with realized PnL, entry/exit ratios, and pair composition. Optional date range and limit. Requires PEAR_API_KEY.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_trade_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max number of trades to return. Default 50. | |
| startDate | No | ISO 8601 timestamp or epoch ms. Only return trades on or after this time. | |
| endDate | No | ISO 8601 timestamp or epoch ms. Only return trades on or before this time. |