[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112436":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":45,"readmeContent":46,"aiSummary":47,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":48,"discoverSource":49},112436,"Hyperliquid-Trade-Bot","tigerogijzooav\u002FHyperliquid-Trade-Bot","tigerogijzooav","Independently analyze ROI, win rate, and PnL using the public Hyperliquid API, detect martingale\u002Fgrid recovery strategies, and assess maximum drawdown and risk-adjusted returns. Read-only terminal checker — no trading, no API keys. Unofficial community project, not affiliated with Hyperliquid.","",null,"Python",291,68,129,1,0,2,3,46.82,"MIT License",false,"main",true,[25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],"ai-trade","binance-future","copy-trade","copytrade","crypto-trading-bot-windows","defi-bot","defi-bots","dex","dexscreener","hyperliquid-api","hyperliquid-bots","hyperliquid-copy-trading","hyperliquid-crack","hyperliquid-dex","hyperliquid-perp-dex","polymarket-bot-free","rate-bot","raydium-bot","signal-copier","trade-copier","2026-11-24 04:01:31","# Hyperliquid-Trade-Bot\nIndependently analyze ROI, win rate, and PnL using the public Hyperliquid API, detect martingale\u002Fgrid recovery strategies, and assess maximum drawdown and risk-adjusted returns. Read-only terminal checker — no trading, no API keys. Unofficial community project, not affiliated with Hyperliquid.\n\u003Cdiv align=\"center\">\n\n# 🔐 Hyperliquid Trade Bot\n\n### Independent ROI, PnL and martingale analysis in your terminal.\n\n[![Python](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fpython-3.11+-blue.svg)](https:\u002F\u002Fwww.python.org\u002Fdownloads\u002F)\n[![Textual](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTUI-textual-7C3AED.svg)](https:\u002F\u002Ftextual.textualize.io\u002F)\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-yellow.svg)](.\u002FLICENSE)\n[![Hyperliquid](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FHyperliquid-L1-9B59B6.svg)](https:\u002F\u002Fhyperliquid.xyz\u002F)\n[![Platform](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fplatform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey.svg)](.\u002FREADME.md)\n\n**A read-only verification & monitoring terminal for Hyperliquid trading.**\nDon't blindly mirror a leaderboard address — *audit it first.*\n\n\u003C\u002Fdiv>\n\n---\n\n## 📖 Overview\n\n**Hyperliquid Trade Bot** is a keyboard-driven **terminal user interface (TUI)** for\n**perpetual futures trading due diligence**: it performs an **independent verification of\nROI, win rate, and PnL** for any trader on the Hyperliquid leaderboard, recomputed from the\npublic Hyperliquid API — *before* you decide to mirror their positions.\n\nRaw leaderboard ROI hides a lot: martingale sizing, lucky single-trade pumps, wash-trading,\nfee-ignorance, and drawdowns masked by spot\u002Fperp swaps. The verifier analyzes a trader's\n**full fill history** and reconstructs the **equity curve from on-chain fills**, surfacing the\nmetrics that actually predict trading safety: **max drawdown and risk-adjusted returns\n(Sharpe\u002FSortino)**, **martingale and grid recovery pattern detection**, outlier dependence,\n**position sizing consistency and leverage analysis**, and a significance test that helps you\n**spot inflated track records and survivorship bias**.\n\n> ⚠️ **Read-only by design.** This verifier never places orders. It is an *audit and monitoring*\n> layer — a **read-only terminal checker: no trading, no keys** \n\n---\n\n## ✨ Features\n\n| Area | What you get |\n|------|--------------|\n| 🕵️ **Trader Verification** | Independent re-derivation of ROI \u002F PnL \u002F win-rate \u002F drawdown from public Hyperliquid fills. |\n| 🧠 **Manipulation Heuristics** | Martingale detection, outlier-dependence score, wash-trade flags, survivorship warnings. |\n| 📈 **Live Monitor** | Watch a verified trader's open positions, equity curve, and fills update in real time. |\n| 🧮 **Risk Simulator** | Project trade outcomes under configurable size-scaling, leverage caps and stop-loss. |\n| 📋 **Trade Log** | A local, append-only audit log of every fill you *would have* mirrored (paper-trail). |\n| 🎛️ **Dashboard** | Single-pane-of-glass TUI: stats panel, trader table, positions, sparkline equity. |\n| ⌨️ **Keyboard-first** | 100% navigable from the home row. Vim-style bindings. No mouse required. |\n| 🌑 **Theming** | Light \u002F dark \u002F hyperliquid-themed palettes. |\n\n---\n\n## 🖥️ Screenshots\n\n> The verifier runs as a live TUI. Below is a static ASCII preview of the dashboard.\n\n```\n ╔══════════════════════════════════════════════════════════════════════════════════════════════╗\n ║ 🔐 Hyperliquid Trade Bot                          [1]Dash [2]Traders [3]Verify [4]Pos ║\n ╠══════════════════════════════════════════════════════════════════════════════════════════════╣\n ║ VERIFIED TRADER   0x7f3a...c4e1     🟠 REVIEW      Verified 2026-07-19 14:02 UTC             ║\n ║ ───────────────────────────────────────────────────────────────────────────────────────────  ║\n ║  Headline ROI        +412.8%       Verified ROI        +318.4%   Δ +94.4pp   ⚠ INFLATED     ║\n ║  Win rate             71.3%        Fee-adj. win rate    64.9%                                ║\n ║  Profit factor        2.84         Martingale score     0.43   🟠 MODERATE                   ║\n ║  Max drawdown        −31.2%       Outlier dependence   32.0%   🟠 MODERATE                   ║\n ║  Trades (90d)          1,284       Statistical edge     p=0.013  ✅ SIGNIFICANT              ║\n ║                                                                                              ║\n ║  EQUITY CURVE (90d)                            ▁▂▃▄▆▇▇█▇▇▆▇█▇▆▇█▇▆▇▇█▇▆▇▆▇▆▇▇█▇▆▇▆    ║\n ║                                                                                              ║\n ║  TOP OPEN POSITIONS                                                                          ║\n ║  Symbol    Side   Size ($)     Entry      Mark       uPnL ($)   Leverage   Liquidation       ║\n ║  BTC-PERP  LONG   142,300.00   67,210.5   68,015.2   +1,702.7   5.0x       54,180.0          ║\n ║  ETH-PERP  LONG    88,710.00    3,418.2    3,462.1     +1,138.4   4.0x       2,724.0         ║\n ║  SOL-PERP  SHORT   31,400.00     178.4      174.9       +618.3    3.0x         —             ║\n ║                                                                                              ║\n ║  TRADE LOG (paper trail)              q Quit  r Re-verify  c trade config  ? Help       ║\n ╚══════════════════════════════════════════════════════════════════════════════════════════════╝\n```\n\n---\n\n## 🚀 Quick start\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Ftigerogijzooav\u002FHyperliquid-Trade-Bot.git\ncd Hyperliquid-Trade-Bot\npip install -r requirements.txt\n\npython main.py            # launch the verifier TUI\npython main.py --demo     # bundled demo dataset (offline preview)\n```\n\nOne-click launchers (no system Python required — they unpack a bundled standalone\ninterpreter on first run):\n\n```batch\nrun.bat        :: Windows\n```\n```bash\nchmod +x run.sh && .\u002Frun.sh    # Linux \u002F macOS\n```\n\n> No API keys required for verification — the tool reads public Hyperliquid data.\n> An optional read-only wallet is used only for the live monitor and trade log.\n\n---\n\n## ⌨️ Keybindings\n\n| Key | Action |\n|-----|--------|\n| `1`–`6` | Switch tabs: Dashboard · Traders · Verify · Positions · Log · Settings |\n| `\u002F` | Filter \u002F search the focused table |\n| `r` | Re-run verification on the selected trader |\n| `c` | Open trade configuration |\n| `v` | Open the detailed verification report |\n| `t` | Toggle theme (dark \u002F light \u002F hyperliquid) |\n| `q` | Quit |\n| `?` | Help |\n\n---\n\n## 🧮 What \"verification\" actually checks\n\nThe verifier does **not** trust the headline leaderboard ROI. For any trader address it\nrecomputes, from first principles using public Hyperliquid fill and funding data:\n\n1. **Fills-based PnL** — mark-to-market on every fill, validated against the L1 state.\n2. **Fee & funding adjusted returns** — the real, tradeable number after costs.\n3. **Drawdown envelope** — peak-to-trough equity and time-under-water.\n4. **Sizing regime detector** — flags martingale \u002F revenge-sizing patterns.\n5. **Outlier dependence** — how much of total PnL comes from the top-N trades.\n6. **Significance test** — is the Sharpe\u002Fexpectancy distinguishable from luck?\n7. **Counterparty heuristics** — wash-trade \u002F self-trade suspicion scoring.\n\nA trader is stamped `🟢 TRUSTED`, `🟠 REVIEW`, or `🔴 REJECT` based on a transparent,\nconfigurable rubric you can inspect and edit in `~\u002F.hl-verify\u002Frules.toml`.\n\n---\n\n## 🗂️ Project layout\n\n```\ntrade-bot-hyperliquid\u002F\n├── main.py                      # Entry point (unpacks bundled runtime on first launch)\n├── hl_trade_bot\u002F       # Host package\n│   ├── __main__.py              # `python -m hl_trade_bot` entry\n│   ├── cli.py                   # argparse + launch\n│   ├── config.py                # Config loader (TOML)\n│   ├── core\u002F                    # models, verifier engine, risk simulator, mock data\n│   └── tui\u002F                     # Textual app: screens, widgets, styles\n├── runtime\u002F                     # Runtime support library\n├── requirements.txt\n├── run.bat \u002F run.sh             # One-click launchers\n└── release\u002F                     # Pre-compiled binaries (planned)\n```\n\n---\n\n## ⚙️ Configuration\n\n```toml\n# ~\u002F.hl-verify\u002Fconfig.toml\n[network]\nchain            = \"mainnet\"          # mainnet | testnet\napi_url          = \"https:\u002F\u002Fapi.hyperliquid.xyz\"\nws_url           = \"wss:\u002F\u002Fapi.hyperliquid.xyz\u002Fws\"\n\n[verification]\nwindow_days      = 90\nmin_trades       = 100\nsignificance_p   = 0.05\nrecompute_fees   = true\n\n[trust_rubric]\nmax_drawdown     = -0.35              # reject worse than −35%\nmin_profit_factor= 1.6\nmax_martingale   = 0.4\nmax_outlier_dep  = 0.30\n\n[trade]                           # paper-trail + sizing hints (never auto-executes)\nsize_mode        = \"fixed_fraction\"\nfixed_fraction   = 0.02\nleverage_cap     = 5.0\n```\n\n---\n\n## 🔒 Security & responsible use\n\n- **Read-only.** The verifier contains **no order-placement code path**. It cannot trade.\n- **No private keys.** Verification needs only a public trader address. The optional monitor\n  uses a **read-only** wallet; private keys are never requested or stored.\n- **Rate-limited by default.** Respects Hyperliquid public-API conventions.\n\n---\n\n## 🛣️ Roadmap\n\n- [ ] Funding-rate aware PnL recomputation v2\n- [ ] Multi-trader portfolio correlation overlay\n- [ ] Alerting hooks (webhook \u002F Telegram) on trust-grade changes\n- [ ] CSV \u002F Parquet export of verified equity curves\n- [ ] `--headless` mode for CI dashboards\n\n---\n\n## ❓ FAQ\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Is this a trading bot that places orders?\u003C\u002Fb>\u003C\u002Fsummary>\n\nNo. This is a \u003Cb>verifier and monitor\u003C\u002Fb>. It reads public data, audits trader integrity, and logs\nwhat you \u003Ci>would have\u003C\u002Fi> copied. Actual execution belongs to your own, separate, key-isolated bot.\nSeparation of audit and execution is a deliberate security boundary.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Why is verified ROI lower than the leaderboard ROI?\u003C\u002Fb>\u003C\u002Fsummary>\n\nHeadline ROI typically ignores fees, funding, and outlier dependence. The verifier recomputes\neverything from fills and surfaces the tradeable number. A 30–40% gap is common and is exactly\nwhat this tool exists to expose.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Do I need an API key?\u003C\u002Fb>\u003C\u002Fsummary>\n\nNo. Verification works from public Hyperliquid L1 data alone.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Is this affiliated with Hyperliquid?\u003C\u002Fb>\u003C\u002Fsummary>\n\nNo. Independent, unofficial community project. Hyperliquid is a third-party protocol.\n\u003C\u002Fdetails>\n\n---\n\n## ⚠️ Disclaimer\n\nThis is an **unofficial community project**, **not affiliated with, endorsed by, or sponsored\nby Hyperliquid Labs**. It is provided for research and transparency purposes only and is **not\nfinancial advice**. Trade at your own risk.\n\n---\n\n## 📄 License\n\nMIT — see [`LICENSE`](.\u002FLICENSE).\n\n\ni\n","这是一个基于 Hyperliquid 公共 API 的只读终端分析工具，用于独立验证永续合约交易员的历史表现。它从链上成交记录重构权益曲线，计算真实 ROI、胜率、盈亏（PnL）、最大回撤及风险调整后收益（如夏普\u002F索提诺比率），并检测马丁格尔、网格恢复等高风险策略模式。项目采用 Textual 构建键盘驱动的 TUI 界面，支持跨平台运行，不涉及任何交易操作或 API 密钥。适用于跟单前对 Hyperliquid 领导榜交易员进行尽职调查与风险审计。","2026-11-21 04:42:51","CREATED_QUERY"]