Overall Statistics
namespace QuantConnect 
{   
    public class BasicTemplateAlgorithm : QCAlgorithm
    {
        string[] symbols = new string[]{"VXX"};

        public override void Initialize()
        {
            SetStartDate(2008,6,1);
            foreach(var symbol in symbols)
            {
                AddEquity(symbol, Resolution.Daily);
            }
        }

        public void OnData(TradeBars data) 
        {   
            if(!Portfolio.Invested) SetHoldings(symbols.First(), 1);
        }

        public override void OnEndOfDay()
        {
            foreach(var symbol in symbols)
            {
                Plot(symbol, "EOD Close", Securities[symbol].Price);
            }
        }
    }
}