get_closed_pnl
Retrieve closed profit and loss records for a specified trading pair, with optional filters for product type and record count.
Instructions
Get closed profit and loss records.
Args: symbol: The trading pair, e.g., BTCUSDT. category: Product type: linear, inverse (default: linear). limit: Number of records (default: 50, max: 100).
Returns: List of closed PnL records.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>"
},
"name": "get_closed_pnl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| category | No | linear | |
| limit | No |