vike-perp-overview
One-shot market overview for perpetuals, plus the cross-venue price-gap, open-interest and long/short tools. There is no market-wide volume or per-venue mark-price tool; say so if asked (Hyperliquid's own open interest is vike-data hl market --json).
Open interest and long/short (one symbol, per venue)
vike-data md reads them from the REST API /v1/marketdata (1 credit each; the same answer as the MCP tools perp_open_interest and perp_long_short):
vike-data md oi BTC --json # newest print per venue
vike-data md oi BTC --exchange binance --hours 48 --json # hourly series, 1-8760 hours
vike-data md oi BTC --start 2026-06-01 --end 2026-12-01 --interval 1d --json # a past window, daily
vike-data md long-short ETH --json
vike-data md long-short ETH --exchange okx --hours 24 --json
Pass the base asset (BTC, not BTCUSDT); --exchange is lower case. A series is the last print per --interval bucket (1h default, 4h, 1d; 4h and 1d start at 00:00 UTC) over --hours before now OR --start/--end (ISO-8601 or unix seconds; both is a 400). History from 2026-04-10; at most 10,000 buckets a venue (a longer window is a 400, never cut short). The answer carries the window's start and end.
oi_usdis USD notional (open contracts x mark price when polled): not a contract count, so venues add up, and it moves with price even when no position opens or closes. Venues: aster, binance, bitget, bybit, deribit, hyperliquid, kraken, kucoin, okx (9). A venue silent for over an hour is understale_venuesand NOT invenues: never add it into a total.long_share/short_shareare fractions of 1;long_short_ratio= long / short, above 1 = long-heavy. Each venue counts something different, named in the row'sbasis: binance top traders by positions; okx and gate top traders by accounts; bybit and bitget all accounts. Never average across venues; compare a venue with its own history.- Long/short covers every perp whose open interest is collected on the venue (stock perps included); bitget publishes it for about 20 symbols only. Until December 2026 only about 40 major symbols were covered, so the others' history starts then. A symbol no venue covers returns empty lists and a
note, never zeros. - Whether a symbol is crowded:
vike-perp-crowding.
Price spreads
vike-data perp spreads --json # up to 10 symbols with a cross-venue price gap >= 0.5%
vike-data perp spreads --symbol BTC --json # BTC's cheapest and dearest venue now, whatever the gap
vike-data md spreads --json # the same answer from the REST API /v1/marketdata
vike-data md spreads-history BTC --a binance --b okx --interval 4h --json # one pair's gap over time, in bps
md spreads-history is leg A's price over leg B's per bucket, in basis points: (A / B - 1) x 10,000, positive when A is the dearer. It covers any two venues, perp or spot (--market-a, --market-b), since 2026-05-30, over the last 7 days unless --start/--end say otherwise.
high_bps_boundandlow_bps_boundonly BOUND the bucket's extremes, because each leg's extreme can fall on a different minute. Don't quote them as observed spreads.book_bps_aandbook_bps_bare each leg's mean bid-ask width.- A bucket where one leg was unpriced has no row.
Rows: symbol, buy_exchange, buy_price, sell_exchange, sell_price, spread_pct, and for buy_ and sell_ the venue's market_status (delisting, reduce_only, or null) and delist_ts. Pre-ranked: cite the rows directly, except a row with a delisting or reduce-only leg: its gap is often the delisting itself, not a trade. The md spreads table prints such a venue as binance (delisting 2026-12-08).
- "Spread" is the cheapest venue to buy, a perp or spot, against the dearest perp to sell.
buy_exchangeis the cheapest venue andsell_exchangethe dearest for that symbol. --symbol Xreturns X's one row whatever the gap, however small: it answers "where's X cheapest". It is empty only when fewer than two perps quote X in the last 5 minutes.- Outliers (> 400 bps off the cross-venue median) are filtered upstream — typically unit-mismatch listings like
1000SHIBvsSHIB, or stale prices. - It reads the latest ticker snapshots: a row is a current snapshot, not a forecast.
spread_pct = 0.7% on a liquid pair is an opportunity before taker fees, slippage and the time to move inventory between venues. For the funding side of the same trade use vike-perp-funding.
Market snapshot (3 parallel calls)
vike-data perp funding --json & # top funding-arb opportunities (max 5)
vike-data perp spreads --json & # widest cross-venue price gaps (max 10)
vike-data perp top-traders --window 1d --sort pnl --size 10 --json & # HL leaderboard
wait
Report template
Perp market snapshot (HL leaderboard: today and yesterday, UTC)
Top funding arbs (>0.3% daily spread)
BTC: long Bybit @ -0.5%/d, short Hyperliquid @ +0.8%/d → spread 1.3%/d- ...
Widest cross-venue price gaps (>0.5%)
SOL: buy Aster @ 138.20, sell OKX @ 139.05 → 0.61%- ...
Top HL traders, last 1d (by realized PnL)
0xabc...+$X (total_realized_pnl), ROI Y%, rank #1 — ...- ...
When to skip the 3-call snapshot
- User asked about one symbol's funding or venues →
vike-perp-funding. - User asked about one HL trader →
vike-hl-trader-profile(orvike-hl-top-tradersfor a ranking). - User only wants price gaps → run
perp spreadsalone.
Anti-patterns
- Don't quote funding rates in 8h chunks when the tool returns daily % — be consistent (daily %).
- Don't present a price gap as "free money" without fees / transfer time.
- Trading 1000-token-suffix pairs without normalizing —
1000PEPEon Binance ≠PEPEon Bybit; if the spread looks insane it's probably this. - "Top by PnL today" is noise for swing-trader narratives; only useful for "who's hot right now". Use 7d or 30d for skill claims, and remember
1dcovers today plus the previous UTC day, not a rolling 24 hours. - Don't present the top-traders list as "the best traders": the leaderboard rewards survivors.
Pairs well with
vike-perp-fundingfor the funding deep dive and one-symbol venue comparisonvike-perp-crowdingfor funding + open interest net of price + long/short on one symbolvike-hl-top-tradersfor the leaderboard filters and how to read its columnsvike-daily-brieffor the perp section inside a cross-market brief
