Would copying a Hyperliquid wallet have made money? Replays the wallet's perp positions (HIP-3 included) minute by minute over a window from 2026-01-01 on, against a copier who mirrors them at a size ratio after a polling delay, pays a fixed-bps slippage, a taker fee and funding, and is liquidated at each market's maintenance margin - leader vs copier PnL, return, max drawdown, trades, fees, funding, slippage, liquidation and the capture ratio, with what was approximated. Use when the user asks "should I copy this trader" / "would copy-trading 0x... have been profitable" / "how much of this wallet's PnL survives copying" / "copy-trade backtest of a Hyperliquid wallet".
Install
npx skillscat add vike-io/vike-data-cli/vike-hl-copy-sim Install via the SkillsCat registry.
vike-hl-copy-sim
One wallet, one window, one copier: what the copier would have ended with, next to what the leader made. 1 request per call, anonymous tokens included. Get the address from vike-hl-top-traders, vike-hl-trader-profile or vike-data search <name>.
Call it
Use the first of these that is available:
- MCP: the
hl_wallettool withview: "copy_sim",address, and the optionalstart,end,symbols,capital,ratio,delay,slippage_bps,fee_bps,leverage. - CLI:
The table is leader vs copier, thenW=0xfc667adba8d4837586078f4fdcdc29804337ca06 vike-data hl copy-sim $W # last 30 days, $10k, 5m delay vike-data hl copy-sim $W --start 2026-11-01 --end 2026-12-01 --capital 5000 --delay 1h vike-data hl copy-sim $W --symbols BTC,ETH --slippage-bps 10 --leverage 3 --jsoncapture_ratioand the caveats that are not zero;--jsonis the whole answer (per_symbol, the hourlyequityseries,caveats.method). - curl: the credential is
VIKE_API_KEY, elseapi_keyoranon_tokenfrom~/.vike/config.json(Windows%USERPROFILE%\.vike\config.json); with none, get a free anonymous token withcurl -s -X POST https://data.vike.io/v1/anon -H 'Content-Type: application/json' -d '{"source":"skill-curl"}'and save itstokenthere as"anon_token"(seevike-core).curl -s "https://data.vike.io/v1/hyperliquid/wallets/$W/copy-sim?start=2026-11-01&delay=5m&capital=10000" -H "X-API-KEY: $TOKEN"
| Flag (API name) | Default | Range |
|---|---|---|
--start, --end |
end the start of the current hour, start 30 days before end |
ISO-8601 UTC; not before 2026-01-01, end at the latest the current hour |
--symbols |
every perp it traded or held | comma list, at most 50: BTC,ETH,xyz:TSLA; spot and outcome markets are refused |
--capital |
10000 | 1 to 1e9 USD |
--ratio |
capital / the leader's account value at start |
copier size / leader size, 0 to 1e6 |
--delay |
5m |
1m, 5m, 15m, 1h, 4h |
--slippage-bps (slippage_bps) |
3 | 0 to 1000 |
--fee-bps (fee_bps) |
4.5 | 0 to 100 |
--leverage |
none | 1 to 100 |
Output
leader: pnl, return_pct, equity_start, trades (minutes it traded a market), fills, fees, funding. copier: capital, pnl, equity_end, return_pct, max_drawdown_pct, trades (orders filled), fees, funding, slippage, liquidated_at (null = never). capture_ratio = copier PnL / (ratio x leader PnL): 1 means the copy kept all of it, 0.3 that delay, slippage, fees and funding ate 70 % of a winning leader's PnL, below 0 that the two ended on opposite sides of zero; null when the leader's PnL is 0. per_symbol splits both by market; equity is both sides every hour. *_pct are percents.
What it is, and what it is not
- Slippage is a fixed number of bps on every copier order, whatever its size: no order book depth. For a large copier or a thin HIP-3 market, raise
--slippage-bps. - History starts 2026-01-01; perps only, HIP-3 builder-DEX markets (
xyz:TSLA) included. - Fills on 1-minute candles: a copier order fills at the open of the first minute with a trade at or after its polling point, plus slippage, as a taker. The leader's maker rebates (
caveats.maker_share) are something a copier cannot match. - Liquidation is an approximation of the venue's: each minute the copier's account is marked at a market's worst price of the minute; at the maintenance margin (notional / (2 x the market's maximum leverage)) every position closes and the copier stops. A market whose maximum leverage is not published, every HIP-3 one, is taken at 10x (
caveats.max_leverage_assumed). The copier is ONE cross-margin account here, HIP-3 included, where the venue keeps each HIP-3 dex's margin separate. --leverageonly caps orders (caveats.orders_scaled): it never liquidates earlier. Without it the copier mirrors atratiowhatever the leverage.- Leader return ignores deposits and withdrawals: its PnL over its account value at or before
start(caveats.equity_start_sourcesays which reading). - Funding: the leader's own payments, scaled for the copier; they land 2-4 h after the hour, so the window's last hours use the market's mean rate (
caveats.funding_hours_market_rate,leader_funding_hours_market_rate,funding_hours_missing). - Every other approximation is counted in
caveats(position_jumps,start_position_corrections,ambiguous_position_reads,start_positions_unknown,start_positions_inferred,unfilled_orders,unpriced_symbols);caveats.methodis the full method text.
Errors
- "no Hyperliquid perp fill or position of 0x... in this window": the wallet did nothing there. Say so; it is not a zero result.
- "no account value ... in the 7 days before start: pass
ratio": rerun with--ratio(e.g. 0.1). - "... market-minutes, more than one request replays", "held positions in N markets" or "this simulation took too long": narrow
--start/--endor pass--symbols. A whale holding dozens of markets passes the 300,000 market-minute cap within a week: start such a wallet with--symbols. - "another copy simulation is running on this server": retry once after a few seconds.
- Exit code 3: the anonymous token's limit; tell the user to run
vike-data login(400 a day), do not retry.
Anti-patterns
- Don't present the result as advice or a forecast: it is one past window, one set of assumptions.
- Don't compare
leader.return_pctandcopier.return_pctwithoutcapture_ratio: the two bases differ (leader account value vscapital). - Don't run a 1-week window and call the trader copyable; use 30 days or more, and two windows if the answer matters.
- Don't quote a copier result with
liquidated_atset as "small loss": the copy stopped there.
Pairs well with
vike-hl-top-tradersto pick candidates,vike-hl-trader-profilefor the wallet's own recordvike-candlesfor the price action behind a drawdown