diff --git a/src/lib_python_interop/python_interop_plugins/bybit_execution_gateway.py b/src/lib_python_interop/python_interop_plugins/bybit_execution_gateway.py index d54ff4fcb..7fad9c61e 100644 --- a/src/lib_python_interop/python_interop_plugins/bybit_execution_gateway.py +++ b/src/lib_python_interop/python_interop_plugins/bybit_execution_gateway.py @@ -164,6 +164,8 @@ class OrderData: lfp = round(lfp, 7) self.last_filled_price = lfp self.last_filled_quantity = lfq + else: + self.last_filled_quantity = 0 self.filled_quantity = filled_quantity self.avg_filled_price = avg_filled_price match status: