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 |
channel
channel: str
User unique specific channel endpoint to send the packets