AssetManager.API/AssetManager.Infrastructure
OpenClaw Agent 4ce29a1036 refactor: 架构优化 P0-P3
P0 - 安全修复:
- 移除硬编码 API Key,启动时校验必填环境变量

P1 - 高优先级:
- Entity 拆分:Position.cs, Transaction.cs 独立文件
- Controller Facade 封装:IPortfolioFacade 减少依赖注入

P2 - 中优先级:
- Repository 抽象:IPortfolioRepository, IMarketDataRepository
- MarketDataService 拆分:组合模式整合 Tencent/Tiingo/OKX

P3 - 低优先级:
- DTO 命名规范:统一 PascalCase
- 单元测试框架:xUnit + Moq + FluentAssertions
2026-03-15 12:54:05 +00:00
..
Services refactor: 架构优化 P0-P3 2026-03-15 12:54:05 +00:00
StrategyEngine fix: 请求收益曲线时自动回填历史数据 2026-03-13 16:21:31 +00:00
AssetManager.Infrastructure.csproj fix: 请求收益曲线时自动回填历史数据 2026-03-13 16:21:31 +00:00