Skip to content
Back to skills

Vike Io Vike Perp Open Interest

ASecurity

How much open interest a perpetual future holds on each exchange and how it moved - one coin's open interest in USD on Binance, Bybit, OKX, Bitget, Hyperliquid, Deribit, KuCoin, Kraken and Aster now, or per hour, 4 hours or day back to 2026-04-10; and which coins hold the most open interest across all those venues, each with its funding averaged by open interest. Use when the user asks "what is BTC open interest across exchanges" / "which exchange has the most ETH open interest" / "how has SO...

  • 81 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
toolsbashapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned December 2, 2026

npx -y skills add jiayaoqijia/cryptoskill --skill vike-io-vike-perp-open-interest --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vike Io Vike Perp Open Interest?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Vike Io Vike Perp Open Interest
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jiayaoqijia-vike-io-vike-perp-open-interest/badge)](https://www.skillsdirectory.com/skills/jiayaoqijia-vike-io-vike-perp-open-interest)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: vike-perp-open-interest
description: How much open interest a perpetual future holds on each exchange and how it moved - one coin's open interest in USD on Binance, Bybit, OKX, Bitget, Hyperliquid, Deribit, KuCoin, Kraken and Aster now, or per hour, 4 hours or day back to 2026-04-10; and which coins hold the most open interest across all those venues, each with its funding averaged by open interest. Use when the user asks "what is BTC open interest across exchanges" / "which exchange has the most ETH open interest" / "how has SOL open interest changed this month" / "which perps have the most open interest" / "is open interest at a high" / "market-wide funding of BTC weighted by open interest".
allowed-tools: Bash(vike-data:*)
---

# vike-perp-open-interest

Open interest per venue for one coin, and the cross-venue ranking of coins by open interest. 1 request per call. Pass the base asset (`BTC`, not `BTCUSDT`); venues are lower case. Whether rising open interest means a crowded side is `vike-perp-crowding`; the long/short lean per venue is `vike-perp-overview` (`md long-short`).

## Call it

Use the first of these that is available:

1. **MCP:** `perp_open_interest` with `symbol` (required) and the optional `exchange`, `hours`, `start`, `end`, `interval`; `perp_funding_oi_weighted` with the optional `symbol`, `limit`.
2. **CLI:**
   ```bash
   vike-data md oi BTC --json                                             # newest print per venue
   vike-data md oi ETH --hours 168 --json                                 # hourly, the last 7 days, every venue
   vike-data md oi BTC --exchange binance --start 2026-04-10 --interval 1d --json   # Binance BTC, daily, all history
   vike-data md funding-oi --limit 20 --json                              # the 20 coins with the most open interest, with OI-weighted funding
   vike-data md funding-oi SOL --json                                     # one coin's total and weighted funding
   ```
3. **curl:** the credential is `VIKE_API_KEY`, else `api_key` or `anon_token` from `~/.vike/config.json` (Windows `%USERPROFILE%\.vike\config.json`); with none, get a free anonymous token as `vike-core` says.
   ```bash
   curl -s "https://data.vike.io/v1/marketdata/perp/oi?symbol=BTC&hours=48" -H "X-API-KEY: $TOKEN"
   curl -s "https://data.vike.io/v1/marketdata/perp/funding/oi-weighted?limit=20" -H "X-API-KEY: $TOKEN"
   ```

`md oi` flags: `--exchange` (one venue); for a series either `--hours` (1-8760 before now) OR `--start`/`--end` (ISO-8601 or unix seconds; `start` defaults to 7 days before `end`, `end` to now), never both; `--interval` `1h` (default), `4h` or `1d` (4h and 1d start at 00:00 UTC), only with a series. `md funding-oi`: `--limit` 1-500 coins (default 50).

## Reading the answer

**`md oi`, newest print** (`{symbol, venues, stale_venues, unit}`): each venue row has `exchange`, **`oi_usd`**, `ts` and `age_s`. Venues: aster, binance, bitget, bybit, deribit, hyperliquid, kraken, kucoin, okx. `venues` printed within the last hour; `stale_venues` went silent and must not be added into a total.

**`md oi`, series** (`{symbol, interval, start, end, series, unit}`): `series` maps each venue to `[ts, oi_usd]` pairs, oldest first, each the last print in its bucket.

**`md funding-oi`** (`{symbol, rows}`, largest open interest first): `symbol`, `oi_usd` (the open interest of the venues weighed, summed), `venues`, and the funding averaged by open interest as `rate_8h` and `apr`, both fractions (0.036 = 3.6 % a year; positive: longs pay shorts). On 2026-12-02 BTC's `oi_usd` there (18.71B) matched the sum of `md oi BTC`'s nine venues (18.73B). The list includes stock and commodity perps (`XAU`, `SOXL`).

How to read it:

- **`oi_usd` is USD notional**: open contracts x mark price when polled. It is not a contract count, so venues add up, but it rises and falls with the price even when no position opens or closes. Over the same hours, contracts changed by about `oi_change% - price_change%`; `vike-perp-crowding` does that read with prices.
- **A venue's share** is its `oi_usd` over the sum of the fresh venues. Name the venues you summed.
- "At a high": pull the daily series from 2026-04-10 and compare the newest value with its own range, per venue or summed.
- Weighted funding counts only venues with a funding print in the last hour and open interest in dollars; bingx, gate, lighter, mexc and weex carry no weight. Per-venue funding is `vike-perp-funding`.

## Limits

- History from 2026-04-10 (later for venues added since); at most 10,000 buckets a venue a call: a longer window is a 400, never cut short. A year is `--interval 1d` or `4h`, not `1h`.
- Venues are polled every 5-8 minutes; the newest print can be a few minutes old (`age_s`).
- A coin no venue lists returns empty lists and a `note`, never zeros.
- Hyperliquid here is the venue's total; who holds it, wallet by wallet, is `vike-hl-cohort-positioning` and `vike-data hl market`.

## Errors

- `hours must be ...` or a 400 for `--hours` with `--start`/`--end`, or `--interval` without a window: drop one of them. The CLI exits 1 with the server's message.
- A window over 10,000 buckets: a wider `--interval` or a shorter window.
- `unknown query parameter` (curl): the route takes only `symbol`, `exchange`, `hours`, `start`, `end`, `interval` (`symbol`, `limit` on `oi-weighted`).
- Exit code 3 or HTTP 429: the day's requests are used up; show the server's message and stop.

## Anti-patterns

- Don't read rising `oi_usd` as new longs: it is both sides, and partly the price.
- Don't add a `stale_venues` row into a total, or compare totals with different venue sets.
- Don't call weighted funding "the funding rate": it is an average; the venues differ, and a trade pays its own venue's.

## Pairs well with

- `vike-perp-crowding` for open interest net of price next to funding and long/short
- `vike-perp-overview` for each venue's long/short lean (`md long-short`)
- `vike-perp-funding` for each venue's funding and its history
- `vike-perp-liquidations` for the open interest that was forced out

Files in this skill

  • LICENSE1 KB
  • SKILL.md5.9 KB
  • SOURCE.md352 B
  • TRUST.auto.yaml2.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.