l2/huaxin/huaxin_delegate_postion_manager.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
l2/huaxin/huaxin_delegate_postion_manager.py
@@ -67,11 +67,11 @@ if shadow_place_order_index is None: return None total_datas = l2_data_util.local_today_datas.get(code) start_index = max(shadow_place_order_index - 10, 0) start_index = max(datas[0]["index"], 0) end_index = min(shadow_place_order_index + 10, datas[-1]["index"]) real_place_index = None # 从中间向两头遍历 for i in range(shadow_place_order_index - 1, start_index, -1): for i in range(shadow_place_order_index - 1, start_index - 1, -1): d = total_datas[i] if d["val"]["num"] != volume // 100: continue