Get PnL
get_pnlRetrieve an agent's daily profit and loss, including realized and unrealized PnL, fees, and funding, for a specified date range to assess trading performance.
Instructions
This agent's daily PnL (realised, unrealised, fees, funding), by day.
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_pnl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day, YYYY-MM-DD. | |
| from | No | First day, YYYY-MM-DD. |