| | |
| | | async_log_util.info(logger_l2_trade_buy_queue, "获取成交位置成功: code-{} index-{}", code, |
| | | buy_progress_index) |
| | | limit_up_price = gpcode_manager.get_limit_up_price(code) |
| | | if buy_exec_index and buy_exec_index > -1: |
| | | m_base_val = L2PlaceOrderParamsManager.get_base_m_val(code) |
| | | need_cancel, msg = DCancelBigNumComputer().set_trade_progress(code, |
| | | buy_progress_index, |
| | | buy_exec_index, |
| | | total_datas, |
| | | m_base_val, |
| | | limit_up_price) |
| | | if need_cancel: |
| | | L2TradeDataProcessor.cancel_buy(code, f"D撤:{msg}", source="d_cancel") |
| | | # 注释掉D撤单 |
| | | # if buy_exec_index and buy_exec_index > -1: |
| | | # m_base_val = L2PlaceOrderParamsManager.get_base_m_val(code) |
| | | # need_cancel, msg = DCancelBigNumComputer().set_trade_progress(code, |
| | | # buy_progress_index, |
| | | # buy_exec_index, |
| | | # total_datas, |
| | | # m_base_val, |
| | | # limit_up_price) |
| | | # if need_cancel: |
| | | # L2TradeDataProcessor.cancel_buy(code, f"D撤:{msg}", source="d_cancel") |
| | | |
| | | LCancelBigNumComputer().set_trade_progress(code, buy_progress_index, total_datas) |
| | | SecondCancelBigNumComputer().set_transaction_index( |