mirror of
https://github.com/simonlin1212/TradingAgents-astock.git
synced 2026-10-30 09:29:56 +00:00
BREAKING CHANGE: 上一提交引入的 enable_execution_levels 开关一并移除。 改为直接删除而非默认关闭:荐股软件的认定看软件是否「具备」该功能, 留一个开关在代码里、README 还写着怎么打开,那软件依然具备该功能。 删掉才是真的不具备,同时少一个开关、少两个 schema 变体、少两处分支。 - 删除 TraderProposalWithLevels / PortfolioDecisionWithTarget 两个变体 与 trader_proposal_model() / portfolio_decision_model() 选择器 - 删除 entry_price / stop_loss / position_sizing / price_target 字段 - 渲染函数不再输出对应四节,getattr 兼容层一并移除 - create_trader / create_portfolio_manager / GraphSetup 去掉开关参数 - default_config 去掉 enable_execution_levels - 提示词保持收紧(仅删字段挡不住模型写进散文字段) - 测试 TestExecutionLevelsFlag → TestNoExecutionLevels: 锁定「schema 无价位字段 / 提示词禁止 / 渲染永不输出」 需要该能力的使用者可自行 fork 添加(Apache-2.0 允许)。 测试:161 passed + 48 subtests passed。