Skip to content

AlgorithmStatusPacket

QuantConnect.Packets.AlgorithmStatusPacket

AlgorithmStatusPacket()
AlgorithmStatusPacket(
    algorithm_id: str,
    project_id: int,
    status: AlgorithmStatus,
    message: str = ...,
)

Bases: Packet

Algorithm status update information packet

Signature descriptions:

  • Default constructor for JSON

  • Initialize algorithm state packet:

status

Current algorithm status

chart_subscription

chart_subscription: str

Chart we're subscribed to for live trading.

message

message: str

Optional message or reason for state change.

algorithm_id

algorithm_id: str

Algorithm Id associated with this status packet

optimization_id

optimization_id: str

OptimizationId for this result packet if any

project_id

project_id: int

Project Id associated with this status packet

channel_status

channel_status: str

The current state of the channel

type

type: PacketType

Packet type defined by a string enum

channel

channel: str

User unique specific channel endpoint to send the packets