list_profit_loss
Retrieve realized profit and loss records for a specified date range and get row IDs for viewing detailed entries.
Instructions
Realized PnL records between dates (YYYY-MM-DD). Each row's id works with list_profit_loss_detail.
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": {
"begin_date": "<begin_date>",
"end_date": "<end_date>"
},
"name": "list_profit_loss"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | ||
| begin_date | Yes | ||
| account_type | No | stock |