Beta Guide · Port 8082

HL Copy Trading

Reads Hyperliquid wallet trades in real time via WebSocket and mirrors them through Gunbot on your exchange. Score wallets on 30-day analytics before risking real money.

URL: http://localhost:8082 Requires: Gunbot on :5000 (not :3001) Internet: Hyperliquid API

1. Concepts

Copy trading means you watch Hyperliquid wallet addresses. When they open a position, you mirror it through Gunbot on your exchange — Binance, Bybit, and others.

Hyperliquid is a decentralised perps exchange. All wallet trades are public — no special access or API keys are required to read them.

The tool uses WebSocket — a persistent live connection — not polling. Position changes are detected near-instantly rather than on a fixed schedule.

This tool does NOT trade on Hyperliquid. It only reads Hyperliquid to know what wallets are doing, then sends instructions to Gunbot on your exchange.

Start with Paper Mode
Always start with Paper Mode on. Paper Mode logs all signals but sends no orders to Gunbot. Validate your wallet selection and gate rules before risking real money.

2. Dashboard Tab

WebSocket Status

StatusColourMeaning
connectedGreenLive — receiving wallet events in real time
connectingAmberEstablishing connection — wait a moment
disconnectedRedConnection lost — reconnecting automatically

Stats Panel

StatWhat it shows
Active WalletsNumber of enabled wallets currently being watched
Today's SignalsSignals generated since midnight
ExecutedSignals successfully sent to Gunbot
GatedSignals blocked by an entry or exit gate
Open PositionsPositions currently held
Daily Realized P&LClosed position P&L since midnight

The main ON/OFF switch enables or disables the copy engine globally. The recent signal feed shows the last 10 signals with status badges.

3. Wallets Tab

To add a wallet, paste a Hyperliquid 0x address and give it an alias. Per-wallet settings are configured individually.

Per-wallet Settings

SettingWhat it doesDefault
AliasFriendly name shown in the logaddress
EnabledWhether this wallet is actively watchedOn
Scaling ModeHow to size your mirrored tradesfixed_usd
Scaling ValueThe size amount for the chosen mode50
DirectionsWhich trade types to copyOpen Long only

Scaling Modes

ModeMeaningExample
fixed_usdAlways trade exactly $X50 = always $50
fixed_baseAlways trade exactly N coins0.001 = always 0.001 BTC
pct_balanceX% of your available balance5 = 5% of balance
proportionalMatch wallet's position size proportionally10 = trade 1/10th their size

Directions

DirectionWhat it copies
Open LongWallet buys you buy
Open ShortWallet shorts you sell
Close LongWallet exits a long you sell
Close ShortWallet exits a short you buy
Short Directions Require Exchange Support
Open Short and Close Short require your exchange and Gunbot to support short selling. If not configured for shorting, leave these directions disabled.

The Score button runs 30-day analytics on the wallet and assigns a 0–100 score. Requires at least 5 closed trades. Shows N/A if insufficient history.

4. Discover Tab

Search the Hyperliquid leaderboard for wallet addresses without leaving the app. The preview panel shows:

FieldWhat it shows
netPnlTotal profit/loss across all trades
winRatePercentage of trades that closed in profit
totalTradesNumber of closed trades
avgTradesPerDayTrading frequency
coinBreakdownP&L split by coin

Use the Add to Wallets button to add a discovered wallet directly from the Discover panel without copying and pasting the address manually.

Leaderboard Caching
Leaderboard data is cached for 5 minutes. It is not a live view — very recent trades may not appear immediately.

5. Analytics Tab

Full Metrics

MetricWhat it meansGood value
Net PnLTotal profit after feesPositive
Win Rate% of trades profitable>55%
Profit FactorGross wins gross losses>1.5
Expected ValueAverage profit per tradePositive
Max DrawdownWorst peak-to-trough lossAs low as possible
Avg Trades/DayTrading frequencyDepends on strategy
Longest Win StreakMost consecutive winsHigher = more consistent
Longest Loss StreakMost consecutive lossesLower = more resilient
Long/Short SplitDirectional bias breakdown
Coin BreakdownP&L by coin
Best TradeMost profitable single trade
Worst TradeBiggest single loss

Score Grades

GradeScoreRecommendation
A+85–100Elite — copy live with full sizing
A70–84Strong — copy with position limits
B55–69Decent — paper mode first
C40–54Marginal — research more
D25–39Poor — do not copy
F0–24Loss-making — avoid

Score formula: weighted mix of win rate (50%), profit factor contribution (capped), and trade frequency contribution (capped). Minimum 5 closed trades required.

Monthly Heatmap

The daily P&L grid shows green for profitable days and red for losing days. Hover any cell for exact values. Patterns like "always loses on Fridays" become visible at a glance.

6. Config — Connection

SettingDefaultNotes
Gunbot URLhttp://localhost:5000Note: port 5000, not 3001
Gunbot Token(empty)Required for live trading
TestnetOffUse Hyperliquid testnet for wallet data — safe for testing
Port 5000 — Not 3001
This server uses Gunbot port 5000 by default, not 3001. If your Gunbot runs on 3001, update this setting to match.

