using System;
using System.Collections.Generic;
using QuantConnect.Orders;
using QuantConnect.Packets;
namespace QuantConnect
{
///
/// Base class for backtesting and live results that packages result data.
///
///
///
public class Result
{
///
/// Contains population averages scores over the life of the algorithm
///
public AlphaRuntimeStatistics AlphaRuntimeStatistics;
///
/// Charts updates for the live algorithm since the last result packet
///
public IDictionary Charts = new Dictionary();
///
/// Order updates since the last result packet
///
public IDictionary Orders = new Dictionary();
///
/// Trade profit and loss information since the last algorithm result packet
///
public IDictionary ProfitLoss = new Dictionary();
///
/// Statistics information sent during the algorithm operations.
///
/// Intended for update mode -- send updates to the existing statistics in the result GUI. If statistic key does not exist in GUI, create it
public IDictionary Statistics = new Dictionary();
///
/// Runtime banner/updating statistics in the title banner of the live algorithm GUI.
///
public IDictionary RuntimeStatistics = new Dictionary();
}
}