Nofx
Your AI trading terminal assistant for US stocks, commodities, forex, and crypto.
Install / Use
npx skills add NoFxAiOS/nofxInstalls into whichever agent you are using.
README
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.
curl -fsSL https://raw.githubusercontent.com/NoFxAiOS/nofx/main/install.sh | bash
The terminal opens at http://127.0.0.1:3000.
First run
- Register — the first account becomes the owner of the instance.
- 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.
- 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 | | :---------------------------------------------------------------------------------------------------------------------------- | :----: | :---------------------------------------------------------------------------------- | | <img src="web/public/exchange-icons/binance.jpg" width="20" height="20" style="vertical-align: middle;"/> Binance | ✅ | Register | | <img src="web/public/exchange-icons/bybit.png" width="20" height="20" style="vertical-align: middle;"/> Bybit | ✅ | Register | | <img src="web/public/exchange-icons/okx.svg" width="20" height="20" style="vertical-align: middle;"/> OKX | ✅ | Register | | <img src="web/public/exchange-icons/hyperliquid.png" width="20" height="20" style="vertical-align: middle;"/> Hyperliquid | ✅ | Register | | <img src="web/public/exchange-icons/bitget.svg" width="20" height="20" style="vertical-align: middle;"/> Bitget | ✅ | Register | | <img src="web/public/exchange-icons/kucoin.svg" width="20" height="20" style="vertical-align: middle;"/> KuCoin | ✅ | Register | | <img src="web/public/exchange-icons/gate.svg" width="20" height="20" style="vertical-align: middle;"/> Gate | ✅ | Register | | <img src="web/public/exchange-icons/aster.svg" width="20" height="20" style="vertical-align: middle;"/> Aster | ✅ | Register | | <img src="web/public/exchange-icons/lighter.png" width="20" height="20" style="vertical-align: middle;"/> Lighter | ✅ | Register |
<br/>Demo
https://github.com/user-attachments/assets/3310f495-14c5-4586-a1cc-3d32e44aa505
<br/>The model proposes. The runtime disposes.
Decisions come from a language model reading the Claw402.ai · Vergex data stack: a live signal board that ranks every market with directional bias and signal strength, per-symbol Signal Lab deep signals, cost-basis and liquidation heatmaps that show where the crowd's fuel and walls sit, and real-time market net flow — cross-checked against raw candles and the trader's own live track record. Execution does not.
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.
<br/>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 |
<details> <summary>Screenshots</summary> <br/>| Overview | Market Chart | | :-----------------------------------------------------: | :-------------------------------------------------------------: | | <img src="screenshots/dashboard-page.png" width="400"/> | <img src="screenshots/dashboard-market-chart.png" width="400"/> |
| Trading Stats | Position History | | :--------------------------------------------------------------: | :-----------------------------------------------------------------: | | <img src="screenshots/dashboard-trading-stats.png" width="400"/> | <img src="screenshots/dashboard-position-history.png" width="400"/> |
| Strategy Editor | Indicators Config | | :------------------------------------------------------: | :----------------------------------------------------------: | | <img src="screenshots/strategy-studio.png" width="400"/> | <img src="screenshots/strategy-indicators.png" width="400"/> |
| Competition | Configuration | | :-------------------------------------------------------: | :-----------------------------------------------------------: | | <img src="screenshots/competition-page.png" width="400"/> | <img src="screenshots/config-ai-exchanges.png" width="400"/> |
</details> <br/>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.
<br/>Architecture
┌─────────────────────────────────────────────────┐
│ Trading Terminal │
│ React · TypeScript · TradingView │
│ Dashboard · Strategy Studio · Competition │
├─────────────────────────────────────────────────┤
│ API Server (Go) │
│ JWT
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.6kCommit, push, and open a PR
