Skip to content

Commit

Permalink
Update Demonstration.py (#23)
Browse files Browse the repository at this point in the history
Fix bug
  • Loading branch information
DerekMelchin authored Mar 1, 2024
1 parent 37b7611 commit 362052e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Demonstration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}')
if orderEvent.Status == OrderStatus.Filled:
self.Debug(f'Purchased Stock: {orderEvent.Symbol}')

0 comments on commit 362052e

Please sign in to comment.