7. Config — Pair Mapping

Pair mapping translates Hyperliquid coin names to Gunbot pair names. When a wallet trades BTC on Hyperliquid, the tool looks up BTC in this map and uses the configured exchange and pair to place the mirrored order.

Default Pairs

HL CoinExchangeGunbot PairDefault
BTCbinanceUSDT-BTCEnabled
ETHbinanceUSDT-ETHEnabled
SOLbinanceUSDT-SOLEnabled
BNBbinanceUSDT-BNBDisabled
AVAXbinanceUSDT-AVAXDisabled
ARBbinanceUSDT-ARBDisabled
…and 10 more disabled by defaultDisabled

If a wallet trades a coin that is disabled or not in the map, that signal is logged as skipped.

8. Config — Order & Gates

Order Settings

SettingDefaultNotes
Order TypemarketOnly option currently
Cooldown (ms)5000Minimum ms between orders
Max Orders/Min10Hard rate limit
Paper ModeOffOn = log only, no orders sent
Consensus ModeOffRequires N wallets to agree before executing
Consensus Threshold2How many wallets must agree

Entry Gates

GateDefaultWhat it does
Min Wallet Score0 (off)Skip wallets below this score
Min Win Rate0 (off)Skip wallets below this win rate %
Min Profit Factor0 (off)Skip wallets below this profit factor
Max Open Per Coin1Max concurrent positions per coin
Funding Rate GateOffSkip if funding rate is above threshold
Funding Rate Threshold0.05%Max acceptable funding rate

Exit Gates

GateDefaultWhat it does
Take Profit %0 (off)Close position when profit reaches X%
Stop Loss %0 (off)Close if loss reaches X%
Trailing Stop %0 (off)Trail from peak, close if drops X%
Trailing Stop Arm %0 (off)Only arm trailing stop after X% profit
Max Hold Hours0 (off)Force close after N hours
Min Hold Minutes0 (off)Don't close for at least N minutes
Daily Loss Limit0 (off)Halt for the day after losing $X total
Max Positions0 (off)Max simultaneous open positions

9. Log Tab

Every signal event shows: timestamp, wallet alias, coin, direction, price, size, and a status badge.

StatusMeaning
executedOrder sent to Gunbot successfully
paperPaper mode — logged but not executed
pendingConsensus mode — waiting for more wallets to agree
gatedBlocked by an entry or exit gate
skippedCoin not in pair map, or direction not enabled
errorGunbot returned an error when the order was submitted

10. Testing Guide

  1. Turn Paper Mode ON before doing anything else (Config tab)
  2. Add one Hyperliquid wallet — use a public active wallet from the leaderboard
  3. Enable the copy engine (Dashboard main ON switch)
  4. Watch the WebSocket status dot — should turn green within 10–15 seconds
  5. Wait for a fill event from the wallet — should appear in Log with status paper
  6. Check Analytics after 5+ fills — Score button should return a 0–100 number
  7. Use Discover tab — search the leaderboard, verify stats load for a wallet
  8. Use the test fill tool (Config Test Fill): enter wallet address, coin "BTC", direction "Open Long", price and size
  9. Verify the test fill appears in the Log as paper
  10. Check coin breakdown in Analytics — should show the test coin
  11. When paper testing looks correct, turn Paper Mode OFF
  12. Set Scaling Mode to fixed_usd with Value = 10 (minimum $10) for your first live test

11. Known Limitations

LimitationDetail
Internet requiredConnects to Hyperliquid public API — needs an active internet connection
MARKET orders onlyLimit orders not supported in this version
Short directions require exchange supportOpen Short / Close Short disabled by default; only enable if Gunbot + exchange support shorting
Score requires 5+ tradesWallets with fewer than 5 closed fills show N/A score
1,000 log entriesOlder entries drop automatically when the limit is reached
Leaderboard is 5-minute cachedNot live — recent trades may not appear immediately
Gunbot port is 5000Unlike other tools that default to 3001

12. Troubleshooting

SymptomCauseFix
WebSocket stays "connecting" No internet / Hyperliquid API down Check internet; if testnet mode is on accidentally, turn it off
Score button shows N/A Fewer than 5 closed trades in the analysis window Use a more active wallet, or extend the analysis window
Signals logged as "skipped" Coin not in pair map or direction disabled Enable the coin in pair mapping, or enable the direction
Orders not executing Paper Mode is on, or Gunbot token is wrong Check Paper Mode; re-enter Gunbot token; verify Gunbot is running on port 5000
WebSocket disconnects frequently Network instability Tool reconnects automatically; check your internet connection

13. Bug Report

Include all of the following when reporting a bug. The more detail you provide, the faster it can be diagnosed.

  • Tool: HL Copy Trading (:8082)
  • Step-by-step description of what you did
  • Expected vs actual behaviour
  • The wallet address you were testing with (Hyperliquid 0x address)
  • Paper Mode state at the time (on or off)
  • WebSocket status at the time (connected / disconnected)
  • Log entry — the full expanded detail for the signal that failed
  • Health check JSON from http://localhost:8082/health
  • Screenshot of Dashboard and Log tab
  • Browser and OS version