From ab61b50ef2feede9f98ee10052ba19deb69287e6 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期一, 20 十一月 2023 15:40:10 +0800
Subject: [PATCH] Bug修复

---
 l2/l2_data_util.py |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/l2/l2_data_util.py b/l2/l2_data_util.py
index 37e12ea..8b02f15 100644
--- a/l2/l2_data_util.py
+++ b/l2/l2_data_util.py
@@ -449,6 +449,13 @@
             return True
         return False
 
+    # 鏄惁涓轰拱
+    @classmethod
+    def is_buy(cls, val):
+        if int(val["operateType"]) == 0:
+            return True
+        return False
+
     # l2鏃堕棿宸��
     @classmethod
     def time_sub_as_ms(cls, val1, val2):

--
Gitblit v1.8.0