Skip to content

CommandResultPacket

QuantConnect.Commands.CommandResultPacket

CommandResultPacket(
    command: ICommand, success: Optional[bool]
)

Bases: Packet

Contains data held as the result of executing a command

Initializes a new instance of the CommandResultPacket class

command_name

command_name: str

Gets or sets the command that produced this packet

success

success: Optional[bool]

Gets or sets whether or not the

type

type: PacketType

Packet type defined by a string enum

channel

channel: str

User unique specific channel endpoint to send the packets