360 Secure SkillHub
360 安全技能中心

vike-hl-market-stats

该 Skill 通过 MCP 工具、命令行或 HTTP 接口查询 Hyperliquid 各永续合约的未平仓量、资金费率、小时成交量及全平台生态指标,并说明字段含义、分页和常见错误,适合回答市场规模、增长与资金费率对比问题。

分类:数据
vikeio
vikeio
热度 37.67
最近更新 2026-12-02 09:56:21

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add vikeio/vike-hl-market-stats
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
vike-hl-market-stats
description
How big is Hyperliquid, is it growing, and which perps pay the most funding? Open interest of every perp (HIP-3 included) with long and short position counts beside the venue's own figure, venue-wide equity, open interest, wallets and positions hour by hour, traded volume per hour of the whole venue or one coin, the funding board of every perp ranked by open interest or rate, one perp's hourly funding history, and an hourly panel of price, open interest, funding and premium for up to 64 coins. Use when the user asks "how much open interest is on Hyperliquid" / "Hyperliquid volume today" / "which Hyperliquid perps pay the highest funding" / "BTC funding history on Hyperliquid" / "is Hyperliquid growing" / "OI and funding of BTC, ETH and SOL over the last week".
allowed-tools
Bash(vike-data:*)

vike-hl-market-stats

Venue-level numbers from two commands: hl market (views open_interest, funding_rates, hourly) and hl stats (views ecosystem, volume). All money is USD.

Call it

Use the first of these that is available:

  1. MCP: the hl_market tool with view open_interest, funding_rates (optional symbol, sort, order, start, end, limit, cursor) or hourly (symbols, optional days, start, end); the hl_stats tool with view ecosystem or volume (optional symbol, start, end, limit, cursor).
  2. CLI:
    vike-data hl market --json                                                  # open interest per symbol (the default view)
    vike-data hl stats --view ecosystem --limit 25 --json                      # venue totals per hour, newest first
    vike-data hl stats --view volume --limit 24 --json                         # venue perp volume per hour (--symbol BTC for one coin)
    vike-data hl market --view funding_rates --limit 20 --json                 # funding board, biggest open interest first
    vike-data hl market --view funding_rates --sort abs_rate --limit 20 --json # the most extreme rates, either sign
    vike-data hl market --view funding_rates --symbol BTC --start 2026-11-01T00:00:00Z --json   # one perp's hourly funding
    vike-data hl market --view hourly --symbols BTC,ETH,SOL --days 7 --json    # close, open interest, funding, premium per hour
    
  3. curl: send X-API-KEY: $TOKEN (the credential is VIKE_API_KEY, else api_key or anon_token from ~/.vike/config.json; vike-core says how to get an anonymous token).
    curl -s "https://data.vike.io/v1/hyperliquid/positions/symbols" -H "X-API-KEY: $TOKEN"
    curl -s "https://data.vike.io/v1/hyperliquid/funding-rates?sort=abs_rate&limit=20" -H "X-API-KEY: $TOKEN"
    curl -s "https://data.vike.io/v1/hyperliquid/stats/volume?symbol=BTC&limit=24" -H "X-API-KEY: $TOKEN"
    
    Also /v1/hyperliquid/stats and /v1/hyperliquid/symbols/hourly?symbols=BTC,ETH&days=7.

Example questions

Ask Run
"How much open interest is on Hyperliquid?" hl stats --view ecosystem --limit 1 (open_interest) or hl market per coin
"Hyperliquid BTC volume over the last 24 hours" hl stats --view volume --symbol BTC --limit 25, drop the first row (hour in progress)
"Which Hyperliquid perps pay the most funding?" hl market --view funding_rates --sort rate --limit 20, check open_interest_usd
"BTC funding on Hyperliquid this month" hl market --view funding_rates --symbol BTC --start 2026-11-01T00:00:00Z
"Is Hyperliquid growing?" hl stats --view ecosystem --limit 169: newest row vs 24 and 168 rows back

Reading

  • open_interest (hl market): a bare array, biggest first: symbol, total_value (long + short notional), total_value_long, total_value_short, count (positions), count_long, count_short, venue_open_interest_usd (Hyperliquid's own figure, to reconcile: BTC $2.086B ours vs $2.074B published on 2026-12-02). Long and short notional are equal by construction (every long has a short), so the lean of a coin is in count_long vs count_short (many small longs against fewer large shorts) and in which cohorts hold each side (vike-hl-cohort-positioning).
  • ecosystem (hl stats): metrics, one row per hour, newest first: ts, total_perp_equity, count_wallets, count_open_positions, count_long, count_short, open_interest (long + short), open_interest_long, open_interest_short, count_positions_in_profit. 24 rows back = a day earlier.
  • volume (hl stats): volume, one row per hour, newest first: ts, volume (USD, each trade counted ONCE, the figure the candles report), n_fills (fill records, two per trade), symbol. The newest row is the hour in progress (BTC 2026-12-02 01:00: $6.6M against $380M for a full hour). The venue figure includes builder-DEX (HIP-3) perps and leaves out spot.
  • funding_rates board (no --symbol): as_of, then per perp symbol, funding_rate (the venue's HOURLY rate as a fraction; positive = longs pay), funding_rate_annualized (x 8760, simple), premium, mid_price, open_interest (coins), open_interest_usd. --sort oi (default), rate, abs_rate; --order desc|asc. rate and abs_rate put tiny markets first: on 2026-12-02 the top two had $28k and $75k open. There is no open-interest floor flag: read open_interest_usd.
  • funding_rates with --symbol: that perp's hours, newest first, from data_from: each funding_rate is the MEAN of the hour's ~12 five-minute readings (n_snapshots), not the settled rate; the newest hour is in progress (fewer snapshots). HIP-3 hours from 2026-04-22 13:00 to 2026-11-03 are the settled rate. --start/--end need --symbol.
  • hourly (--symbols, at most 64): columns ["ts","symbol","close","open_interest","funding_rate","premium"] and rows as ARRAYS in that order, not objects; ts, start and end are unix seconds; open_interest is in coins; close comes from fills. --days 1-400 (default 120) or --start.
  • Paging: funding_rates and stats take --limit up to 5000 and --cursor <nextCursor> (resend the same --symbol, --sort and --order).

Errors

  • "hl_market view 'hourly' needs symbols": pass --symbols BTC,ETH.
  • "... does not take [...]": a flag of another view (--start on the funding board needs --symbol).
  • "... must be at most 5000 ... (page with cursor)": page instead.
  • Exit code 3 or HTTP 429: the day's request limit; show the message, do not retry.

Anti-patterns

  • Don't compare Hyperliquid's hourly funding with a CEX 8-hour rate without scaling (vike-perp-funding).
  • Don't read a USD open-interest rise as new positions without the price move: hourly gives open interest in coins beside the close.
  • Don't quote the newest volume hour as a full hour.

See also

  • vike-perp-funding, vike-perp-overview: the same numbers across CEX venues
  • vike-hl-hip3: the HIP-3 board with basis to the oracle and whale bias
  • vike-hl-asset-briefing: everything about one coin on one page
  • vike-hl-cohort-positioning: who holds the long and the short side