| | |
| | | raise Exception("未获取到下单真实位置") |
| | | buy_data = buy_order_no_map.get(buy_no) |
| | | if not buy_data: |
| | | raise Exception("尚未获取到撤买单详情数据") |
| | | raise Exception(f"尚未获取到撤买单详情数据: order_no:{buy_no} map数量:{len(buy_order_no_map)}") |
| | | # 从成交位置到下单位置计算m值 |
| | | transaction_index = buy_data["index"] |
| | | need_cancel = True |
| | |
| | | m_val_num = int(m_val / (float(limit_up_price) * 100)) |
| | | |
| | | try: |
| | | need_cancel, msg = self.__GCancelBigNumComputer.start_cancel(code, str(order_no), |
| | | need_cancel, msg = self.__GCancelBigNumComputer.start_cancel(code, f"{order_no}", |
| | | l2_data_util.local_today_datas.get( |
| | | code), |
| | | l2_data_util.local_today_buyno_map.get( |