Skip to content

SystemDebugPacket

QuantConnect.Packets.SystemDebugPacket

SystemDebugPacket()
SystemDebugPacket(
    project_id: int,
    algorithm_id: str,
    compile_id: str,
    message: str,
    toast: bool = False,
)

Bases: DebugPacket

Debug packets generated by Lean

Signature descriptions:

  • Default constructor for JSON

  • Create a new instance of the system debug packet

type

type: PacketType

Packet type defined by a string enum

channel

channel: str

User unique specific channel endpoint to send the packets

message

message: str

String debug message to send to the users console

algorithm_id

algorithm_id: str

Associated algorithm Id.

compile_id

compile_id: str

Compile id of the algorithm sending this message

project_id

project_id: int

Project Id for this message

toast

toast: bool

True to emit message as a popup notification (toast), false to emit message in console as text