diff --git a/frontend/src/api/live.ts b/frontend/src/api/live.ts index 50aca53..5141618 100644 --- a/frontend/src/api/live.ts +++ b/frontend/src/api/live.ts @@ -25,6 +25,11 @@ export interface LiveAccount { total_return?: number | null position_count?: number instance?: string + /** 'cta' 个股 / 'portfolio' 组合 */ + strategy_type?: string + pool?: string | null + max_pool?: number | null + benchmark?: string | null } export interface LiveCreateRequest { @@ -39,6 +44,10 @@ export interface LiveCreateRequest { connect_wait_sec?: number init_wait_sec?: number mini_path?: string + strategy_type?: string + pool?: string + max_pool?: number + benchmark?: string } export interface LiveStatus { diff --git a/frontend/src/views/live/List.vue b/frontend/src/views/live/List.vue index 5398dc5..408724b 100644 --- a/frontend/src/views/live/List.vue +++ b/frontend/src/views/live/List.vue @@ -183,7 +183,10 @@ async function onStop(a: LiveAccount): Promise { diff --git a/frontend/src/views/live/New.vue b/frontend/src/views/live/New.vue index 528b103..aa01aa6 100644 --- a/frontend/src/views/live/New.vue +++ b/frontend/src/views/live/New.vue @@ -1,5 +1,5 @@