feat(paper): 组合策略接入模拟盘实走(E1+E2): paper_accounts加strategy_type列(含迁移); portfolio_paper每晚20:30全量重放→当日成交/末日持仓/净值落paper表(幂等,回测引擎为单一真相源); run_live_step按类型分流; create支持portfolio(仅live); 前端新建模拟盘策略类型选择+组合字段(策略/池/上限/基准) [vps]
CI/CD / test (push) Successful in 11s
CI/CD / nas-deploy (push) Failing after 11s
CI/CD / nas-verify (push) Has been skipped

This commit is contained in:
2026-08-13 18:32:09 +08:00
parent 3e7d40ad5f
commit d030cfc91f
7 changed files with 434 additions and 19 deletions
+6
View File
@@ -16,6 +16,11 @@ export interface PaperCreate {
initial_capital: number
start: string
end: string
// 组合策略实走(E1):strategy_type=portfolio 时 mode 须 live
strategy_type?: string
pool?: string
max_pool?: number
benchmark?: string
}
export interface PaperAccount {
@@ -24,6 +29,7 @@ export interface PaperAccount {
mode: string
interval: string
status: string
strategy_type?: string
symbols?: string
initial_capital?: number
start_date?: string