nofx
Your AI trading terminal assistant for US stocks, commodities, forex, and crypto.
An open-source AI trading assistant that autonomously connects to crypto and stock exchanges, selects AI models on the fly, and places trades on your behalf, funded through a USDC crypto wallet instead of traditional API subscriptions.
NOFX is an open-source AI trading assistant written in Go (with a React frontend) that connects to cryptocurrency exchanges and financial markets and lets an AI agent place trades on your behalf. The project describes its core promise as fully autonomous operation: the AI picks which AI model to use, pulls market data on its own, and decides when to trade, without you manually setting those things up each time.
The payment model is unusual. Instead of requiring you to register accounts and manage API keys for each AI service, NOFX uses a protocol called x402 that lets you pay per AI request directly from a USDC cryptocurrency wallet. You fund the wallet once and the system draws from it as needed. The supported AI models include DeepSeek, Qwen, GPT, Claude, Gemini, Grok, and others, all accessible through this same wallet-based payment flow.
Exchange support is broad, covering major centralized exchanges like Binance, Bybit, OKX, KuCoin, and Gate, along with decentralized perpetual exchanges like Hyperliquid. The markets covered include crypto, US stocks, forex, and metals. Installation is a single curl command that starts a local server at http://127.0.0.1:3000.
From the dashboard you can see live positions, profit and loss figures, and logs of the AI decision process. A strategy studio lets you visually configure which coins to trade, what indicators to use, and how much risk to take. There is also a Telegram bot interface for interacting with the assistant via chat.
The project is licensed under AGPL-3.0 and has a community Telegram group. The README is available in English, Chinese, Japanese, Korean, Russian, Ukrainian, and Vietnamese.
Where it fits
- Run an autonomous AI agent that trades crypto on Binance or Bybit based on market data it pulls itself
- Use the visual strategy studio to configure which coins to trade, which indicators to use, and risk limits without coding
- Control your AI trading assistant from a phone via the Telegram bot interface
- Pay for AI model usage per-request from a USDC wallet without managing separate API keys for each service