
Nofx
Self-hosted AI trading terminal for stocks, forex, and crypto.
Replaces Trade Ideas

Who it's for
Traders paying monthly fees for a commercial AI scanning and terminal service can self-host NOFX to get comparable AI-assisted trade planning across US stocks, crypto perpetuals, forex, and commodities. Frontier's approval flow keeps the human in control; Autopilot handles strategies they want to run continuously.
If you trade only US equities through a single US broker with a direct API integration that Trade Ideas supports natively, a managed service with pre-built broker connections has less friction. NOFX requires managing your own exchange API credentials.
NOFX's Strategy module lets you configure market selection, indicators, sizing, and trading instructions. Developers who want to test a strategy against live Binance, Hyperliquid, or OKX markets without building custom exchange adapters can use Autopilot as the execution layer.
If you need institutional-grade backtesting, a custom execution framework, or exchange types NOFX does not yet support, a dedicated algo trading framework is a better starting point.
Frontier supports Binance USDT perpetuals, Hyperliquid, OKX, and Bitget. Traders who normally assess entry points manually can use NOFX's AI plans (market, limit, ladder, TWAP) and compare them on the chart before deciding. Generating a plan never submits an order.
If you trade spot-only on exchanges NOFX does not cover, or if you require a mobile app rather than a local web interface, the current tool does not fit.
The problem
Managing a trading workflow typically means maintaining subscriptions to a screener, a charting tool, a broker dashboard, and an AI analysis service, each with separate logins and pricing. Commercial AI trading terminals run on their own cloud infrastructure, against their data feeds, with their model choices, and they charge for the privilege monthly. For traders who want AI assistance on crypto markets, the problem compounds: most commercial AI trading terminals focus on US equities and have no path to crypto or forex. Building a custom setup that handles multi-market order placement, AI analysis, and position management requires gluing together several independent services and maintaining the integrations as APIs change.
How it works
Request market, limit, weighted ladder, and TWAP entry plans for a selected instrument. NOFX shows the entry price, stop-loss, take-profit targets, the applied margin factor, position value, and estimated margin together on the chart. Generating a plan does not submit an order; you review the details and approve explicitly before execution.
Configure a trader with a model, exchange account, and strategy definition. Autopilot reads the market, makes decisions, and routes orders through the NOFX exchange runtime without per-trade approval. The Dashboard shows positions, running performance, and decision history. Starting or stopping Autopilot is a separate explicit action.
The Frontier trading UI covers Binance USDT perpetuals, Hyperliquid, OKX, and Bitget. The underlying NOFX runtime also includes Bybit, Gate, KuCoin, Aster, and Lighter. Available order types and account permissions depend on the exchange; you can browse public markets before connecting an execution account.
Market (fill at current price after approval), limit (chosen price), weighted ladder (position split across price levels), and TWAP (timed release of orders within approved price limits). Each type displays sizing details on the chart before approval. Limit orders and TWAP slices may remain unfilled.
Exchange API credentials are stored encrypted by the NOFX server on your machine. The AI model never receives wallet private keys or exchange credentials in its prompt. AI fees are paid through a separate Claw402 USDC wallet on Base, keeping trading funds and AI costs isolated from each other.
Frontier and Autopilot use the AI models you configure in the Config workspace. Claw402 provides access to multiple models with usage settled in USDC on Base; you switch models per workspace without changing your exchange account setup. AI500 market analytics and holder data are available as paid Claw402 routes.
Features
- Frontier: AI Trade Planning with Approval
- Autopilot: Continuous Strategy Execution
- Multi-Exchange Runtime
- Four Entry Order Types
- Encrypted Local Credential Storage
- Configurable AI Models via Claw402
How to install
Self-hosting NOFX uses Docker with Compose; the installer sets up environment keys and starts the server.
curl -fsSL https://raw.githubusercontent.com/NoFxAiOS/nofx/main/install.sh | bashRecommended for this setup
Strengths
- Full Self-Hosting with No Cloud Dependency: NOFX runs entirely on your own machine. Exchange credentials, plans, and execution records are stored locally. There is no third-party cloud service holding your API keys or watching your positions. The Docker Compose installer handles setup without requiring Go or Node.js on the host.
- Human Approval Gate in Frontier Mode: Frontier shows account, sizing, entry, and exit details before any order is placed. The model generates plans; you approve. This separates AI analysis from execution authority, which matters for traders who want AI input but not automated order placement.
- AGPL-3.0: OSI-Approved License: NOFX is released under AGPL-3.0, an OSI-approved copyleft license. Self-hosters can run it for personal and internal commercial use without restrictions. Distributing a modified version as a network service requires releasing the modifications under AGPL-3.0.
- Cross-Market Scope in One Install: A single NOFX installation covers US stocks (through supported venues), crypto perpetuals on Binance, Hyperliquid, OKX, Bitget, and more, plus forex and commodities. Commercial AI trading terminals typically narrow to one market segment; NOFX handles multiple from one local interface.
Trade-offs
- AI Usage Requires a Funded Claw402 Wallet: Model requests and paid data feeds (AI500, holder analytics) go through Claw402, settled in USDC on Base. This means you need a crypto wallet with USDC on Base before NOFX's AI features work. AI fees are billed per request and can accumulate even when no trade is placed; trading funds and AI fee funds are kept separate.
- High Open Issue Count for a New Project: The repository has 446 open issues for a project created in late 2025 with over 13,000 stars. The count reflects rapid community adoption, but it also means many reports may be unresolved. Traders relying on automated strategies should monitor GitHub issues for stability and execution-related bugs before deploying live funds.
- Stopping Autopilot Does Not Close Exchange Positions: When Autopilot stops, positions opened by that trader remain open at the exchange. You need to close them manually or through the exchange's own interface after stopping automated trading. The README explicitly states that stopping a process does not close its positions; reconcile any open execution before restarting.
Tech stack
FAQ
NOFX stores exchange credentials encrypted locally and the AI model never receives API keys in its prompt. That said, Autopilot can place live orders; the README states that stopping Autopilot does not close open positions, and uncertain execution outcomes are checked against the exchange rather than resubmitted. Treat live fund use with the same caution as any automated trading system: start with small amounts, monitor positions, and understand your exchange's order-cancellation behavior.
AGPL-3.0 lets you run NOFX on your own infrastructure for personal and internal commercial use at no cost and without restriction. If you modify NOFX and run your modified version as a service others access over a network, AGPL-3.0 requires you to release your modifications under the same license. Running it for yourself or your team internally is not affected by that condition.
NOFX itself is free to self-host. AI model usage and paid data routes (AI500, holder analytics) are billed through a Claw402 wallet funded with USDC on Base, which you manage separately. Exchange trading fees are charged by the exchange as normal. There are no subscription fees to NOFX itself; costs come from your model usage and exchange activity.
The Frontier trading UI supports Binance USDT perpetuals, Hyperliquid, OKX, and Bitget. The underlying NOFX runtime also includes Bybit, Gate, KuCoin, Aster, and Lighter. Available products and order types depend on the exchange; check your account permissions at the exchange before connecting. You can browse public markets in Frontier before adding an execution account.
Yes. The README documents source builds using Git and Docker with Compose (note that TradingView chart assets in the source tree are subject to their own license terms). The one-line installer also works on Windows via Docker Desktop and WSL2. For remote deployments, Compose configurations bind to localhost by default; use an SSH tunnel or an authenticated HTTPS reverse proxy for external access. Complete first-time registration through the tunnel before allowing other users to reach the site.