From b63bfc11f5448d4f1035f194b8206becb9524174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=A5=E5=BE=AE?= Date: Fri, 10 Jul 2026 00:54:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BB=93=E4=BD=8D=E8=BE=93=E5=87=BA?= =?UTF-8?q?=E8=A6=81=E6=B1=82=E5=B8=A6=E4=B8=80=E5=8F=A5=E8=AF=9D=E7=90=86?= =?UTF-8?q?=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/batch_reassess.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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": ""}