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".
Install
npx skillscat add vike-io/vike-data-cli/vike-hl-leverage-shifts Install via the SkillsCat registry.
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:
- MCP: the
hl_leverage_changestool with the optionalwallet,symbol,change,min_leverage,min_usd,start,end,order,limit,cursor. - 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) - curl: send
X-API-KEY: $TOKEN(the credential isVIKE_API_KEY, elseapi_keyoranon_tokenfrom~/.vike/config.json;vike-coresays 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 0for every change, or raise it for whales. With--walletthere is no floor by default: one wallet's changes come at every size unless--min-usdsets one. Sort bysize_usdbefore 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_prevwithsize_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_prevdifferent fromposition_side= the position flipped between the snapshots.--change modekeeps only margin-mode switches;--min-leverageis a floor on the NEW leverage.
Window and paging
- Without
--walletthe window defaults to the 24 hours before--end(default now) and is at most 31 days; with--walletthere is no default and no cap. --limitup to 5000 (default 100). Page with--cursor <nextCursor>and the SAME filters,--startand--end.- To follow the feed:
--order asc, pass eachnextCursorback, stop on an EMPTY page.
Errors
- "without wallet= the window is at most 31 days ...": split the span into 31-day
--start/--endpieces. - An unknown
--changeis refused:up,downormode. - 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 liquidatedvike-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, thehl.leveragechannel ofvike-data stream hlvike-hl-trader-profile: the wallet behind a big change