vike-io

vike-hl-hip3

Is a stock, index or commodity perp on Hyperliquid trading above its real price, what does it pay in funding, and are whales long or short it? The HIP-3 builder-DEX markets (xyz:NVDA, xyz:CL, xyz:SP500, para:10Y and the rest - stocks, ETFs, indices, commodities, FX, rates, pre-IPO) - the whole board now with basis to the oracle, hourly funding, open interest and whale bias, and one market hour by hour or day by day since 2026-04-02. Use when the user asks "is NVDA on Hyperliquid trading at a premium" / "which tokenized stocks pay the highest funding" / "biggest stock perps on Hyperliquid" / "are whales short the S&P 500 perp" / "basis and funding of xyz:TSLA over the last month".

vike-io 2 Updated 2d ago
GitHub

Install

npx skillscat add vike-io/vike-data-cli/vike-hl-hip3

Install via the SkillsCat registry.

SKILL.md

vike-hl-hip3

HIP-3 markets are perps that a third party (a "builder DEX": xyz, para, ...) lists on Hyperliquid, mostly on real-world prices. Two reads: the board (every market from its newest 5-minute reading) and one market's history. A market is always dex:NAME; a bare NVDA is refused.

Call it

Use the first of these that is available:

  1. MCP: the hl_market tool with view: "hip3" (optional category, sort, order, limit, min_oi_usd), or view: "hip3_history" with market (optional start, end, interval, limit, cursor).
  2. CLI:
    vike-data hl hip3 --json                                              # the whole board, biggest open interest first
    vike-data hl hip3 --category stock,etf,index --sort abs_basis --limit 10 --json   # furthest from their oracle, either way
    vike-data hl hip3 --category stock --sort rate --order asc --limit 10 --json      # most negative funding first (shorts pay)
    vike-data hl hip3 --sort abs_basis --min-oi-usd 0 --limit 10 --json               # the same with markets under $500k open too
    vike-data hl hip3-history xyz:NVDA --interval 1d --start 2026-11-01 --json        # one market per day, oldest first
    vike-data hl hip3-history xyz:NVDA --interval 1h --start 2026-11-01 --all --json  # every hour, following nextCursor
    The table leaves out each row's cohorts; --json keeps it.
  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/hip-3?category=stock&sort=abs_basis&limit=10" -H "X-API-KEY: $TOKEN"
    curl -s "https://data.vike.io/v1/hyperliquid/hip-3/history?market=xyz:NVDA&interval=1d&start=2026-11-01" -H "X-API-KEY: $TOKEN"

Example questions

Ask Run
"Which Hyperliquid stock perps trade furthest from the stock price?" hl hip3 --category stock --sort abs_basis --limit 10
"Biggest HIP-3 markets right now" hl hip3 --limit 20 (default sort oi)
"Which tokenized stocks pay the most funding to shorts?" hl hip3 --category stock --sort rate --limit 10
"Oil and gold perps on Hyperliquid" hl hip3 --category commodity
"NVDA perp basis, funding and whale bias this month" hl hip3-history xyz:NVDA --interval 1d --start 2026-11-01

--category takes a comma list of stock, etf, index, commodity, forex, rates, preipo, crypto (Hyperliquid's own category); omit it for every market, including ones without a category. --sort is oi (default), rate, basis or abs_basis; --order desc|asc; --limit up to 1000 (default 500, the whole board; there is no cursor); --min-oi-usd leaves out markets with less open interest (default 500000 on rate, basis and abs_basis, none on oi; 0 for every market).

Reading the board

Envelope: as_of (the reading), cohorts_hour (the settled hour the cohorts come from), min_oi_usd (the open-interest floor applied), has_more. Each row:

  • symbol (xyz:NVDA), name, category, dex, ts.
  • mark_px (the perp), oracle_px (the price the market's operator posts: the share's price while its exchange is open), basis = mark / oracle - 1, a fraction (0.011 = the perp 1.1 % above the stock). null until the mark is known (recorded since 2026-12-01). While a share's exchange is closed the oracle follows the perp, so basis sits near zero: compare basis during market hours. premium is the venue's own premium.
  • funding_rate is the venue's HOURLY rate as a fraction (positive = longs pay shorts); funding_rate_annualized is it x 8760, simple (6.38 = 638 % a year).
  • open_interest in units, open_interest_usd in USD.
  • whale_bias from -1 (all short) to +1 (all long) over the four whale rungs; null when no whale holds it. cohorts lists per size cohort long_usd, short_usd, wallets.

A rate, basis or abs_basis sort leaves out markets under $500,000 of open interest (since 2026-12-02: before, $20k-$77k markets led those sorts). --min-oi-usd 0 brings them back, a higher floor keeps only deep markets; still read open_interest_usd before calling a number a trade.

Reading one market's history

hl hip3-history <dex:NAME> returns market, interval, start, end, items oldest first and nextCursor (null on the last page). Per bucket: mark_px, oracle_px, open_interest, open_interest_usd and cohorts are the bucket's LAST reading; basis, premium and funding_rate the MEAN of its readings; plus funding_rate_annualized and whale_bias.

  • basis_source says what basis is: premium (the venue's premium, before 2026-12-01 03:15 UTC, with mark_px and oracle_px null) or mark_oracle (mark / oracle - 1, after). Do not read a jump at that switch as a market move.
  • --interval 1h (default), 4h, 1d (the last two start at 00:00 UTC). --start is inclusive, --end exclusive; ISO-8601 or unix seconds, floored to the interval; default the 7 days before the bucket in progress. Data from 2026-04-02.
  • --limit 1-1000 buckets a page (default 50); --all follows nextCursor to the last page (1000 a page), each page one request. A window of more than 10,000 buckets is refused.
  • The server lower-cases the dex (XYZ:NVDA is read as xyz:NVDA); the ticker must be the market's own.
  • An empty window comes back with a note naming the dates the market has readings for.

Errors

  • "market must be a HIP-3 market, dex:NAME (e.g. xyz:NVDA)": find the name with hl hip3 or vike-data search NVDA.
  • "no history for 'xyz:...': not a Hyperliquid market we hold": the market does not exist or never traded; check hl hip3.
  • "at most 10,000 buckets of 1h a call": narrow --start/--end or use --interval 4h/1d.
  • "this cursor belongs to another call": resend the same market, interval, start and end with the cursor.
  • "category takes a comma-separated subset of [...]": spell the category as listed above.
  • Exit code 3 or HTTP 429: the day's request limit; show the message, do not retry.

Anti-patterns

  • Don't quote a weekend or overnight basis of ~0 as "fairly priced": the oracle was following the perp.
  • Don't call funding_rate daily or 8-hourly: it is per hour.
  • Don't compare a HIP-3 market's open interest with the stock's market cap or volume.

See also

  • vike-perp-funding (vike-data md funding NVDA): the same stock's perp on every venue, HIP-3 markets included
  • vike-candles (vike-data candles hl xyz:NVDA): price bars of a HIP-3 market
  • vike-hl-cohort-positioning: cohort long/short of one market hour by hour (hl cohort-metrics xyz:NVDA)
  • vike-hl-market-stats: one perp's hourly funding history (hl market --view funding_rates --symbol xyz:NVDA)