Overall Statistics
Total Trades
1
Average Win
0%
Average Loss
0%
Compounding Annual Return
15.849%
Drawdown
9.800%
Expectancy
0
Net Profit
37.381%
Sharpe Ratio
1.114
Loss Rate
0%
Win Rate
0%
Profit-Loss Ratio
0
Alpha
-0.089
Beta
12.331
Annual Standard Deviation
0.14
Annual Variance
0.02
Information Ratio
0.972
Tracking Error
0.14
Treynor Ratio
0.013
Total Fees
$11.36
using QuantConnect.Indicators; 

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

        public override void Initialize()
        {
            SetStartDate(2016, 2, 01);  //Set Start Date
            SetEndDate(2018, 4, 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}");
            }
        }
    }
}