From 6039ab8bc1cd3c016a6f870562c7101731070e7a Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期一, 11 三月 2024 18:30:56 +0800
Subject: [PATCH] 修改真实下单位计算/修改影子单价格

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

diff --git a/l2/l2_data_util.py b/l2/l2_data_util.py
index 9abfa2b..8f0e173 100644
--- a/l2/l2_data_util.py
+++ b/l2/l2_data_util.py
@@ -429,10 +429,12 @@
         if int(val["operateType"]) != 1:
             return False
 
-        price = float(val["price"])
-        num = int(val["num"])
-        # if price * num * 100 < 50 * 10000:
-        #     return False
+        return True
+
+    @classmethod
+    def is_buy_cancel(cls, val):
+        if int(val["operateType"]) != 1:
+            return False
         return True
 
     # 鏄惁鍗栨挙

--
Gitblit v1.8.0