get_portfolio_summary
Calculate real-time profit and loss for crypto and stock portfolios, providing per-asset breakdowns and total performance metrics.
Instructions
Calculate real-time P&L for a portfolio of crypto and/or stocks. Returns per-asset breakdown and total portfolio performance.
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": {
"holdings": "<holdings>"
},
"name": "get_portfolio_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| holdings | Yes | List of holdings with asset ID, quantity and average buy price. |