get_long_short_ratio
Retrieve the long/short account ratio for a symbol to analyze market sentiment. Supports linear and inverse products with customizable period and record limit.
Instructions
Get long/short ratio (account ratio).
Args: category: Product type: linear, inverse. symbol: Symbol, e.g., BTCUSDT. period: Period: 5min, 15min, 30min, 1h, 4h, 1d. limit: Number of records (default: 50, max: 500).
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": {
"category": "<category>",
"symbol": "<symbol>",
"period": "<period>"
},
"name": "get_long_short_ratio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | ||
| symbol | Yes | ||
| period | Yes | ||
| limit | No |