vike-io

vike-hl-leverage-shifts

Who just raised or cut leverage on Hyperliquid, or switched a position between cross and isolated margin? Each open position (across wallets $10,000 or more by default, every size for one wallet; min_usd sets it) whose leverage setting changed between two position snapshots, across all wallets over the last 24 hours (up to 31 days at a time), on one coin, or for one wallet, with the old and new leverage and margin mode, side, size and entry price. Use when the user asks "who is levering up on BTC" / "anyone going 40x on ETH" / "are traders cutting leverage on HYPE" / "did this whale change its leverage" / "who switched to isolated margin".

vike-io 2 Updated 2d ago
GitHub

Install

npx skillscat add vike-io/vike-data-cli/vike-hl-leverage-shifts

Install via the SkillsCat registry.

SKILL.md

vike-hl-leverage-shifts

hl leverage-changes compares consecutive position snapshots (about 12 minutes apart) and returns each position whose leverage setting or margin mode differs, newest first.

Call it

Use the first of these that is available:

  1. MCP: the hl_leverage_changes tool with the optional wallet, symbol, change, min_leverage, min_usd, start, end, order, limit, cursor.
  2. CLI:
    vike-data hl leverage-changes --change up --min-leverage 20 --limit 100 --json   # positions taken to 20x or more, last 24 h
    vike-data hl leverage-changes --symbol BTC --change down --min-usd 1000000 --json   # BTC positions of $1M+ de-levered
    vike-data hl leverage-changes --change mode --json                               # cross <-> isolated switches
    vike-data hl leverage-changes --wallet 0xfba1abab671b67565759adc3f077cadef16905ff --json   # one wallet, every size (no floor with --wallet)
  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/leverage-changes?change=up&min_leverage=20" -H "X-API-KEY: $TOKEN"

Example questions

Ask Run
"Who is levering up on BTC?" --symbol BTC --change up, sort by size_usd
"Anyone at 40x on ETH?" --symbol ETH --change up --min-leverage 40
"Are traders de-risking HYPE?" --symbol HYPE --change down beside --change up, by count and size
"Did 0x... change its leverage?" --wallet 0x... (every size)
"Whales only" --min-usd 1000000

Reading

Each row: ts (the later snapshot's slot) and prev_ts, captured_at and prev_captured_at (when the two snapshots were taken), wallet, symbol, dex_name, change (up, down or mode), leverage_prev -> leverage, mode_prev -> mode (cross | isolated), position_side_prev -> position_side, size_usd_prev -> size_usd, entry_price_prev -> entry_price.

  • Across wallets, positions under $10,000 are left out by default (min_usd, the size AFTER the change; about three changes in four are smaller, 2026-12-02). Pass --min-usd 0 for every change, or raise it for whales. With --wallet there is no floor by default: one wallet's changes come at every size unless --min-usd sets one. Sort by size_usd before naming a trend.
  • The time is when we saw it, not when the wallet changed the setting: snapshots are about 12 minutes apart, so changes arrive in batches.
  • A leverage setting is not the position size. Compare size_usd_prev with size_usd: a higher setting on the same size locks less margin in the position (on isolated margin its liquidation price moves closer to entry); a bigger size is a new bet.
  • position_side_prev different from position_side = the position flipped between the snapshots.
  • --change mode keeps only margin-mode switches; --min-leverage is a floor on the NEW leverage.

Window and paging

  • Without --wallet the window defaults to the 24 hours before --end (default now) and is at most 31 days; with --wallet there is no default and no cap.
  • --limit up to 5000 (default 100). Page with --cursor <nextCursor> and the SAME filters, --start and --end.
  • To follow the feed: --order asc, pass each nextCursor back, stop on an EMPTY page.

Errors

  • "without wallet= the window is at most 31 days ...": split the span into 31-day --start/--end pieces.
  • An unknown --change is refused: up, down or mode.
  • Exit code 3 or HTTP 429: the day's request limit; show the message, do not retry.

See also

  • vike-hl-liquidation-radar: where those leveraged positions would be liquidated
  • vike-hl-cohort-positioning: the biggest open positions of a coin with their leverage (hl market --view positions --symbol BTC --sort size)
  • vike-stream: changes as they are seen, the hl.leverage channel of vike-data stream hl
  • vike-hl-trader-profile: the wallet behind a big change