def OnOrderEvent(self, orderEvent):
order = self.Transactions.GetOrderById(orderEvent.OrderId)

# Order Type 2: StopMarket
# Order Status 3: Filled
if order.Type is 2 and order.Status is 3:
# This is what I have but it seems these aren't the right numbers?


What numbers should I be using?