Live Long/Short Ratio
live_long_short_ratioFetch real-time long/short ratio data for a specific Hyperliquid coin or the global market, with optional hourly history up to 168 hours.
Instructions
Get long/short ratio data. Without a coin, returns the global ratio across all Hyperliquid. With a coin, returns that specific pair's ratio. Optionally include historical data over the last N hours.
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": "live_long_short_ratio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | No | Coin symbol (e.g. BTC, ETH). For builder dex: prefix:COIN (e.g. xyz:SILVER). Omit for global ratio. | |
| hours | No | Include historical data for the last N hours (max 168 = 7 days) | |
| useToonFormat | No | Return data in compact toon format (default: true). Set to false for standard JSON. |