diff --git a/hftbacktest/proc/proc.py b/hftbacktest/proc/proc.py index 89be699..79f0bfa 100644 --- a/hftbacktest/proc/proc.py +++ b/hftbacktest/proc/proc.py @@ -114,7 +114,7 @@ def process(self, wait_resp): while i < self.orders_from.__len__(): order, recv_timestamp = self.orders_from[i] if self.orders_from.frontmost_timestamp == recv_timestamp: - self.orders_from.__delitem__(i) + self.orders_from.delitem(i) next_timestamp = self._process_recv_order( order,