| | |
| | | if watch_index_set: |
| | | cancel_num = 0 |
| | | total_num = 0 |
| | | for index in watch_index_set: |
| | | data = total_data[index] |
| | | for i in watch_index_set: |
| | | if i is None: |
| | | l2_log.h_cancel_debug(code, f"空值:{watch_index_set}") |
| | | continue |
| | | data = total_data[i] |
| | | val = data['val'] |
| | | total_num += val['num'] * data['re'] |
| | | # 判断是否撤单 |
| | | left_count = l2_data_source_util.L2DataSourceUtils.get_limit_up_buy_no_canceled_count_v2(code, index, |
| | | left_count = l2_data_source_util.L2DataSourceUtils.get_limit_up_buy_no_canceled_count_v2(code, i, |
| | | total_data, |
| | | local_today_canceled_buyno_map.get( |
| | | code)) |