3926a6bd07
feat: 架构修复 - P0/P1 问题全面修复
...
P0 修复:
- runtimeStore: 添加缺失的 lastDayHistory 字段
- Gateway/RuntimeService: 状态同步改为内存优先,消除 glob 竞态
- App.jsx: 从 3075 行重构到 ~500 行,提取 8 个独立文件
P1 修复:
- CORS: 4 个服务改为从环境变量读取允许 origins
- MarketStore: 改为模块级单例模式
- Domain 层: 删除 trading thin wrapper,保留 news 真实逻辑
- 测试: 补齐 77 个 gateway/runtime 测试
新增文件:
- backend/tests/test_gateway.py (43 tests)
- frontend/src/hooks/useWebSocketHandler.js
- frontend/src/hooks/useStockRequestCallbacks.js
- frontend/src/hooks/useAgentCallbacks.js
- frontend/src/hooks/useRuntimeCallbacks.js
- frontend/src/hooks/useWatchlistCallbacks.js
- frontend/src/components/TickerBar.jsx
- frontend/src/components/HeaderRight.jsx
- frontend/src/components/ChartTabs.jsx
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-23 18:45:57 +08:00
3448667b79
feat: 微服务架构拆分和前后端优化
...
后端:
- 拆分出 agent_service, runtime_service, trading_service, news_service
- Gateway 模块化拆分 (gateway_*.py)
- 添加 domains/ 领域层
- 新增 control_client, runtime_client
- 更新 start-dev.sh 支持 split 服务模式
前端:
- 完善 API 服务层 (newsApi, tradingApi)
- 更新 vite.config.js
- Explain 组件优化
测试:
- 添加多个服务 app 测试
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-23 17:45:39 +08:00
4b5ac86b83
feat: Add evaluation hooks, skill adaptation and team pipeline config
...
- Add EvaluationHook for post-execution agent evaluation
- Add SkillAdaptationHook for dynamic skill adaptation
- Add team/ directory with team coordination logic
- Add TEAM_PIPELINE.yaml for smoke_fullstack pipeline config
- Update RuntimeView, TraderView and RuntimeSettingsPanel UI
- Add runtimeApi and websocket services
- Add runtime_state.json to smoke_fullstack state
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-19 18:52:12 +08:00
2dcda63394
feat: Integrate WebSocket Gateway into API-based task launch
...
- Gateway now starts automatically when calling POST /runtime/start
- No need to run python backend/main.py separately
- Single service architecture: only FastAPI (port 8000) needed
- Gateway runs in background task and stops with pipeline
- Add error handling and logging for Gateway lifecycle
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-17 18:36:33 +08:00
3174734f26
feat: Add runtime config validation for cash, margin and memory settings
...
- Add initial_cash validation (must be positive number)
- Add margin_requirement validation (must be non-negative)
- Add enable_memory boolean configuration
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-17 16:50:47 +08:00
2daf5717ba
Add per-agent skill workspaces and TraderView management
2026-03-17 13:55:14 +08:00
1f5ee3698e
Add explain analysis workflow and UI
2026-03-16 22:28:41 +08:00
3a5558b576
Read feed replay history from runtime db
2026-03-16 02:26:24 +08:00
564c92c0c8
确认PokieTicker新闻库数据源
2026-03-16 02:19:25 +08:00
78f133617f
Add run-scoped skill and prompt asset management
2026-03-16 00:04:04 +08:00
d233a3f55d
Add configurable data providers and localize frontend UI
2026-03-15 00:55:12 +08:00
12de93aa30
feat: initial commit - EvoTraders project
...
量化交易多智能体系统,包含:
- 分析师、投资组合经理、风险经理等智能体
- 股票分析、投资组合管理、风险控制工具
- React 前端界面
- FastAPI 后端服务
Co-Authored-By: Claude <noreply@anthropic.com >
2026-03-13 04:34:06 +08:00