AssetManager.API/AssetManager.Models/DTOs
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
..
AuthDTO.cs fix: 请求收益曲线时自动回填历史数据 2026-03-13 16:21:31 +00:00
ChandelierExitConfig.cs fix: 请求收益曲线时自动回填历史数据 2026-03-13 16:21:31 +00:00
MarketDTO.cs fix: 请求收益曲线时自动回填历史数据 2026-03-13 16:21:31 +00:00
MaTrendConfig.cs fix: 请求收益曲线时自动回填历史数据 2026-03-13 16:21:31 +00:00
PortfolioDTO.cs refactor: 架构优化 P0-P3 2026-03-15 12:54:05 +00:00
RiskParityConfig.cs fix: 请求收益曲线时自动回填历史数据 2026-03-13 16:21:31 +00:00
StrategyDTO.cs refactor: 架构优化 P0-P3 2026-03-15 12:54:05 +00:00
StrategySignal.cs fix: 请求收益曲线时自动回填历史数据 2026-03-13 16:21:31 +00:00
StrategyType.cs fix: 请求收益曲线时自动回填历史数据 2026-03-13 16:21:31 +00:00
TickerDTO.cs fix: 请求收益曲线时自动回填历史数据 2026-03-13 16:21:31 +00:00
UserDTO.cs fix: 请求收益曲线时自动回填历史数据 2026-03-13 16:21:31 +00:00