| | |
| | | cancel_result = FCancelBigNumComputer().need_cancel_for_deal_fast(code, buy_progress_index) |
| | | if cancel_result[0]: |
| | | L2TradeDataProcessor.cancel_buy(code, f"F撤:{cancel_result[1]}") |
| | | else: |
| | | if not cancel_result[0]: |
| | | try: |
| | | cancel_result = NBCancelBigNumComputer().need_cancel(code, buy_progress_index) |
| | | if cancel_result[0]: |
| | |
| | | except: |
| | | pass |
| | | |
| | | if not cancel_result[0] and buy_progress_index_changed: |
| | | try: |
| | | cancel_result = FCancelBigNumComputer().need_cancel_for_w(code) |
| | | if cancel_result[0]: |
| | | L2TradeDataProcessor.cancel_buy(code, f"W撤:{cancel_result[1]}") |
| | | except: |
| | | pass |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | SCancelBigNumComputer().set_transaction_index(code, order_begin_pos.buy_single_index, |
| | | buy_progress_index) |