360 Secure SkillHub
360 安全技能中心

vike-perp-overview

基于 vike-data 命令行生成永续合约市场快照:汇总资金费率套利、跨场所价格缺口和 Hyperliquid 排行榜,并查询单币种各场所持仓量、多空比与价差历史;输出文本报告或 JSON。不包含交易执行与费用/滑点计算。

分类:数据
vikeio
vikeio
热度 39.04
最近更新 2026-12-02 09:58:51

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add vikeio/vike-perp-overview
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
vike-perp-overview
description
Perp-market snapshot and the venue-level reads of one symbol — the top funding arbs, the widest perp price gaps between venues, the Hyperliquid leaderboard, open interest per venue and each venue's long/short lean. Use when the user asks "what's happening in perps today" / "perp market overview" / "any perp arb today" / "price differences across exchanges" / "where's X cheapest" / "open interest of X" / "long short ratio of X".
allowed-tools
Bash(vike-data:*)

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_usd is 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 under stale_venues and NOT in venues: never add it into a total.
  • long_share / short_share are fractions of 1; long_short_ratio = long / short, above 1 = long-heavy. Each venue counts something different, named in the row's basis: 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_bound and low_bps_bound only 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_a and book_bps_b are 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_exchange is the cheapest venue and sell_exchange the dearest for that symbol.
  • --symbol X returns 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 1000SHIB vs SHIB, 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 (or vike-hl-top-traders for a ranking).
  • User only wants price gaps → run perp spreads alone.

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 — 1000PEPE on Binance ≠ PEPE on 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 1d covers 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-funding for the funding deep dive and one-symbol venue comparison
  • vike-perp-crowding for funding + open interest net of price + long/short on one symbol
  • vike-hl-top-traders for the leaderboard filters and how to read its columns
  • vike-daily-brief for the perp section inside a cross-market brief