Skip to content

jestersimpps/hyperliquid-copytrader

Repository files navigation

CopyScalper

A high-performance copy trading bot for Hyperliquid DEX with real-time dashboard.

Dashboard

Features

  • Real-time copy trading via WebSocket fill detection
  • Multi-account support with independent tracking
  • Smart position sizing based on balance ratios
  • Position drift sync to maintain alignment with tracked wallets
  • Web dashboard with live metrics, charts, and activity heatmap
  • Telegram notifications (optional)

Quick Start

npm install
cp accounts.example.json accounts.json  # Configure your accounts
npm start

Configuration

Edit accounts.json:

{
  "privateKey": "0x...",
  "isTestnet": false,
  "globalMinOrderValue": 11,
  "globalDriftThresholdPercent": 1,
  "telegram": {
    "botToken": "your-telegram-bot-token",
    "chatId": "your-chat-id",
    "polling": true
  },
  "dashboardPort": 3000,
  "accounts": [
    {
      "id": "A",
      "name": "Trader 1",
      "trackedWallet": "0x...",
      "userWallet": "0x...",
      "vaultAddress": "0x...",
      "enabled": true
    }
  ]
}

Dashboard

Access at http://localhost:3000 - includes:

  • Combined balance history across accounts
  • Real-time P&L tracking (realized/unrealized)
  • Position allocation pie charts
  • 24h trading activity heatmap
  • Risk metrics (margin, drawdown, leverage)

License

ISC

About

A high-performance copy trading bot for Hyperliquid DEX with real-time dashboard.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •