From e3f4cf3bacac6eda31ddea6aaf70ebb883788817 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期三, 28 五月 2025 17:38:07 +0800 Subject: [PATCH] L2成交大单解析 --- l2_test.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/l2_test.py b/l2_test.py index 8db7571..161d834 100644 --- a/l2_test.py +++ b/l2_test.py @@ -124,8 +124,8 @@ volume = zylt_volume_map.get(code) # 浠婃棩娑ㄥ仠浠疯绐佺牬鏄ㄦ棩鏈�楂樹环 k_bars = HistoryKDataManager().get_history_bars(code, last_trade_day) - if k_bars and 30e8 <= k_bars[0]["close"] * volume * tool.get_limit_up_rate(code) <= 300e8: - # 鑷敱娴侀�氬競鍊煎湪30浜�-300浜夸互涓� + if k_bars and 10e8 <= k_bars[0]["close"] * volume * tool.get_limit_up_rate(code) <= 300e8: + # 鑷敱娴侀�氬競鍊煎湪10浜�-300浜夸互涓� limit_up_price = round(tool.get_limit_up_rate(code) * k_bars[0]["close"], 2) if limit_up_price > k_bars[0]["high"]: # 浠婃棩娑ㄥ仠浠疯绐佺牬鏄ㄦ棩鏈�楂樹环 -- Gitblit v1.8.0