fix: hk_pe_oversold_v2_gen语法修复(去掉行内注释)+s2_panic_v2 DB config 60→20
This commit is contained in:
@@ -104,7 +104,7 @@ if __name__ == "__main__":
|
||||
VALUES (?,?,?,?,?,?,?,?,?,?,?,?)""",
|
||||
(VERSION, "港股深跌破净升级", "低PE超卖池+深跌强化(mkt<-10),每日top8",
|
||||
"由果及因: 港股池基线-0.30%不赚钱,alpha=深跌破净(sec+mkt<-10+pb<0.4: +19.5pp/77%); 每日top-N填洞",
|
||||
"港股超卖", json.dumps({"top_n": TOP_N, "entry": {"pe_q_max": 0.2, "rsi_max": 45, "bias60_max": 0, "mkt_ret20_max": -10}, "exit": {"tp": 25, "sl": 12, "max_hold": 40} # 真实年化40d最优(23.2%)}, ensure_ascii=False),
|
||||
"港股超卖", json.dumps({"top_n": TOP_N, "entry": {"pe_q_max": 0.2, "rsi_max": 45, "bias60_max": 0, "mkt_ret20_max": -10}, "exit": {"tp": 25, "sl": 12, "max_hold": 40}}, ensure_ascii=False),
|
||||
json.dumps(results, ensure_ascii=False), None, now, "hk", pt, None))
|
||||
s2 = results["summary"]; p = results["portfolio"] or {}
|
||||
_pt = p.get("positions_taken") or 0
|
||||
|
||||
Reference in New Issue
Block a user