From 362052e769af9704d3997adefde0a96ec606744d Mon Sep 17 00:00:00 2001 From: Derek Melchin <38889814+DerekMelchin@users.noreply.github.com> Date: Fri, 1 Mar 2024 06:48:49 -0700 Subject: [PATCH] Update Demonstration.py (#23) Fix bug --- Demonstration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}')