vike-hl-twaps
A TWAP is an order the venue executes in slices over minutes to hours, the usual way to buy or sell size without moving the price. hl twaps is a feed of TWAP status lines, newest first.
Call it
Use the first of these that is available:
- MCP: the
hl_twapstool with the optionalsymbol,wallet,twap_id,status,start,end,order,limit,cursor. - CLI:
vike-data hl twaps --symbol BTC --limit 100 --json # every BTC TWAP line of the last 24 h vike-data hl twaps --status activated --limit 100 --json # TWAPs started in the last 24 h, every coin vike-data hl twaps --twap-id 2928158 --json # every line of one TWAP vike-data hl twaps --wallet 0x8e6c25f50d4be1e649e61b331a804d11b07a5c08 --json # one wallet's, all time vike-data hl twaps --symbol HYPE --start 2026-11-25T00:00:00Z --order asc --json # a week, oldest first - 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).
One wallet:curl -s "https://data.vike.io/v1/hyperliquid/twaps?symbol=BTC&limit=100" -H "X-API-KEY: $TOKEN"/v1/hyperliquid/wallets/{address}/twaps(the same feed; cursors are interchangeable).
Example questions
| Ask | Run |
|---|---|
| "Who is TWAP-buying HYPE?" | hl twaps --symbol HYPE, keep side buy, group by twap_id |
| "Any big TWAPs started today?" | hl twaps --status activated --limit 1000, value size at the price |
| "How far along is TWAP 2928158?" | hl twaps --twap-id 2928158 |
| "What TWAPs has this whale run?" | hl twaps --wallet 0x... |
Reading
- One row per status CHANGE, not per slice fill:
activated,waitingForTrigger(a trigger price not reached yet), thenfinished(all of it executed),terminatedorstopped(ended before the full size). A running TWAP shows only itsactivatedline until it ends. - Fields:
ts(Hyperliquid's block time),twap_id,wallet,symbol,side(buy|sell),status,size(the whole order, in coins),executed_sizeandexecuted_notional_usd(cumulative when the line was written),duration_minutes,reduce_only,randomize,placed_at,trigger_px,trigger_above,stop_px,error,first_seen_at(when Vike stored it;nullfor lines not recorded live). - An
activatedline hasexecuted_size0 and no USD: value it assizex the current price. Afinishedline carries the done USD (2026-12-02: TWAP 2928158 bought 20 BTC over 5 minutes, $1,195,415). - Group by
twap_idand keep its newest line; it is still running when that line isactivatedandplaced_at+duration_minutesis in the future. Net buying of a coin = theexecuted_notional_usdof the newest line per id, buys minus sells. - Most TWAPs are small (BTC, one day: 0.002 to 20 BTC). Sort by
sizebefore reporting, and say how many there were. reduce_onlytrue = closing an existing position, not a new bet.- Rejected placements (
error) are hidden unless--status error.
Window and paging
- Across wallets the window defaults to the 24 hours before
--end(default now) and is at most 31 days; with--walletor--twap-idthere is no default window and no cap. --limitup to 5000 (default 100). Page with--cursor <nextCursor>and the SAME filters,--startand--end; a cursor sent with other filters is refused.- To follow the feed:
--order asc, pass eachnextCursorback, stop on an EMPTY page (anascpage with rows always carries a cursor).
Errors
- "without wallet= the window is at most 31 days ...": page through a longer span in 31-day
--start/--endpieces, or pass--wallet. - "hl_twaps ... does not take [...]": a flag of another command (
--min-usddoes not exist here). - An unknown
--statusis refused; use the six listed above. - Exit code 3 or HTTP 429: the day's request limit; show the message, do not retry.
Anti-patterns
- Don't add up
executed_notional_usdover every line: each line is a running total, so the same TWAP would count two or three times. - Don't call a coin "accumulated" from TWAP count alone: weigh by size and check for
reduce_only.
See also
vike-stream: TWAP lines as they are written, thehl.twapschannel ofvike-data stream hlvike-hl-trader-profile: who the wallet behind a big TWAP isvike-hl-whale-trades: big single fills on the same coin
