OrderUpdateEvent
QuantConnect.Orders.OrderUpdateEvent
Bases: Object
Event that fires each time an order is updated in the brokerage side. These are not status changes but mainly price changes, like the stop price of a trailing stop order.
order_id
order_id: int
The order ID.
trailing_stop_price
trailing_stop_price: float
The updated stop price for a TrailingStopOrder
stop_triggered
stop_triggered: bool
Flag indicating whether stop has been triggered for a StopLimitOrder
stop_triggered_time
stop_triggered_time: Optional[datetime]
Time in UTC at which the stop was triggered for a StopLimitOrder, if any
contingency_triggered
contingency_triggered: bool
Flag indicating whether a contingent child order has been triggered, that is, its parent filled and the order was released to the market. See ContingencyLink.triggered
quantity
quantity: Optional[float]
The updated order quantity, if any. Used when the brokerage resizes an order on its side, like for the members of a ContingencyType.ONE_UPDATES_OTHER contingency or the legs of a bracket order