RuntimeErrorPacket
QuantConnect.Packets.RuntimeErrorPacket
RuntimeErrorPacket()
RuntimeErrorPacket(
user_id: int,
algorithm_id: str,
message: str,
stacktrace: str = ...,
)
Bases: Packet
Algorithm runtime error packet from the lean engine. This is a managed error which stops the algorithm execution.
Signature descriptions:
-
Default constructor for JSON
-
Create a new runtime error packet
message
message: str
Runtime error message from the exception
algorithm_id
algorithm_id: str
Algorithm id which generated this runtime error
stack_trace
stack_trace: str
Error stack trace information string passed through from the Lean exception
user_id
user_id: int
User Id associated with the backtest that threw the error
channel
channel: str
User unique specific channel endpoint to send the packets