Skip to content

LiveResultParameters

QuantConnect.Packets.LiveResultParameters

LiveResultParameters(
    charts: IDictionary[str, Chart],
    orders: IDictionary[int, Order],
    profit_loss: IDictionary[datetime, float],
    holdings: IDictionary[str, Holding],
    cash_book: CashBook,
    statistics: IDictionary[str, str],
    runtime_statistics: IDictionary[str, str],
    order_events: List[OrderEvent],
    server_statistics: IDictionary[str, str] = None,
    algorithm_configuration: AlgorithmConfiguration = None,
    state: IDictionary[str, str] = None,
)

Bases: BaseResultParameters

Defines the parameters for LiveResult

Creates a new instance

holdings

holdings: IDictionary[str, Holding]

Holdings dictionary of algorithm holdings information

cash_book

cash_book: CashBook

Cashbook for the algorithm's live results.

server_statistics

server_statistics: IDictionary[str, str]

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

profit_loss

profit_loss: IDictionary[datetime, float]

Trade profit and loss information since the last algorithm result packet

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]

Order events updates since the last 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 information of the algorithm.

algorithm_configuration

algorithm_configuration: AlgorithmConfiguration

The algorithm's configuration required for report generation