From 3b872137fb8d0e894c868197eff915748c704a0e Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期一, 09 九月 2024 00:49:58 +0800 Subject: [PATCH] 激进买入-买入完善 --- l2/place_order_single_data_manager.py | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/l2/place_order_single_data_manager.py b/l2/place_order_single_data_manager.py index 4f980fb..4af7975 100644 --- a/l2/place_order_single_data_manager.py +++ b/l2/place_order_single_data_manager.py @@ -203,10 +203,12 @@ @return: """ - def OnLimitUpActiveBuy(self, code, huaxin_timestamp): + def OnLimitUpActiveBuy(self, code, huaxin_timestamp, buy_no): """ - 娑ㄥ仠涓诲姩涔拌Е鍙� + 娑ㄥ仠涓诲姩涔拌Е鍙� @param code: + @param huaxin_timestamp: + @param buy_no: @return: """ @@ -274,8 +276,8 @@ # cls.__callback.OnTradeSingle(code, 0, cls.TYPE_ACTIVE, cls.__latest_sell_active_deal_data_dict[code]) @classmethod - def set_limit_up_active_buy(cls, code, huaxin_timestamp): - cls.__callback.OnLimitUpActiveBuy(code, huaxin_timestamp) + def set_limit_up_active_buy(cls, code, huaxin_timestamp, buy_no): + cls.__callback.OnLimitUpActiveBuy(code, huaxin_timestamp, buy_no) @classmethod def get_valid_trade_single(cls, code, latest_time_with_ms): -- Gitblit v1.8.0