Skip to content
프로젝트

소개

nof1 Alpha Arena에서 영감을 받은 AI 모의 트레이딩 프로젝트로, 시세 조회에 cctx를 사용합니다.

비즈니스 및 금융

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Open Alpha Arena

imageimage

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

DONE:

  • Paper Trading
  • OpenAI compatible API
  • LEVERAGE
  • ccxt for quotation
  • Pure TypeScript stack (backend ported from Python; nodejs-polars replaces pandas)

TODO:

  • real trading (actually you can implement it with ccxt by the help of AI coding tools easily)

Star History

Getting Started

Tech Stack

The whole project is TypeScript — one runtime, one package manager.

Layer Stack
Frontend React 18 + Vite + Tailwind + shadcn/ui
Backend Hono + @hono/node-server (HTTP & WebSocket)
Database SQLite via Drizzle ORM + better-sqlite3
Validation Zod
Dataframes nodejs-polars (factor calculations)
Market data ccxt (Hyperliquid)

Prerequisites

  • Node.js 20+ and pnpm

Install

pnpm install

Development

By default, the workspace scripts launch:

  • Backend on port 5611
  • Frontend on port 5621

Start both dev servers:

pnpm run dev

Open:

Vite proxies /api and /ws to the backend on 5611, so no extra configuration is needed. To run the backend alone:

pnpm --filter backend dev

Build

pnpm run build          # frontend (Vite) + backend (tsc)
pnpm run typecheck      # backend type check only
pnpm --filter backend test   # factor regression test vs the pandas baseline

The compiled backend lives in backend/dist; run it with node dist/index.js. Copy the frontend's dist/ into backend/static/ to have the backend serve the SPA (the Dockerfile does this automatically).

Configuration

Env var Default Purpose
PORT 5611 HTTP/WebSocket port
DATABASE_PATH backend/data.db SQLite file location
LOG_LEVEL info debug | info | warning | error

Docker

docker compose up --build

License

MIT

Powered by DartNode

관련 프로젝트 살펴보기

불러오는 중…