Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
N

nofx

> AI 编程
Open source

Your AI trading terminal assistant for US stocks, commodities, forex, and crypto.

12.7K stars0 likes2 views
WebsiteGitHub

About

Your AI trading terminal assistant for US stocks, commodities, forex, and crypto.

Backed by vergex.trade

English · 中文 · 日本語 · 한국어 · Русский · Українська · Tiếng Việt


NOFX is an open-source trading terminal where the strategy is a language model. Each trader runs a continuous loop — read market structure, decide, execute, record the reasoning — while a Go runtime clamps every order to hard risk limits the model cannot override.

Traders compose freely: any model, any of nine exchanges, any strategy. Run several side by side and compare them on a public leaderboard by realized return. Everything runs on your own machine; exchange credentials are encrypted at rest and never leave it.

bash
curl -fsSL https://raw.githubusercontent.com/NoFxAiOS/nofx/main/install.sh | bash

The terminal opens at http://127.0.0.1:3000.

First run

  1. Register — the first account becomes the owner of the instance.
  2. Follow the guided launch: put $1+ USDC (Base network) in the AI fee wallet it creates for you, then connect Hyperliquid and deposit $12+ USDC to trade with.
  3. Start Autopilot. The AI scans the market every few minutes and trades on its own; every decision appears on the dashboard as it happens. Stop it anytime with one click.

Register exchanges

NOFX is free and open source. Opening an account through the partner links below carries reduced trading fees and funds continued development.

Exchange Status Register with fee discount
Binance ✅ Register
Bybit ✅ Register
OKX ✅ Register
Hyperliquid ✅ Register
Bitget ✅ Register
KuCoin ✅ Register
Gate ✅ Register
Aster ✅ Register
Lighter ✅ Register

Demo

https://github.com/user-attachments/assets/3310f495-14c5-4586-a1cc-3d32e44aa505


The model proposes. The runtime disposes.

Decisions come from the Claw402.ai · Vergex data stack: a live direction board for the market universe, per-symbol current direction and direction history, cost-basis and liquidation heatmaps, and real-time market net flow. NOFX follows the board direction and uses the remaining data as execution context.

Every order passes through limits enforced in code, outside the model's reach:

Position limits Max concurrent positions, notional capped as a ratio of equity, one position per symbol
Leverage clamps Hard caps applied at order-sizing time, independent of what the model requests
Exchange-side protection Stop-loss and take-profit placed on the exchange immediately after every entry
Drawdown auto-close Profitable positions that give back too much from their peak are closed
Trade throttling Minimum hold times, per-symbol re-entry cooldowns, per-cycle and per-hour entry limits
Safe mode Repeated model failures block new entries until the model recovers
Launch preflight Model access, wallet funds, strategy, and exchange balances verified before a trader may start

Each decision is stored with the model's full reasoning. There is no position without a paper trail.


Terminal

Autopilot Guided launch: fund, connect, deposit, start — with server-side preflight throughout
Strategy Studio Style presets, coin universes, indicators, leverage, entry confidence, custom prompts
Competition Public leaderboard ranked by realized return, each entry attributed to its model
Dashboard Live positions, orders, statistics, and the reasoning behind every decision
Screenshots
Overview Market Chart
Trading Stats Position History
Strategy Editor Indicators Config
Competition Configuration

Models

Eight providers with your own keys — DeepSeek, OpenAI, Claude, Qwen, Gemini, Grok, Kimi, MiniMax — including custom endpoints and model names.

Or no keys at all: Claw402 meters model usage per call in USDC over the x402 protocol. A wallet on Base replaces every API key.

Provider Access
Claw402 Pay-as-you-go AI models with official discount

Markets

Crypto perpetuals on all nine exchanges. On Hyperliquid, the same runtime also trades tokenized US equities, commodities, indices, FX, and pre-IPO perps — TSLA, NVDA, GOLD, SPX, EUR, OPENAI — alongside crypto.


Architecture

…

Install

Linux / macOS

bash
curl -fsSL https://raw.githubusercontent.com/NoFxAiOS/nofx/main/install.sh | bash

Railway 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, 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 — Go 1.21+, Node.js 18+:

bash
git clone https://github.com/NoFxAiOS/nofx.git && cd nofx
go build -o nofx && ./nofx            # backend
cd web && npm install && npm run dev  # frontend, in a second terminal

Update — re-run the install script; it upgrades in place.

Server deployment

HTTP

bash
curl -fsSL https://raw.githubusercontent.com/NoFxAiOS/nofx/main/install.sh | bash
# http://YOUR_IP:3000

HTTPS via Cloudflare

  1. Add the domain to Cloudflare (free plan)
  2. A record → server IP, proxied
  3. SSL/TLS → Flexible
  4. TRANSPORT_ENCRYPTION=true in .env

Documentation

Getting Started Deployment and exchange API guides
Architecture System design and module index
Strategy Module Coin selection, AI prompts, execution
FAQ Common questions
Troubleshooting Diagnosing common issues

Community

Telegram · Twitter/X · Issues · vergex.trade · Live dashboard

Contributing

Code, documentation, translations, and bug reports are all welcome — see the Contributing Guide, Code of Conduct, and Security Policy.

NOFX tracks meaningful contributions and intends to reward contributors as the ecosystem grows. Priority issues carry higher weight.

Contribution Weight
Pinned Issue PRs ★★★★★★
Code (Merged PRs) ★★★★★
Bug Fixes ★★★★
Feature Ideas ★★★
Bug Reports ★★
Documentation ★★

Sponsors

Become a sponsor


If NOFX is useful to you, a star helps other traders find it.

License

AGPL-3.0

Automated trading involves substantial risk. AI-driven strategies are experimental and can lose money. Size positions appropriately, understand each venue, and never trade funds you cannot afford to lose. Full disclaimer.

Issues· 519 open

View all issuesOpen on GitHub
  • #1542

    NofxOS public API key deprecated - causes all coins to be filtered as "OI too low"

    Updated Sep 26, 2026
  • #1540

    Predge as a x402 data source under nofx?

    Updated Aug 26, 2026
  • #1537

    [FEATURE] 页面国际化

    enhancementUpdated Aug 22, 2026
  • #1532

    [FEATURE] x402-payable external data sources (pay per call with the existing wallet, no API keys)

    Updated Aug 12, 2026
  • #1535

    [BUG]代码更新后没之前好用了

    bugUpdated Aug 11, 2026
  • #1534

    [BUG] 操作体验问题,影响到了下单程序

    bugUpdated Aug 1, 2026
  • #1531

    [BUG] Rabby agent approval fails because EIP-712 chainId is hard-coded to 421614

    bugUpdated Jul 29, 2026
  • #1464

    请问现在量化数据是不是必须通过 claw402 支付网关路由请求才能获取到?

    Updated Jul 23, 2026
  • #1522

    feat(i18n): add Japanese UI and localized decision output

    Updated Jul 19, 2026
  • #1519

    [FEATURE]

    enhancementUpdated Jul 2, 2026

> Tags

Goagentictradingaiai-tradingarbitrage

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 28, 2026
CategoryAI 编程
PricingOpen source

> Related tools

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.