Administrator
2024-04-18 2786ac85e8a5a91cefb0e0ef1071a2d28fad0526
取消成交数据日志
2个文件已修改
5 ■■■■■ 已修改文件
l2/cancel_buy_strategy.py 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
trade/huaxin/huaxin_trade_server.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
l2/cancel_buy_strategy.py
@@ -325,7 +325,8 @@
                    fdeal = big_sell_order_info[1][0][3]
                    start_order_no = fdeal[1]
                    sell_time_str = l2_huaxin_util.convert_time(fdeal[0], with_ms=False)
                    is_s_slow_timw = tool.trade_time_sub(sell_time_str, total_datas[real_order_index]["val"]["time"]) < 180
                    is_s_slow_timw = tool.trade_time_sub(sell_time_str,
                                                         total_datas[real_order_index]["val"]["time"]) < 180
                    total_slow_num = 0
                    total_slow_count = 0
                    # 获取正在成交的数据
trade/huaxin/huaxin_trade_server.py
@@ -407,7 +407,7 @@
    @classmethod
    def l2_transaction(cls, code, datas):
        async_log_util.info(hx_logger_l2_transaction, f"{code}#{datas}")
        # async_log_util.info(hx_logger_l2_transaction, f"{code}#{datas}")
        if datas:
            HuaXinTransactionDatasProcessor().process_huaxin_transaction_datas(code, datas)