Get portfolio performance
get_portfolio_performanceYOUR Hyperliquid account's performance and account facts (api:read), for wallet=main (your own wallet, default) or wallet=agent (the agent deposit wallet); the address is resolved from your token. view=portfolio (default): account value and PnL history over day / week / month / allTime, combined and perps-only (perpDay … perpAllTime) — the call for "how is my portfolio doing". view=summary: a normalized account summary across perps, HIP-3, USD spot and other spot assets. view=fees: your fee tier, maker/taker rates and recent daily volume. view=account_mode: standard | unified | portfolio_margin, with mode_source and stale. view=ledger: deposits, withdrawals and transfers (non-funding ledger updates) between start_time and end_time (epoch ms; start_time defaults to 30 days ago). Each answer names the wallet and address it read. Open positions and balances: get_positions / get_account_balances. The response carries app_url, the portfolio dashboard.
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_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | ||
| wallet | No | ||
| end_time | No | ledger only: epoch ms | |
| start_time | No | ledger only: epoch ms |