Overall Statistics
using QuantConnect.Indicators; 

namespace QuantConnect
{
    public class BasicTemplateAlgorithm : QCAlgorithm
    {
    	string _ticker = "TVIX"; 
        private Symbol _symbol;
        private Identity _price; 

        public override void Initialize()
        {
            SetStartDate(2018, 5, 1);  //Set Start Date
            SetEndDate(2018, 8, 1);    //Set End Date
            SetCash(100000);             //Set Strategy Cash

            // _symbol = AddCfd(_ticker, Resolution.Minute, Market.Oanda).Symbol;
            _symbol = AddEquity(_ticker, Resolution.Daily).Symbol;
            _price = Identity(_symbol.Value);
            PlotIndicator($"{_symbol.Value} Price", _price);
        }

        public override void OnData(Slice data)
        {
            if (!Portfolio.Invested)
            {
                SetHoldings(_symbol, 1);
                Log($"Purchased Security {_symbol}");
            }
        }
    }
}