feat(portfolio): max_pool 字段透传(model+handler+前端,解除30硬编码)
CI/CD / test (push) Successful in 8s
CI/CD / nas-deploy (push) Successful in 21s
CI/CD / nas-verify (push) Successful in 3s

model 加 max_pool 字段(默认30,0=全市场不限);handler 用 req.max_pool 替换硬编码30;
前端加选股池上限 input + onSubmit 透传。下游 submit_portfolio→spec→argv--max-pool
链路异步化时已存在,本次只补入口。全周期验收可传 max_pool=0 对比 docker exec 旁证
This commit is contained in:
2026-08-01 23:20:40 +08:00
parent 7a14d7da82
commit e22c8ee939
3 changed files with 15 additions and 1 deletions
+1
View File
@@ -3,6 +3,7 @@ import { apiClient } from './client'
export interface PortfolioBacktestReq {
pool: string
strategy?: string
max_pool?: number
start_date: string
end_date: string
initial_cash: number