Skip to content

chinapanpan/nofx

Repository files navigation

nofx

image image

This is a project inspired by nof1 Alpha Arena, you can setup AI trading bot on crypto market.

DONE:

  • Paper Trading
  • OpenAI compatible API
  • AWS Bedrock integration (Claude Sonnet 4.5, Qwen 3, DeepSeek 3.1)
  • LEVERAGE
  • cctx quotes

TODO:

  • real trading

Documentation

📚 Architecture Documentation

For detailed system architecture documentation, please refer to: architecture.md

This document includes:

  • 🏗️ Overall system architecture design
  • 🔄 Core business process descriptions
  • 📊 Database design and model relationships
  • 🔌 API interface documentation
  • 🤖 AI decision service implementation details
  • 📈 Trade execution and order matching mechanisms

☁️ AWS Bedrock Integration Guide

Complete AWS Bedrock integration guide: AI Model Guidance.md

This document includes:

  • 🎯 Supported AI models (Claude Sonnet 4.5, Qwen 3, DeepSeek 3.1)
  • ⚙️ Detailed configuration steps and account setup
  • 🔐 API Key acquisition and authentication methods
  • 📊 API call chain sequence diagrams
  • ❓ Frequently Asked Questions (FAQ)
  • 🔧 Troubleshooting guide

Getting Started

Prerequisites

  • Node.js 18+ and pnpm
  • Python 3.10+ and uv

Install

# install JS deps and sync Python env
pnpm run install:all

Development

By default, the workspace scripts launch:

  • Backend on port 5611
  • Frontend on port 5621

Start both dev servers:

pnpm run dev

Open:

Important: The frontend source is currently configured for port 5621. To use the workspace defaults (5611), update the following in frontend/app/main.tsx:

Alternatively, run the backend on 5621:

# from repo root
cd backend
uv sync
uv run uvicorn main:app --reload --port  5621 --host 0.0.0.0

Build

# build frontend; backend has no dedicated build step
pnpm run build

Static assets for the frontend are produced by Vite. The backend is a standard FastAPI app that can be run with Uvicorn or any ASGI server.

Prompt guidance

Referenced from another git repo: https://gist.github.com/wquguru/7d268099b8c04b7e5b6ad6fae922ae83

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors