get_portfolio_summary
Retrieve a complete portfolio overview in one call, including USDC balance, positions with greeks, and aggregate totals, so you can avoid separate collateral and positions queries.
Instructions
Get a complete portfolio overview in a single call: USDC balance, all positions with greeks, and aggregate totals. Returns {balance, positions: [...], totals: {value, unrealized_pnl, delta, gamma, vega, theta}}. Use this INSTEAD of calling get_collaterals + get_positions separately — saves a tool call and does the aggregation for you. IMPORTANT: totals.delta is summed across ALL currencies (BTC + ETH + SOL + HYPE). For hedging a specific currency, filter positions by currency prefix (e.g., instrument.startsWith('ETH')) and sum their deltas. NOTE: positions include mark_price but NOT bid/ask. To close options, use get_tickers(expiry) for real MM quotes. Theta values are in USD/day for the full position size (already scaled by amount).
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_portfolio_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subaccount_id | No | Subaccount ID (defaults to configured) |