From cf67d073d96ab1349ac74ac5caf7dab40f214226 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期一, 20 十一月 2023 00:19:55 +0800
Subject: [PATCH] 板上卖算入大单成交

---
 l2/l2_data_util.py |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/l2/l2_data_util.py b/l2/l2_data_util.py
index 34fce3c..37e12ea 100644
--- a/l2/l2_data_util.py
+++ b/l2/l2_data_util.py
@@ -408,11 +408,16 @@
 
         if int(val["operateType"]) != 2:
             return False
+        return True
 
-        price = float(val["price"])
-        num = int(val["num"])
-        # if price * num * 100 < 50 * 10000:
-        #     return False
+    # 娑ㄥ仠鍗栨挙
+    @classmethod
+    def is_limit_up_price_sell_cancel(cls, val):
+        if int(val["limitPrice"]) != 1:
+            return False
+
+        if int(val["operateType"]) != 3:
+            return False
         return True
 
     # 鏄惁娑ㄥ仠涔版挙

--
Gitblit v1.8.0