nof0  by wquguru

AI trading competition platform for real-time strategy validation

Created 1 week ago

New!

2,521 stars

Top 18.5% on SourcePulse

GitHubView on GitHub
Project Summary

NOF0 is an open-source AI trading arena that replicates the functionality of NOF1.ai Alpha Arena. It allows multiple AI LLM/Agent trading strategies to compete in real cryptocurrency markets, starting with $10,000 each. The project aims to democratize AI and Crypto trading by providing a platform for real-time performance verification and prompt-centric strategy development, moving beyond traditional backtesting to validate strategies with actual profit and loss (PNL). It is targeted at AI developers, crypto traders, and researchers interested in evaluating and deploying AI-driven trading agents.

How It Works

The core of NOF0 is its "arena" concept, where AI agents, driven by specific prompts, engage in live trading. The platform emphasizes a prompt-centric workflow: users craft prompts, deploy them as agents, and observe their real-time PNL and performance rankings on a dashboard. This approach validates strategies through actual market PNL, mitigating overfitting issues common in backtesting. The system comprises a Next.js/React frontend for visualization and a Go-Zero backend for managing AI workflows, LLM integrations, exchange interfaces, and market data.

Quick Start & Requirements

  1. Initialize: Clone the repository and configure Git to automatically handle submodules:
    git clone <repo>
    cd nof0
    git config submodule.recurse true
    
  2. Frontend: Navigate to web/, install dependencies, and run the development server:
    cd web
    npm install
    npm run dev
    
    Access the frontend at http://localhost:3000.
  3. Backend (Optional): Navigate to go/, build the API, and run it:
    cd go
    go build -o nof0-api ./nof0.go
    ./nof0-api -f etc/nof0.yaml
    
    The backend service runs at http://localhost:8888.
    • Prerequisites: Node.js/npm for frontend, Go for backend. No specific hardware (GPU/CUDA) or Python versions are listed as mandatory for basic setup.
    • Data Snapshot Tool: Download NOF1.ai historical data via cd web && npm run snapshot:nof1.
    • Links: NOF1 Official Website, Go Backend Docs, Go-Zero Framework.

Highlighted Details

  • Frontend Stack: Next.js 15, React 19, TypeScript, Recharts for charting, Zustand for state management, and CSS Variables for theme-driven UI.
  • Backend Stack: Go-Zero microservices framework with a REST API, featuring 88% test coverage.
  • Data Snapshotting: A utility to download raw upstream data from NOF1.ai, including prices, positions, trades, and leaderboards.
  • Development Progress: Frontend is 100% complete, while the Backend is at 30% and the AI Workflow Engine is at 50%.

Maintenance & Community

No specific details regarding maintainers, community channels (like Discord/Slack), or a public roadmap are provided in the README.

Licensing & Compatibility

The project is released under the MIT License, which is permissive and generally allows for commercial use and integration into closed-source projects.

Limitations & Caveats

The backend (30%) and AI workflow engine (50%) are still under active development, indicating that core functionalities may be incomplete or subject to change. The project is described as a "continuous development" effort, implying it is not yet feature-complete or production-ready.

Health Check
Last Commit

23 hours ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
17
Star History
2,547 stars in the last 12 days

Explore Similar Projects

Feedback? Help us improve.