get_trade_history
Retrieve your closed trade history on Pear Protocol including realized PnL, entry/exit ratios, and pair composition. Optionally filter by date range or 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.
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. |