Long Short Ratio
long_short_ratioLong/short account ratio for a crypto perpetual contract on the OKX venue — the ratio of accounts holding longs to accounts holding shorts, bucketed by period. A value above 1 means more accounts sit long. Use for positioning and crowd-sentiment reads on a perp.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instId | Yes | ||
| period | No | 5m, 15m, 30m, 1H, 2H, 4H, 6H, 12H or 1D. Default 5m. | |
| buckets | No | Recent buckets to return. Default 24, max 100. |