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,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 --json # BTC positions de-levered vike-data hl leverage-changes --change mode --json # cross <-> isolated switches vike-data hl leverage-changes --wallet 0xfba1abab671b67565759adc3f077cadef16905ff --json # one wallet, all time - 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... |
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.
- There is no size floor: most rows are small (2026-12-02: of the newest eight raises to 20x or more, five were BTC positions of $11 to $82). Filter and sort by
size_usdyourself 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_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
