| | |
| | | break |
| | | except Exception as e: |
| | | async_log_util.error(hx_logger_l2_debug, str(e)) |
| | | try: |
| | | # 下单2s后才开始生效 |
| | | cresult = LCancelBigNumComputer().add_transaction_datas(code, datas) |
| | | if cresult[0] and not DCancelBigNumComputer().has_auto_cancel_rules(code): |
| | | L2TradeDataProcessor.cancel_buy(code, f"L后成交太快撤单:{cresult[1]}") |
| | | order_begin_pos = None |
| | | except Exception as e: |
| | | async_log_util.error(hx_logger_l2_debug, str(e)) |
| | | # 暂时注释掉 |
| | | # try: |
| | | # # 下单2s后才开始生效 |
| | | # cresult = LCancelBigNumComputer().add_transaction_datas(code, datas) |
| | | # if cresult[0] and not DCancelBigNumComputer().has_auto_cancel_rules(code): |
| | | # L2TradeDataProcessor.cancel_buy(code, f"L后成交太快撤单:{cresult[1]}") |
| | | # order_begin_pos = None |
| | | # except Exception as e: |
| | | # async_log_util.error(hx_logger_l2_debug, str(e)) |
| | | big_sell_order_info = None |
| | | try: |
| | | # 统计卖单 |