Initial commit with 2026 World Cup Quant Platform core modules and CI/CD

This commit is contained in:
QuantBot
2026-06-13 23:18:18 +08:00
commit 073abf98c1
155 changed files with 19539 additions and 0 deletions

32
.env.example Normal file
View File

@@ -0,0 +1,32 @@
PORT=3000
# The Odds API is used as the primary data source for fixtures + odds.
THE_ODDS_API_KEY=your_the_odds_api_key
THE_ODDS_BASE=https://api.the-odds-api.com
THE_ODDS_SPORT_KEY=soccer_fifa_world_cup
THE_ODDS_REGIONS=eu
# 1x2 / spreads / totals / btts are commonly available
THE_ODDS_MARKETS=h2h,spreads,totals,btts
REFRESH_MINUTES=10
LIVE_REFRESH_SECONDS=45
FAST_REFRESH_HOURS=6
MATCH_LOOKBACK_HOURS=12
APP_TIME_ZONE=Asia/Taipei
APP_PUBLIC_ORIGIN=https://2026fifa.wooo.work
TZ=Asia/Taipei
KELLY_SCALE=0.6
# Optional news provider key (if you have one) or set for RSS-only mode.
NEWS_API_KEY=
NEWS_PROVIDER=google-rss
# Optional tuning
ODDS_REFRESH_TIMEOUT_MS=15000
NEWS_FETCH_CONCURRENCY=3
NEWS_LOOKBACK_DAYS=14
MAX_MATCHES_FOR_NEWS=64
# 量化分析/資料平台參數(預留)
REDIS_URL=redis://127.0.0.1:6379
POSTGRES_URL=postgres://user:password@127.0.0.1:5432/fifa2026
ANALYTICS_MODE=js
ANALYTICS_MC_SAMPLES=10000