# Source Index

## 核心源码

- `web/src/routes/index.tsx`：前端页面路由。
- `web/src/features/*`：功能模块与 API client。
- `server/internal/handler/routes.go`：后端 REST 路由注册。
- `server/internal/logic/*`：领域逻辑。
- `server/internal/engine`：实时交易执行引擎。
- `server/internal/job`：异步任务。
- `server/pkg/debate`：Debate Arena 多智能体辩论包。
- `server/internal/model/mysql`：MySQL 持久化模型。

## CodeWiki 文档

- `admin_operations.md`：Admin Operations The admin operations module provides the Trading Matrix frontend surface for cross-user trader oversight. It lets an authenticated administrator view every trader's owner, model, exchange, account, running state, balance, e
- `competition_leaderboard.md`：Competition Leaderboard The competition leaderboard module is the Trading Matrix arena view for comparing AI traders by live profitability. It presents visible traders in a ranked leaderboard, highlights the current leader, plots multi-trad
- `debate_arena.md`：Debate Arena The debate arena module is the Trading Matrix auxiliary AI-consensus workbench. It lets an authenticated user create a multi-participant AI debate around one symbol and one strategy, run several rounds of model commentary, coll
- `event_backtest_replay.md`：Event Backtest Replay The event backtest replay module is the Trading Matrix historical evaluation surface for AI trading runs and KOL/event-driven replay. It lets developers and operators start simulated AI backtests, replay event signals,
- `identity_access.md`：Identity Access The identity access module owns the Trading Matrix frontend identity boundary: account registration, login, OTP enrollment and verification, session persistence, invite visibility, and route-level access decisions. It is imp
- `live_trading_dashboard.md`：Live Trading Dashboard The live trading dashboard module is the Trading Matrix runtime observation surface for configured traders. It lets an authenticated user inspect trader status, account equity, open positions, pending orders, AI decis
- `overview.md`：trading-matrix trading-matrix is the Curvature Labs AI quantitative trading hub. It connects identity, trader configuration, strategy authoring, live execution telemetry, event/KOL replay, candidate governance, competition ranking, and deba
- `raceboard_candidate_pipeline.md`：Raceboard Candidate Pipeline The raceboard candidate pipeline module is the Trading Matrix governance surface for moving KOL-derived opportunities from Data Horizon candidate signals into Trading Matrix validation, backtesting, trader confi
- `strategy_studio.md`：Strategy Studio The strategy studio module is the Trading Matrix strategy-authoring surface. It lets an authenticated user create, edit, activate, duplicate, publish, clone, preview, and test strategy configurations that later drive trader 
- `trader_configuration.md`：Trader Configuration The trader configuration module owns the Trading Matrix frontend surface for configuring AI traders, AI model providers, exchange accounts, credential entry, and Data Horizon source subscriptions for event-driven strate
