|
Lean
$LEAN_TAG$
|
Live result packet from a lean engine algorithm. More...
Public Member Functions | |
| LiveResultPacket () | |
| Default constructor for JSON Serialization More... | |
| LiveResultPacket (string json) | |
| Compose the packet from a JSON string: More... | |
| LiveResultPacket (LiveNodePacket job, LiveResult results) | |
| Compose Live Result Data Packet - With tradable dates More... | |
Public Member Functions inherited from QuantConnect.Packets.Packet | |
| Packet (PacketType type) | |
| Initialize the base class and setup the packet type. More... | |
Static Public Member Functions | |
| static LiveResultPacket | CreateEmpty (LiveNodePacket job) |
| Creates an empty result packet, useful when the algorithm fails to initialize More... | |
Properties | |
| int | UserId [get, set] |
| User Id sending result packet More... | |
| int | ProjectId [get, set] |
| Project Id of the result packet More... | |
| string | DeployId = string.Empty [get, set] |
| Live Algorithm Id (DeployId) for this result packet More... | |
| LiveResult | Results = new LiveResult() [get, set] |
| Result data object for this result packet More... | |
Properties inherited from QuantConnect.Packets.Packet | |
| PacketType | Type = PacketType.None [get, set] |
| Packet type defined by a string enum More... | |
| virtual string | Channel = "" [get, set] |
| User unique specific channel endpoint to send the packets More... | |
Live result packet from a lean engine algorithm.
Definition at line 30 of file LiveResultPacket.cs.
| QuantConnect.Packets.LiveResultPacket.LiveResultPacket | ( | ) |
Default constructor for JSON Serialization
Definition at line 55 of file LiveResultPacket.cs.
| QuantConnect.Packets.LiveResultPacket.LiveResultPacket | ( | string | json | ) |
Compose the packet from a JSON string:
Definition at line 62 of file LiveResultPacket.cs.
| QuantConnect.Packets.LiveResultPacket.LiveResultPacket | ( | LiveNodePacket | job, |
| LiveResult | results | ||
| ) |
Compose Live Result Data Packet - With tradable dates
| job | Job that started this request |
| results | Results class for the Backtest job |
Definition at line 86 of file LiveResultPacket.cs.
|
static |
Creates an empty result packet, useful when the algorithm fails to initialize
| job | The associated job packet |
Definition at line 107 of file LiveResultPacket.cs.
|
getset |
User Id sending result packet
Definition at line 35 of file LiveResultPacket.cs.
|
getset |
Project Id of the result packet
Definition at line 40 of file LiveResultPacket.cs.
|
getset |
Live Algorithm Id (DeployId) for this result packet
Definition at line 45 of file LiveResultPacket.cs.
|
getset |
Result data object for this result packet
Definition at line 50 of file LiveResultPacket.cs.