diff --git a/scripts/batch_reassess.py b/scripts/batch_reassess.py index a79210fa..1fc587e6 100644 --- a/scripts/batch_reassess.py +++ b/scripts/batch_reassess.py @@ -120,7 +120,8 @@ PE={data.get('pe','?')} 市值={data.get('mcap','?')}亿 大盘偏弱×0.8,大盘偏强×1.15 蓝筹/白马×1.2,成长×0.85,题材/短线×0.6 最终仓位范围:5%~20% -同时考虑:现金{cash}元足够买多少手。输出格式如"8%(约2手,XX元)""" +同时考虑:现金{cash}元足够买多少手。 +输出格式:"X%(理由:一句话说明为什么这个仓位)""" def parse_response(text): """从LLM回复中提取策略参数""" result = {"signal": "", "entry_low": 0, "entry_high": 0, "stop_loss": 0, "take_profit": 0, "position": ""}