go-hyperliquid v0.26.0 crashed at startup with
panic: runtime error: index out of range [479] with length 464
github.com/sonirico/go-hyperliquid.NewInfo (info.go:75)
NewExchange -> NewHyperliquidTrader -> AutoTrader.NewAutoTrader
-> TraderManager.LoadTradersFromStore -> main.main
The library's NewInfo built the spot-asset map by indexing
`spotMeta.Tokens[spotInfo.Tokens[0]]` directly, but Hyperliquid recently
added spot tokens whose Tokens[0] value (a logical token *index*, not an
array position) was larger than the Tokens slice length. With every
restart the backend panicked before the API server bound, so the
frontend's `/api/*` proxy got connection refused on every poll and the
dashboard rendered "全是 error" toasts.
v0.36 fixes the panic by building `tokensByIndex map[int]SpotTokenInfo`
and looking up by logical index instead of position. Adopting v0.36
required two small adaptations to our wrapper:
- trader/hyperliquid/trader.go: NewExchange grew an extra `perpDexs
*MixedArray` argument. Passing `nil` keeps the existing
"auto-fetch on first use" behavior.
- trader/hyperliquid/trader_sync.go: `Info.NameToAsset(coin) int` was
renamed to `Info.CoinToAsset(coin) (int, bool)` with an `ok` flag.
refreshMetaIfNeeded now treats `!ok || assetID == 0` as "needs
refresh" (the same semantic as the old `assetID == 0`).
Verified: backend rebuilds cleanly, container is healthy, all
Hyperliquid traders load, AI cycles execute, and Hyperliquid order
sync receives the full historical trade window.
Backed by vergex.trade
NOFX
AI trading terminal for global markets.
Research, strategy generation, execution, and monitoring for US stocks, commodities, forex, and crypto.
English · 中文 · 日本語 · 한국어 · Русский · Українська · Tiếng Việt
NOFX is an open-source AI trading terminal for active traders who want one workspace for market research, strategy development, execution, and portfolio monitoring.
The product is built around global liquid markets: US equities, commodity contracts, FX pairs, and digital assets. The AI layer helps translate market intent into watchlists, signals, strategy logic, risk controls, and execution workflows.
curl -fsSL https://raw.githubusercontent.com/NoFxAiOS/nofx/main/install.sh | bash
Open http://127.0.0.1:3000.
Register exchanges
Use the links below to open trading accounts for crypto and supported US stock, FX, and commodity derivative markets. These routes are part of NOFX partner programs and may include fee discounts or referral benefits.
| Exchange | Status | Register with fee discount |
|---|---|---|
| ✅ | Register | |
| ✅ | Register | |
| ✅ | Register | |
| ✅ | Register | |
| ✅ | Register | |
| ✅ | Register | |
| ✅ | Register | |
| ✅ | Register | |
| ✅ | Register |
Quick demo
Click the cover image to watch the demo video.
Markets
US Stocks · Commodities · Forex · Crypto
NOFX organizes research, strategy construction, execution, and monitoring around multi-asset workflows instead of single-venue screens.
AI model access
NOFX routes AI inference through Claw402 automatically. Users do not need to configure model providers, manage API keys, or maintain separate AI accounts. The terminal accesses supported models on demand through Claw402's pay-as-you-go infrastructure, with traffic routed through the official discounted channel.
| Provider | Access |
|---|---|
| Claw402 | Access pay-as-you-go AI models with official discount |
Capabilities
| Capability | Description |
|---|---|
| AI trading terminal | Unified workspace for US stocks, commodities, forex, and crypto workflows |
| AI model access | Unified model access through Claw402-supported providers |
| Exchange connectivity | Binance, Bybit, OKX, Hyperliquid, Bitget, KuCoin, Gate, Aster, and Lighter |
| Strategy Studio | Market universes, indicators, risk controls, and strategy logic |
| Model competition | Compare model-driven traders with live performance and leaderboard tracking |
| Telegram agent | Control and monitor the trading assistant through chat |
| Portfolio dashboard | Positions, P/L, execution history, and model decision logs |
Screenshots
Install
Linux / macOS
curl -fsSL https://raw.githubusercontent.com/NoFxAiOS/nofx/main/install.sh | bash
Railway (Cloud)
Docker
curl -O https://raw.githubusercontent.com/NoFxAiOS/nofx/main/docker-compose.prod.yml
docker compose -f docker-compose.prod.yml up -d
Windows
Install Docker Desktop, then:
curl -o docker-compose.prod.yml https://raw.githubusercontent.com/NoFxAiOS/nofx/main/docker-compose.prod.yml
docker compose -f docker-compose.prod.yml up -d
From Source
# Prerequisites: Go 1.21+, Node.js 18+, TA-Lib
# macOS: brew install ta-lib
# Ubuntu: sudo apt-get install libta-lib0-dev
git clone https://github.com/NoFxAiOS/nofx.git && cd nofx
go build -o nofx && ./nofx # backend
cd web && npm install && npm run dev # frontend (new terminal)
Update
curl -fsSL https://raw.githubusercontent.com/NoFxAiOS/nofx/main/install.sh | bash
Setup
Beginner mode: Guided onboarding walks new users through model selection, exchange connection, strategy setup, and first deployment.
Advanced mode:
- Configure AI model access
- Connect exchange credentials
- Build or import a strategy
- Create an AI trader profile
- Launch, monitor, and iterate from the dashboard
All configuration is available from the web UI at http://127.0.0.1:3000.
Deploy to server
HTTP deployment:
curl -fsSL https://raw.githubusercontent.com/NoFxAiOS/nofx/main/install.sh | bash
# Access via http://YOUR_IP:3000
HTTPS via Cloudflare:
- Add domain to Cloudflare (free plan)
- A record → your server IP (Proxied)
- SSL/TLS → Flexible
- Set
TRANSPORT_ENCRYPTION=truein.env
Architecture
NOFX
┌─────────────────────────────────────────────────┐
│ Trading Terminal │
│ React + TypeScript + TradingView │
│ US Stocks · Commodities · Forex · Crypto │
├─────────────────────────────────────────────────┤
│ API Server (Go) │
├──────────────┬──────────────┬───────────────────┤
│ Strategy │ Telegram │ Trader Runtime │
│ Engine │ Agent │ Risk Controls │
├──────────────┴──────────────┴───────────────────┤
│ AI Model Layer │
│ Unified provider access through Claw402 │
│ Model routing · payment · execution support │
├─────────────────────────────────────────────────┤
│ Exchange Connectivity │
│ Binance · Bybit · OKX · Hyperliquid · Bitget │
│ KuCoin · Gate · Aster · Lighter │
└─────────────────────────────────────────────────┘
Docs
| Architecture | System design and module index |
| Strategy Module | Coin selection, AI prompts, execution |
| FAQ | Common questions |
| Getting Started | Deployment guide |
Contributing
See Contributing Guide, Code of Conduct, and Security Policy.
Contributor Airdrop Program
NOFX tracks meaningful contributions and intends to reward contributors as the ecosystem grows. Priority issues carry higher reward weight.
| Contribution | Weight |
|---|---|
| Pinned Issue PRs | ★★★★★★ |
| Code (Merged PRs) | ★★★★★ |
| Bug Fixes | ★★★★ |
| Feature Ideas | ★★★ |
| Bug Reports | ★★ |
| Documentation | ★★ |
Links
| Website | vergex.trade |
| Dashboard | vergex.trade/explore |
| Telegram | nofx_dev_community |
| @vergex_ai |
Risk warning: Automated trading involves substantial risk. Use appropriate position sizing, understand each exchange venue, and do not trade funds you cannot afford to lose.





















