Backed by vergex.trade

NOFX

AI trading terminal for global markets.
Research, strategy generation, execution, and monitoring for US stocks, commodities, forex, and crypto.

Stars Release License Telegram

Go React

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. ```bash 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 | | :---------------------------------------------------------------------------------------------------------------------------- | :----: | :---------------------------------------------------------------------------------- | | **Binance** | ✅ | [Register](https://www.binance.com/join?ref=NOFXENG) | | **Bybit** | ✅ | [Register](https://partner.bybit.com/b/83856) | | **OKX** | ✅ | [Register](https://www.okx.com/join/1865360) | | **Hyperliquid** | ✅ | [Register](https://app.hyperliquid.xyz/join/AITRADING) | | **Bitget** | ✅ | [Register](https://www.bitget.com/referral/register?from=referral&clacCode=c8a43172) | | **KuCoin** | ✅ | [Register](https://www.kucoin.com/r/broker/CXEV7XKK) | | **Gate** | ✅ | [Register](https://www.gatenode.xyz/share/VQBGUAxY) | | **Aster** | ✅ | [Register](https://www.asterdex.com/en/referral/fdfc0e) | | **Lighter** | ✅ | [Register](https://app.lighter.xyz/?referral=68151432) | --- ## Quick demo

NOFX quick demo video

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](https://claw402.ai) 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](https://claw402.ai) | --- ## 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
Config Page | Configuration | Traders List | | :----------------------------------------------------------: | :----------------------------------------------------------: | | | |
Dashboard | Overview | Market Chart | | :-----------------------------------------------------: | :-------------------------------------------------------------: | | | | | Trading Stats | Position History | | :--------------------------------------------------------------: | :-----------------------------------------------------------------: | | | | | Positions | Trader Details | | :----------------------------------------------------------: | :---------------------------------------------------: | | | |
Strategy Studio | Strategy Editor | Indicators Config | | :------------------------------------------------------: | :----------------------------------------------------------: | | | |
Competition | Competition Mode | | :-------------------------------------------------------: | | |
--- ## Install ### Linux / macOS ```bash curl -fsSL https://raw.githubusercontent.com/NoFxAiOS/nofx/main/install.sh | bash ``` ### Railway (Cloud) [![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/deploy/nofx?referralCode=nofx) ### Docker ```bash 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](https://www.docker.com/products/docker-desktop/), then: ```powershell 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 ```bash # 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 ```bash 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**: 1. Configure AI model access 2. Connect exchange credentials 3. Build or import a strategy 4. Create an AI trader profile 5. 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:** ```bash curl -fsSL https://raw.githubusercontent.com/NoFxAiOS/nofx/main/install.sh | bash # Access via http://YOUR_IP:3000 ``` **HTTPS via Cloudflare:** 1. Add domain to [Cloudflare](https://dash.cloudflare.com) (free plan) 2. A record → your server IP (Proxied) 3. SSL/TLS → Flexible 4. Set `TRANSPORT_ENCRYPTION=true` in `.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](docs/architecture/README.md) | System design and module index | | [Strategy Module](docs/architecture/STRATEGY_MODULE.md) | Coin selection, AI prompts, execution | | [FAQ](docs/faq/README.md) | Common questions | | [Getting Started](docs/getting-started/README.md) | Deployment guide | --- ## Contributing See [Contributing Guide](CONTRIBUTING.md), [Code of Conduct](CODE_OF_CONDUCT.md), and [Security Policy](SECURITY.md). ### 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](https://vergex.trade) | | Dashboard | [vergex.trade/explore](https://vergex.trade/explore) | | Telegram | [nofx_dev_community](https://t.me/nofx_dev_community) | | Twitter | [@vergex_ai](https://x.com/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. --- ## Sponsors [Become a sponsor](https://github.com/sponsors/NoFxAiOS) ## License [AGPL-3.0](LICENSE) [![Star History Chart](https://api.star-history.com/svg?repos=NoFxAiOS/nofx&type=Date)](https://star-history.com/#NoFxAiOS/nofx&Date)