mirror of
https://github.com/shy3130/tick-stock-panel.git
synced 2026-11-02 10:26:13 +00:00
META["params"] 新增 string 类型(自由文本),后端本就按非数值类型 原样透传,无需改动;本 PR 补齐前端渲染与扫描守卫: - StrategyParamDef.type 联合类型加 'string' - 回测页/策略设置弹窗参数面板:string 渲染为文本输入框 (此前未知类型会掉进 number 分支,文本值被 Number() 转成 NaN) - paramSweep:string 参数标记「文本参数不可扫描」,buildGrid 防御性跳过(后端 _candidates_for 只支持 float/int 范围展开) - strategy-guide / compact 指南与 AI 生成 prompt 同步参数类型说明