Get P&L
get_pnlRetrieve account-level profit and loss data: daily P&L, unrealized P&L, net liquidity, and excess liquidity. Requires an auto-managed brokerage session.
Instructions
Get account-level profit and loss data: daily P&L (dpl), unrealized P&L (upl), net liquidity (nl), and excess liquidity (el). Requires brokerage session (auto-acquired, auto-releases after idle).
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 |
|---|---|---|---|
| accountId | No | Account ID. Uses default account if omitted. |