diff --git a/frontend/src/api/paper.ts b/frontend/src/api/paper.ts index e67a12b..07ef7e5 100644 --- a/frontend/src/api/paper.ts +++ b/frontend/src/api/paper.ts @@ -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 diff --git a/frontend/src/views/paper/New.vue b/frontend/src/views/paper/New.vue index bb72255..a6e3a25 100644 --- a/frontend/src/views/paper/New.vue +++ b/frontend/src/views/paper/New.vue @@ -1,5 +1,5 @@