Skip to content

BrokerageOrderIdChangedEvent

QuantConnect.Orders.BrokerageOrderIdChangedEvent

Bases: Object

Event used when the brokerage order id has changed

order_id

order_id: int

The lean order ID.

broker_id

broker_id: List[str]

Brokerage Id for this order

to_string

to_string() -> str

Returns a string that represents the current BrokerageOrderIdChangedEvent.

Returns:

Type Description
str

A string containing the order ID and associated brokerage IDs.