Skip to content

Packet

QuantConnect.Packets.Packet

Packet(type: PacketType)

Bases: Object

Base class for packet messaging system

Initialize the base class and setup the packet type.

Parameters:

Name Type Description Default
type PacketType

PacketType for the class.

required

type

type: PacketType

Packet type defined by a string enum

channel

channel: str

User unique specific channel endpoint to send the packets