feat(paper): 组合策略接入模拟盘实走(E1+E2): paper_accounts加strategy_type列(含迁移); portfolio_paper每晚20:30全量重放→当日成交/末日持仓/净值落paper表(幂等,回测引擎为单一真相源); run_live_step按类型分流; create支持portfolio(仅live); 前端新建模拟盘策略类型选择+组合字段(策略/池/上限/基准) [vps]
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user