| | |
| | | if b_need_cancel: |
| | | async_log_util.error(logger_debug, f"{code} S后撤单:{b_cancel_msg}") |
| | | # return total_data[end_index], f"S后撤({b_cancel_msg})" |
| | | return None, None |
| | | return None, "" |
| | | except Exception as e: |
| | | logging.exception(e) |
| | | async_log_util.error(logger_l2_error, |
| | |
| | | if not cancel_data: |
| | | cancel_data, cancel_msg = l_cancel(order_begin_pos.buy_single_index, order_begin_pos.buy_exec_index) |
| | | # 暂时取消S撤 |
| | | # if not cancel_data: |
| | | # cancel_data, cancel_msg = s_cancel(buy_single_index, buy_exec_index) |
| | | if not cancel_data: |
| | | cancel_data, cancel_msg = s_cancel(order_begin_pos.buy_single_index, order_begin_pos.buy_exec_index) |
| | | if not cancel_data: |
| | | cancel_data, cancel_msg = h_cancel(order_begin_pos.buy_single_index, order_begin_pos.buy_exec_index) |
| | | if cancel_data and not DCancelBigNumComputer().has_auto_cancel_rules(code): |
| | |
| | | |
| | | except Exception as e: |
| | | async_log_util.error(logger_debug, f"卖单统计异常:{str(e)}") |
| | | logger_debug.exception(e) |
| | | |
| | | # 计算已经成交的大单 |
| | | big_money_count = 0 |