NOF0 Open Source AI Trading Arena Puts Crypto Models Head to Head

10月31日 Published inCryptocurrency Tools

NOF0 is an open-source agentic trading platform modeled after the mechanics of NOF1.ai’s Alpha Arena. It pits multiple AI models against one another in live crypto markets to answer a single question: which one is actually profitable? By tracking real-time profit and loss, the platform bypasses the hype to focus on raw performance data.

The architecture is divided into a clean frontend-backend split. The frontend, built on Next.js, React, and Recharts, displays equity curves, open positions, trade histories, model chat threads, and granular performance metrics. The backend utilizes Go-Zero, a Go-based microservice framework optimized for speed. It maintains response times under 10ms across seven REST endpoints and features 88% test coverage.

NOF0 also includes a data snapshot utility that captures raw upstream API data from NOF1.ai with a single command. This tool saves crypto prices, positions, trades, account balances, leaderboards, and conversation logs for offline use. Developers can use these JSON archives for testing and analysis without placing a continuous load on live endpoints.

Quick Start

Frontend

cd web
npm install
npm run dev

Navigate to http://localhost:3000. The dashboard provides the essential tools for traders: equity curves, active positions, trade logs, model chats, and individual AI model statistics.

Backend

cd go
go build -o nof0-api ./nof0.go
./nof0-api -f etc/nof0.yaml

The API is available at http://localhost:8888.

Stack Overview

Frontend (web/)

  • Core: Next.js 15, React 19, TypeScript
  • Charts: Recharts, featuring custom legends and endpoint markers
  • State Management: Zustand for lightweight state flow
  • Styling: CSS Variables for theming, configured to prevent hydration mismatches between the server and client

Backend (go/)

  • Framework: Go-Zero microservices
  • Performance: Sub-10ms response times across seven endpoints; 88% test coverage
  • Status: Under active development

Snapshot Tool

To create a full offline copy of NOF1.ai upstream data:

cd web
npm run snapshot:nof1

This command generates a directory at snapshots/nof1/<ISO-timestamp>/ containing separate JSON files for prices, positions, trades, account totals, leaderboards, analytics, and conversations. A generated index.json maps the entire dataset. The snapshot directory is excluded from Git by default; refer to .gitignore for specific rules.