From e19723b0a243cc4b7ba4a77cc079242f945bd9d5 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期一, 20 一月 2025 18:40:25 +0800
Subject: [PATCH] 首封可买入

---
 l2/l2_data_manager.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/l2/l2_data_manager.py b/l2/l2_data_manager.py
index 59e0881..c298c01 100644
--- a/l2/l2_data_manager.py
+++ b/l2/l2_data_manager.py
@@ -23,7 +23,7 @@
     # mode: 0-鏅�氫氦鏄�  1-蹇�熶氦鏄�
     def __init__(self, buy_single_index=None, buy_exec_index=-1, buy_compute_index=None, num=0, count=0,
                  max_num_set=None, buy_volume_rate=None, sell_info=None, threshold_money=None, mode=0, mode_desc=None,
-                 at_limit_up=False):
+                 at_limit_up=False, first_limit_up_buy=False):
         self.buy_single_index = buy_single_index
         self.buy_exec_index = buy_exec_index
         self.buy_compute_index = buy_compute_index
@@ -40,6 +40,8 @@
         self.mode_desc = mode_desc
         # 鏄惁鏄澘涓婁拱
         self.at_limit_up = at_limit_up
+        # 鏄惁涓洪灏佷拱
+        self.first_limit_up_buy = first_limit_up_buy
 
     def get_max_num_set(self):
         if self.max_num_set:

--
Gitblit v1.8.0