diff --git a/Demonstration.py b/Demonstration.py index 2f55e0d..745a3d4 100644 --- a/Demonstration.py +++ b/Demonstration.py @@ -43,5 +43,5 @@ def OnOrderEvent(self, orderEvent): :param OrderEvent orderEvent: Order event details containing details of the events ''' - if orderEvent.Status == OrderStatus.Fill: - self.Debug(f'Purchased Stock: {orderEvent.Symbol}') \ No newline at end of file + if orderEvent.Status == OrderStatus.Filled: + self.Debug(f'Purchased Stock: {orderEvent.Symbol}')