fix: per_stock_reassess 476行rr_ratio真正改为holding的(上次commit未生效,sed精确修)

This commit is contained in:
xxm
2026-08-18 15:47:59 +08:00
parent 73703649f3
commit b81016a64b
+1 -1
View File
@@ -473,7 +473,7 @@ def main():
"take_profit": result.get("take_profit"),
"tech_snapshot": result.get("tech_snapshot", entry.get("tech_snapshot")),
"timing_signal": result.get("timing_signal", entry.get("timing_signal")),
"rr_ratio": rr, # 2026-08-18 统一用 77 行 entry/stop/tp 算的 rr(与 promote 同口径)
"rr_ratio": entry.get("rr_ratio", 0), # 2026-08-18 RR由scanner定不覆盖(用holding的)
"status": result.get("status", "updated"),
"price": price,
"currency": "HKD" if is_hk else "CNY",