Skip to content

OrderEventPacket

QuantConnect.Packets.OrderEventPacket

OrderEventPacket()
OrderEventPacket(
    algorithm_id: str, event_order: OrderEvent
)

Bases: Packet

Order event packet for passing updates on the state of an order to the portfolio.

Signature descriptions:

  • Default constructor for JSON

  • Create a new instance of the order event packet

event

event: OrderEvent

Order event object

algorithm_id

algorithm_id: str

Algorithm id for this order event

type

type: PacketType

Packet type defined by a string enum

channel

channel: str

User unique specific channel endpoint to send the packets