CoOp:Anything
게임을 검색해 협동 플레이 가능한 모드·단계·품질·커뮤니티 평점을 확인합니다
Tradr는 무료 브라우저 트레이딩 게임으로, 실시간 캔들 차트를 3분 레이스에서 RSI·EMA·Darvas형 봇과 겨룹니다
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
게임HTML · TypeScriptGitHub @zhutoutoutousan온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Trade and compete with computer strategy and AI agent
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
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! 🚀