get_pnl_summary
Compute realized PnL summary for a Hyperliquid wallet: total PnL, closed trades, win rate, average ROI, best and worst trade, and average hold time over a chosen time window.
Instructions
Compute realized PnL summary for a Hyperliquid wallet: total PnL, closed trades, win rate, avg ROI, best/worst trade, avg hold time.
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": {
"address": "<address>"
},
"name": "get_pnl_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Public Hyperliquid wallet address. | |
| window | No | Time window: 7d, 30d, or all (capped at 365d). | 30d |