Crypto long/short account ratio (OKX rubik)
crypto_long_short_ratioRetrieve the long/short account ratio time series for a cryptocurrency contract to analyze market sentiment. Specify currency (e.g., BTC) and period (5m, 1H, or 1D).
Instructions
Time series of the long/short account ratio for a currency's contracts (market sentiment). Rows: [ts, longShortRatio]. Example: { ccy: "BTC", period: "5m" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ccy | Yes | Underlying currency, e.g. BTC, ETH | |
| period | No | Sampling period | 5m |