CoOp:Anything
Search any game and see how much of it you can play with friends: every co-op mod, its stage, quality and community rating.
Tradr is a free browser trading game. Trade live candlestick charts in 3-minute races against RSI, EMA, and Darvas-style algorithmic bots. Solo, multiplayer rooms, and a community gallery with replay
GamesHTML · TypeScriptGitHub @zhutoutoutousanOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Trade and compete with computer strategy and AI agent
Taken from the repository README
Loading the full README.
Read the full README ↗Real-time browser trading game where you compete against AI bots on a live market 🚀
Tradr is a Progressive Web App where you trade stocks, forex, and crypto on a TradingView-style chart while competing against algorithmic trading bots in real-time. The bots use strategies ported directly from MetaTrader 5's cluster-latest expert advisor.
# 1. Clone & Install
git clone <repo-url>
cd tradr/web
npm install
# 2. Interactive Setup
npm run setup
# → Führt Sie durch Stripe & Supabase Credentials
# 3. Database Setup
npm run db:migrate
# 4. Start Development
npm run dev
# → http://localhost:3000
→ Complete Guide: QUICKSTART.md
| Guide | Purpose | Time |
|---|---|---|
| QUICKSTART.md | 30-Minuten Setup von 0 zu Production | ⚡ 30 min |
| CREDENTIALS_SETUP.md | Stripe & Supabase Credentials einrichten | 🔐 15 min |
| DEPLOYMENT_GUIDE.md | Production Deployment (Vercel/Railway/Self-hosted) | 🚀 15 min |
| SETUP_COMPLETE.md | Master Setup Guide mit allen Details | 📖 Full Reference |
| Guide | Purpose |
|---|---|
| web/README.md | Next.js App Architecture & Features |
| REQUIREMENTS.md | Feature Requirements & Status |
| Guide | Purpose | For |
|---|---|---|
| web/docs/README.md | PWA Docs Übersicht | All |
| web/docs/PWA-FEATURES-OVERVIEW.md | Feature Matrix & Architecture | PM, Designers |
| web/docs/PWA-QUICKSTART.md | 5-Min PWA Quick Start | Developers |
| web/docs/PWA.md | Technical Reference & API | Developers |
| web/docs/PWA-INTEGRATION-EXAMPLES.md | 10+ Code Examples | Developers |
/play)/multiplayer)Strategies ported from MetaTrader 5 cluster-latest EA:
Source: RSIScalpingStrategy.mqh
Logic: Buys RSI crossing out of oversold, sells out of overbought. Exits at RSI target or after N bars.
Source: DarvasBoxStrategy.mqh
Logic: Detects consolidation boxes and trades volume-confirmed breakouts.
Source: EMASlopeDistanceStrategy.mqh
Logic: Arms when price stretches from sloping EMA, trades the trend, exits on cross-back.
┌─────────────────┐
│ Next.js App │
│ (React 19) │
└────────┬────────┘
│
┌────┴────┐
│ │
┌───▼───┐ ┌──▼──────┐
│ Client│ │ API │
│ State │ │ Routes │
└───┬───┘ └──┬──────┘
│ │
┌───▼────────▼───┐
│ Game Engine │
│ (TypeScript) │
├────────────────┤
│ • Market Sim │
│ • Indicators │
│ • Strategies │
│ • Position Mgr │
└────────────────┘
│
┌────┴────┐
│ │
┌───▼───┐ ┌──▼────────┐
│Canvas │ │ Supabase │
│Chart │ │ Realtime │
└───────┘ └───────────┘
Core Files:
src/lib/sim/engine.ts - Game Enginesrc/lib/sim/market.ts - Price Generationsrc/lib/sim/historical.ts - Real Data Replaysrc/lib/sim/indicators.ts - RSI/EMA/ATRsrc/lib/sim/strategies.ts - Bot Logicsrc/hooks/useGame.ts - React Game Loopnpm run setup # Interactive credentials setup
npm run dev # Development server (http://localhost:3000)
npm run build # Production build
npm run start # Production server
npm run db:migrate # Run database migrations
npm run fetch-data # Update historical market data
npm run test:e2e # E2E tests (Playwright)
npm run lint # ESLint
Create .env.local in web/ folder:
# STRIPE
STRIPE_SECRET_KEY=sk_test_...
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_...
STRIPE_PRICE_ID=price_...
# SUPABASE
NEXT_PUBLIC_SUPABASE_URL=https://xxxxx.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGci...
# SITE
NEXT_PUBLIC_SITE_URL=http://localhost:3000
→ Detailed Setup: CREDENTIALS_SETUP.md
npm i -g vercel
cd web
vercel --prod
→ Complete Guide: DEPLOYMENT_GUIDE.md
→ PWA Docs: web/docs/README.md
| Component | Status | Notes |
|---|---|---|
| Code | ✅ Production-Ready | Build successful |
| PWA | ✅ Implementiert | Full offline support |
| Auth | ✅ Implementiert | Stripe integration |
| Leaderboard | ✅ Implementiert | Supabase backend |
| Indicators | ✅ 8 Stück fertig | RSI, EMA, ATR, etc. |
| Bots | ✅ 3 Strategies | Ported from MT5 |
| Multiplayer | ✅ Realtime Rooms | Supabase Realtime |
| Documentation | ✅ Vollständig | 9+ guides |
| Tests | ✅ E2E Suite | Playwright |
| Build | ✅ Erfolgreich | No errors |
tradr/
├── web/ # Next.js App
│ ├── src/
│ │ ├── app/ # App Router Pages
│ │ ├── components/ # React Components
│ │ ├── hooks/ # Custom Hooks
│ │ └── lib/ # Core Logic
│ │ ├── sim/ # Trading Simulation
│ │ ├── pwa/ # PWA Features
│ │ ├── supabase.ts # DB Client
│ │ └── stripe.ts # Payment Client
│ ├── public/
│ │ ├── sw.js # Service Worker
│ │ ├── manifest.json # PWA Manifest
│ │ └── data/ # Historical Data
│ ├── supabase/migrations/ # SQL Schema
│ ├── scripts/ # Utilities
│ └── docs/ # PWA Docs
├── promo/ # Marketing Assets
├── QUICKSTART.md # Quick Start Guide
├── CREDENTIALS_SETUP.md # Credentials Guide
├── DEPLOYMENT_GUIDE.md # Deployment Guide
├── SETUP_COMPLETE.md # Complete Setup Reference
└── README.md # ← You are here
| Issue | Solution |
|---|---|
| Module not found | rm -rf node_modules && npm install |
| Multiplayer nicht sync | Aktivieren Sie Realtime in Supabase Dashboard |
| Stripe Checkout öffnet nicht | Check STRIPE_SECRET_KEY und STRIPE_PRICE_ID |
| PWA installiert nicht | Braucht HTTPS (oder localhost) + Production Build |
→ Full Troubleshooting: CREDENTIALS_SETUP.md
[Add your license here]
Start here: QUICKSTART.md
# Setup (30 min)
cd web
npm install
npm run setup # Interactive credentials
npm run db:migrate # Database setup
npm run dev # Test locally
# Deploy (10 min)
npm run build
vercel --prod
# Done! 🎉
Total: 40 minutes to production ⚡
QUICKSTART.mdCREDENTIALS_SETUP.mdDEPLOYMENT_GUIDE.mdSETUP_COMPLETE.mdweb/docs/README.mdBuilt with ❤️ for traders and developers
Ready to compete? Let's trade! 🚀