Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

⚡ AlphaForge (OSS)

A quant trading platform for building, backtesting, and comparing trading strategies using algorithms, LLMs, or hybrid approaches.

This repository is the open-source, self-hostable core.

Vision

AlphaForge lets you:

  1. Build strategies using three approaches:
  • Algorithmic (RSI, MACD, moving averages, mean reversion, momentum)
  • LLM-based (market data + news -> buy/sell/hold signals)
  • Hybrid (algorithmic signals filtered/confirmed by an LLM)
  1. Backtest against historical OHLCV market data with realistic slippage and commission models.
  2. Paper trade with simulated execution, position tracking, and portfolio management.
  3. Compare strategies side-by-side: P&L, Sharpe ratio, max drawdown, win rate.

Repo Scope

Included here:

  • apps/web-oss: self-hostable app profile
  • packages/api, packages/db, packages/auth, packages/env, packages/effect, packages/infra

Not included here:

  • hosted SaaS billing and subscription enforcement code
  • internal ops/admin tooling

Tech Stack

  • TanStack Start
  • tRPC
  • Drizzle (SQLite/D1)
  • Better-Auth
  • Effect-TS
  • TailwindCSS + shadcn/ui
  • Turborepo
  • Cloudflare Workers (Alchemy)

Quick Start

  1. Install dependencies
bun install
  1. Configure environment
cp .env.example .env
  1. Push database schema
bun run db:push
  1. Start dev server
bun run dev

Open http://localhost:3001

Useful Commands

bun run dev:web
bun run build:web
bun run check-types
bun run deploy

Environment Variables

See .env.example.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages