Skip to content

LiveResult

QuantConnect.Packets.LiveResult

LiveResult()
LiveResult(parameters: LiveResultParameters)

Bases: Result

Live results object class for packaging live result data.

Signature descriptions:

  • Default Constructor

  • Constructor for the result class for dictionary objects

holdings

holdings: IDictionary[str, Holding]

Holdings dictionary of algorithm holdings information

cash_book

cash_book: CashBook

Cashbook for the algorithm's live results.

cash

cash: Dictionary[str, Cash]

Cash for the algorithm's live results.

account_currency

account_currency: str

The algorithm's account currency

account_currency_symbol

account_currency_symbol: str

The algorithm's account currency

charts

charts: IDictionary[str, Chart]

Charts updates for the live algorithm since the last result packet

orders

orders: IDictionary[int, Order]

Order updates since the last result packet

order_events

order_events: List[OrderEvent]

OrderEvent updates since the last result packet

profit_loss

profit_loss: IDictionary[datetime, float]

Trade profit and loss information since the last algorithm result packet

statistics

statistics: IDictionary[str, str]

Statistics information sent during the algorithm operations.

runtime_statistics

runtime_statistics: IDictionary[str, str]

Runtime banner/updating statistics in the title banner of the live algorithm GUI.

state

state: IDictionary[str, str]

State of the result packet.

server_statistics

server_statistics: IDictionary[str, str]

Server status information, including CPU/RAM usage, ect...

algorithm_configuration

algorithm_configuration: AlgorithmConfiguration

The algorithm's configuration required for report generation