{
"cells": [
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"# RSI ETF Strategy #\n",
"\n",
"\n",
"The project’s primary objective was to create an ETF portfolio by reconstructing a popular hedge fund strategy and employing the Relative Strength Index (RSI) as the primary buy/sell trigger. Tracking each underlying stock regulated the transfers of capital between stocks and the portfolio itself. After considerations were applied the model was run through real life scenarios resulting in calculated cumulative returns which were compared to ETF returns.\n",
"\n",
"\n",
"#### Considerations ####\n",
"\n",
"- Dividends – The model’s calculations had to adhere to ex dividends, record dates, etc.\n",
"- Reinvestment capital – Cash balance was recalculated daily and applied for subsequent trades.\n",
"- Transaction fees (Adjustable parameter)\n",
"- Management fees (Adjustable parameter) – Percentage of annual portfolio.\n",
"- RSI signals – Based on adjustable parameters.\n",
"- Holdings rebalancing – Novel algorithm that rebalances the weights while shares are being bought/sold \n",
"\n",
"\n",
"#### Assumptions ####\n",
"1. Initial capital $1,000,000\n",
"2. Transaction fee 0.01\n",
"3. RSI parameters:\n",
" * RSI period – 14 days\n",
" * Sell signal – RSI 70\n",
" * Buy signal – RSI 30\n",
" * Order is placed only if RSI remains constant for 2 days.\n",
"4. Management fee – Compare returns with 0%, 0.5% and 1% mgmt fees.\n",
"5. Start date – 07/07/2015\n",
"\n",
"\n",
"#### Limitations ####\n",
"The Yahoo finance API is unable to fetch historical prices of companies that are no longer traded resulting in a stock data deficit of 2%. The start date that maximized the model’s potential was chosen and will be further explored in later sections.\n",
"\n",
"> ##### Updates #####\n",
"XIU Canadian ETF added\n",
"\n",
"\n",
"#### Case Study ####\n",
"Given the assumption that ETF AAA combines the following 3 stocks with respective weights: AAPL: 50%, AMZN: 25%, MSFT, 25%, on Day 1, all capital would be invested in ETF AAA. When the first BUY signal is placed (Assume AAPL had surpassed and remained below the bottom RSI threshold of 30 for a couple of days) the model would SELL 50% of capital invested in AAA and BUY AAPL. The resulting rebalanced portfolio weights would be AMZN: 50%, MSFT: 50%. When presented with a SELL indicator, AAPL is sold and reinvested back into AAA."
]
},
{
"cell_type": "code",
"execution_count": 27,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
" \n",
" "
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"import pandas_datareader.data as web\n",
"import bs4 as bs\n",
"import urllib.request\n",
"import datetime\n",
"import pandas as pd\n",
"import numpy as np\n",
"import time\n",
"import matplotlib.pyplot as plt\n",
"import plotly.graph_objs as go\n",
"%matplotlib inline\n",
"from plotly import __version__\n",
"from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot\n",
"init_notebook_mode(connected=True)\n",
"\n",
"\n",
"index = 'QQQ' #QQQ or XIU\n",
"index2_ticker = '^NDX' # ^NDX or HXT.TO, ^GSPTSE\n",
"initial_capital = float(1000000)\n",
"transaction_fee = 0.01\n",
"RSI_period = 14\n",
"RSI_top = 70\n",
"RSI_bottom = 30\n",
"\n",
"mgmtfeedayno = 15\n",
"mgmtfeemonthno = 12\n",
"mgmtfee = 0.005\n",
"\n",
"start_date = datetime.datetime(2015, 7, 7)\n",
"end_date = datetime.datetime(2019, 4, 18)"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"A list of tickers is generated using index file data taken from\n",
"[Invesco](https://www.invesco.com/portal/site/us/financial-professional/etfs/holdings/?ticker=QQQ)"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"if index == 'QQQ':\n",
" holdings = pd.read_csv('QQQ_Holdings.csv', encoding = \"ISO-8859-1\")\n",
" holdings_tickers = holdings['Issuer Ticker']\n",
" holdings.set_index('Issuer Ticker',inplace = True)\n",
" tickers = holdings_tickers[:].tolist()\n",
" all_tickers = [index] + tickers\n",
" \n",
"elif index == 'XIU':\n",
" holdings = pd.read_csv('XIU_Holdings.csv', na_filter = False)\n",
" xls = pd.ExcelFile('TSX60 DVD.xlsx')\n",
" excel_sheets = pd.read_excel(xls, None)\n",
" ticker_labels = list(excel_sheets.keys())\n",
" ticker_labels.remove('XIU')\n",
" ticker_labels = ticker_labels[:]\n",
" all_ticker_labels = ticker_labels + [index]\n",
"\n",
" def get_XIUtickers(excelfile ,sheet):\n",
" value = pd.read_excel(xls, sheet_name = sheet)['Symbol'][0]\n",
" return value.split(\" \")[0].replace('/','-').upper()\n",
"\n",
" tickers = [get_XIUtickers(xls,num) for num in ticker_labels]\n",
" all_tickers = tickers + [index]\n",
" \n",
"\n",
" holdings_tickers = holdings[holdings['Sector'] != 'Cash and/or Derivatives']['Issuer Ticker']\n",
" holdings.set_index('Issuer Ticker',inplace = True)"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"# Pull all the tickers\n",
"def get(tickers):\n",
" def data(ticker):\n",
" time.sleep(0.5)\n",
" if index == 'QQQ': \n",
" return web.DataReader(ticker, 'yahoo', start_date, end_date)\n",
" elif index == 'XIU':\n",
" return web.DataReader(ticker + '.TO', 'yahoo', start_date, end_date)\n",
" \n",
" datas = map(data,tickers) # apply the function to objects\n",
" return pd.concat(datas, keys = tickers, names = ['Ticker', 'Date'])\n",
"\n",
"#Pull data\n",
"all_data = get(all_tickers)"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"In order to obtain dividends data, a [NASDAQ](https://www.nasdaq.com/symbol/) scraping algorithm was created that per stock, cloned key tables (e.g. Declaration, Record and Payment dates), processed cloned data through pandas dataframe conversion and original dataset merging. This ensured a master dataframe consisting of all dates, prices and technical indicators."
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"#Get index data\n",
"def get_QQQdivdata(tickers):\n",
" # Generate business days from AAPL stock\n",
" bday_data = web.DataReader('AAPL', 'yahoo', start_date, end_date)\n",
" business_days = bday_data.reset_index()[['Date']]\n",
" def data(ticker):\n",
" time.sleep(0.5)\n",
" try: \n",
" sauce = urllib.request.urlopen('https://www.nasdaq.com/symbol/'+ticker+'/dividend-history').read()\n",
" soup = bs.BeautifulSoup(sauce, 'lxml')\n",
" table_html = soup.find(id = 'quotes_content_left_dividendhistoryGrid')\n",
" df = pd.read_html(str(table_html))[0] \n",
" df.loc[:,['Ex/Eff Date' , 'Record Date','Declaration Date', 'Payment Date']] = df.loc[:,['Ex/Eff Date' , 'Record Date','Declaration Date', 'Payment Date']].apply(pd.to_datetime, errors='coerce')\n",
"\n",
" merged = pd.merge(business_days, df, how = 'left', left_on = 'Date', right_on = 'Payment Date')\n",
" except:\n",
" merged = business_days.copy()\n",
" merged['Ex/Eff Date'], merged['Type'], merged['Cash Amount'], merged['Declaration Date'], merged['Record Date'], merged['Payment Date'] = [np.datetime64('NaT'),np.NAN,np.NAN,np.datetime64('NaT'),np.datetime64('NaT'),np.datetime64('NaT')]\n",
"\n",
" del merged['Payment Date']\n",
" merged.set_index('Date', inplace = True)\n",
" return merged \n",
" datas = map(data,tickers) # apply the function to objects\n",
" return(pd.concat(datas, keys = tickers, names = ['Ticker', 'Date']))\n",
"\n",
"\n",
"def get_XIUdivdata(sheet_names):\n",
" bday_data = web.DataReader('TD.TO', 'yahoo', start_date, end_date)\n",
" business_days = bday_data.reset_index()[['Date']]\n",
" \n",
" def data(sheet):\n",
" data = pd.read_excel(xls, sheet_name = sheet).iloc[:,2:9]\n",
" data = data[(data['Type'] == 'Regular Cash')|(data['Type'] == 'Special Cash')|(data['Type'] == 'Stock Dividend')]\n",
" data.dropna(subset=['Ex Date', 'Payable', 'Amount'], inplace = True)\n",
" return pd.merge(business_days, data, how = 'left', left_on = 'Date', right_on = 'Payable')\n",
"\n",
" data = map(data, sheet_names) # Includes XIU\n",
" my_data = pd.concat(data, keys = all_tickers)\n",
" my_data.reset_index(inplace= True)\n",
" del my_data['Freq'], my_data['Type'], my_data['level_1'], my_data['Payable']\n",
" my_data['Type'] = 'Cash'\n",
" my_data.rename(index=str, columns={'level_0':'Ticker', 'Ex Date':'Ex/Eff Date','Amount':'Cash Amount','Declaration':'Declaration Date', 'Record':'Record Date'}, inplace = True)\n",
" return my_data.set_index(['Ticker', 'Date'])\n",
"\n",
"#Pull data\n",
"if index == 'QQQ':\n",
" div_data_withduplicates = get_QQQdivdata(all_tickers)\n",
"elif index == 'XIU':\n",
" div_data_withduplicates = get_XIUdivdata(all_ticker_labels)"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"
\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" AAL | \n",
" AAPL | \n",
" ADBE | \n",
" ADI | \n",
" ADP | \n",
" ADSK | \n",
" ALGN | \n",
" ALXN | \n",
" AMAT | \n",
" AMD | \n",
" ... | \n",
" VRSK_EXDATE | \n",
" VRSN_EXDATE | \n",
" VRTX_EXDATE | \n",
" WBA_EXDATE | \n",
" WDAY_EXDATE | \n",
" WDC_EXDATE | \n",
" WLTW_EXDATE | \n",
" WYNN_EXDATE | \n",
" XEL_EXDATE | \n",
" XLNX_EXDATE | \n",
"
\n",
" \n",
" | Date | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
"
\n",
" \n",
" \n",
" \n",
" | 2019-04-17 | \n",
" 34.380001 | \n",
" 203.130005 | \n",
" 269.450012 | \n",
" 114.400002 | \n",
" 162.850006 | \n",
" 168.029999 | \n",
" 273.679993 | \n",
" 125.910004 | \n",
" 43.889999 | \n",
" 27.49 | \n",
" ... | \n",
" NaT | \n",
" NaT | \n",
" NaT | \n",
" NaT | \n",
" NaT | \n",
" NaT | \n",
" NaT | \n",
" NaT | \n",
" NaT | \n",
" NaT | \n",
"
\n",
" \n",
" | 2019-04-18 | \n",
" 34.369999 | \n",
" 203.860001 | \n",
" 270.570007 | \n",
" 114.790001 | \n",
" 162.440002 | \n",
" 169.199997 | \n",
" 281.489990 | \n",
" 126.010002 | \n",
" 43.950001 | \n",
" 27.68 | \n",
" ... | \n",
" NaT | \n",
" NaT | \n",
" NaT | \n",
" NaT | \n",
" NaT | \n",
" NaT | \n",
" NaT | \n",
" NaT | \n",
" NaT | \n",
" NaT | \n",
"
\n",
" \n",
"
\n",
"
2 rows × 315 columns
\n",
"
"
],
"text/plain": [
" AAL AAPL ADBE ADI ADP \\\n",
"Date \n",
"2019-04-17 34.380001 203.130005 269.450012 114.400002 162.850006 \n",
"2019-04-18 34.369999 203.860001 270.570007 114.790001 162.440002 \n",
"\n",
" ADSK ALGN ALXN AMAT AMD ... \\\n",
"Date ... \n",
"2019-04-17 168.029999 273.679993 125.910004 43.889999 27.49 ... \n",
"2019-04-18 169.199997 281.489990 126.010002 43.950001 27.68 ... \n",
"\n",
" VRSK_EXDATE VRSN_EXDATE VRTX_EXDATE WBA_EXDATE WDAY_EXDATE \\\n",
"Date \n",
"2019-04-17 NaT NaT NaT NaT NaT \n",
"2019-04-18 NaT NaT NaT NaT NaT \n",
"\n",
" WDC_EXDATE WLTW_EXDATE WYNN_EXDATE XEL_EXDATE XLNX_EXDATE \n",
"Date \n",
"2019-04-17 NaT NaT NaT NaT NaT \n",
"2019-04-18 NaT NaT NaT NaT NaT \n",
"\n",
"[2 rows x 315 columns]"
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"#Prepare stock prices\n",
"pivot_nodiv = all_data['Close'].reset_index().pivot('Date', 'Ticker', 'Close')\n",
"\n",
"#Take a sum of divs if happens in one day, take first day as ex date\n",
"div_data_noduplicates = div_data_withduplicates.reset_index().drop_duplicates(['Ticker', 'Date'])\n",
"div_data_noduplicates.set_index(['Ticker', 'Date'], inplace = True)\n",
"del div_data_noduplicates['Cash Amount']\n",
"div_data_cashonly = div_data_withduplicates.groupby(['Ticker','Date']).sum()\n",
"div_data = pd.merge(div_data_cashonly, div_data_noduplicates, how='left', left_index = True, right_index= True)\n",
"\n",
"#Prepare stock divs and ex dates\n",
"pivot_div = div_data['Cash Amount'].reset_index().pivot('Date', 'Ticker', 'Cash Amount')\n",
"pivot_div.columns = [ticker + '_DIV' for ticker in pivot_div.columns.tolist()]\n",
"pivot_exdate = div_data['Ex/Eff Date'].reset_index().pivot('Date', 'Ticker', 'Ex/Eff Date')\n",
"pivot_exdate.columns = [ticker + '_EXDATE' for ticker in pivot_exdate.columns.tolist()]\n",
"\n",
"#Concat stock prices, divs, ex dates\n",
"pivot_data = pd.concat((pivot_nodiv,pivot_div, pivot_exdate), axis=1)\n",
"\n",
"#Fill any gaps with the last filled date\n",
"pivot_data.iloc[:,0:len(all_tickers)] = pivot_data.iloc[:,0:len(all_tickers)].fillna(method='ffill')\n",
"pivot_data.tail(2)"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"The following established formulas for RSI calculation were employed.\n",
"\n",
"$$ RSI_\\text{step one} = 100 - \\Bigg[ \\frac{100}{1+\\frac{\\text{Average gain}}{\\text{Average loss}}} \\Bigg] $$\n",
"\n",
"$$ RSI_\\text{step two} = 100 - \\Bigg[ \\frac{100}{1+\\frac{\\text{Previous average gain}*13+\\text{Current gain}}{\\text{Previous average loss}*13+\\text{Current loss}}} \\Bigg] $$"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
"def RSI(series, period):\n",
" \n",
" delta = series.diff().dropna()\n",
" ups = delta * 0\n",
" downs = ups.copy()\n",
" ups[delta > 0] = delta[delta > 0]\n",
" downs[delta < 0] = -delta[delta < 0]\n",
" ups[ups.index[period-1]] = np.mean( ups[:period] ) #first value is sum of avg gains\n",
" ups = ups.drop(ups.index[:(period-1)])\n",
" downs[downs.index[period-1]] = np.mean( downs[:period] ) #first value is sum of avg losses\n",
" downs = downs.drop(downs.index[:(period-1)])\n",
" rs = ups.ewm(com=period-1,min_periods=0,adjust=False,ignore_na=False).mean() / \\\n",
" downs.ewm(com=period-1,min_periods=0,adjust=False,ignore_na=False).mean() \n",
" return 100 - 100 / (1 + rs)\n",
"\n",
"\n",
"def RSI_signals(series, RSI_top, RSI_bottom):\n",
" \n",
" result = series*0 \n",
" result[(series.shift(2)=RSI_bottom)] = 1\n",
" result[(series.shift(2)>RSI_top)&(series.shift(1)>RSI_top)&(series<=RSI_top)] = -1\n",
" \n",
" result.replace(0,np.NaN,inplace=True)\n",
" result.fillna(method='ffill',inplace=True)\n",
"\n",
" final_result = result.copy() * 0\n",
" final_result[result.shift(1) != result] = result\n",
" \n",
" #remove first -1\n",
" if final_result.abs().sum() > 0: \n",
" if final_result[final_result.first_valid_index()] == -1:\n",
" final_result[final_result.first_valid_index()] = np.NaN\n",
" \n",
" return final_result\n",
"\n",
"\n",
"for stock_name in tickers:\n",
" pivot_data[stock_name + '_RSI'] = RSI(pivot_data[stock_name], RSI_period)\n",
" pivot_data[stock_name + '_RSI_signals'] = RSI_signals(pivot_data[stock_name + '_RSI'], RSI_top = RSI_top, RSI_bottom = RSI_bottom)"
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" AAL | \n",
" AAPL | \n",
" ADBE | \n",
" ADI | \n",
" ADP | \n",
" ADSK | \n",
" ALGN | \n",
" ALXN | \n",
" AMAT | \n",
" AMD | \n",
" ... | \n",
" SNPS_QTY | \n",
" MXIM_QTY | \n",
" SWKS_QTY | \n",
" WDC_QTY | \n",
" SYMC_QTY | \n",
" ASML_QTY | \n",
" CTXS_QTY | \n",
" XEL_QTY | \n",
" Cash | \n",
" Holdings | \n",
"
\n",
" \n",
" | Date | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
"
\n",
" \n",
" \n",
" \n",
" | 2015-07-07 | \n",
" 40.669998 | \n",
" 125.690002 | \n",
" 80.589996 | \n",
" 63.380001 | \n",
" 81.070000 | \n",
" 53.290001 | \n",
" 63.500000 | \n",
" 187.330002 | \n",
" 19.170000 | \n",
" 2.09 | \n",
" ... | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" | 2015-07-08 | \n",
" 39.310001 | \n",
" 122.570000 | \n",
" 79.989998 | \n",
" 61.939999 | \n",
" 80.029999 | \n",
" 52.480000 | \n",
" 62.740002 | \n",
" 184.660004 | \n",
" 18.549999 | \n",
" 2.01 | \n",
" ... | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
"
\n",
"
2 rows × 736 columns
\n",
"
"
],
"text/plain": [
" AAL AAPL ADBE ADI ADP ADSK \\\n",
"Date \n",
"2015-07-07 40.669998 125.690002 80.589996 63.380001 81.070000 53.290001 \n",
"2015-07-08 39.310001 122.570000 79.989998 61.939999 80.029999 52.480000 \n",
"\n",
" ALGN ALXN AMAT AMD ... SNPS_QTY MXIM_QTY \\\n",
"Date ... \n",
"2015-07-07 63.500000 187.330002 19.170000 2.09 ... 0 0 \n",
"2015-07-08 62.740002 184.660004 18.549999 2.01 ... 0 0 \n",
"\n",
" SWKS_QTY WDC_QTY SYMC_QTY ASML_QTY CTXS_QTY XEL_QTY Cash \\\n",
"Date \n",
"2015-07-07 0 0 0 0 0 0 0 \n",
"2015-07-08 0 0 0 0 0 0 0 \n",
"\n",
" Holdings \n",
"Date \n",
"2015-07-07 0 \n",
"2015-07-08 0 \n",
"\n",
"[2 rows x 736 columns]"
]
},
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# Add weights from csv file\n",
"piv0 = holdings.loc[tickers][['Weight (%)']]\n",
"piv0.reset_index().pivot('Weight (%)', 'Issuer Ticker')\n",
"\n",
"piv1 = piv0.transpose()\n",
"for ticker in tickers:\n",
" piv1.rename(columns = {ticker:ticker + ' weight'},inplace=True)\n",
"\n",
"piv1.reset_index(inplace = True)\n",
"piv1.drop(columns = 'index', inplace= True)\n",
"\n",
"piv1['join'] = 0 #Add any column for the cross join\n",
"result = pivot_data.reset_index()\n",
"result['join'] = 0\n",
"\n",
"result = pd.merge(result,piv1,on=['join'])\n",
"del result['join']\n",
"result.set_index('Date', inplace = True)\n",
"\n",
"## Add empty columns QTY, Cash, Holdings\n",
"result['W_COEFF'] = 0\n",
"result['Mgmt Fee'] = 0\n",
"for stock_name in all_tickers:\n",
" result[stock_name + '_QTY'] = 0\n",
"\n",
"result['Cash'] = 0\n",
"result['Holdings'] = 0\n",
"\n",
"# Add mgmt fee dates\n",
"for feeyear in list(range(start_date.year, end_date.year+1)):\n",
" try: \n",
" monthselection = result.loc[(result.index.year == feeyear)&(result.index.month == mgmtfeemonthno)].index[mgmtfeedayno]\n",
" result.loc[monthselection, 'Mgmt Fee'] = 1\n",
" except: 0\n",
"\n",
"\n",
"result.to_excel('raw_data.xlsx')\n",
"result.head(2)"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"The final calculation block: takes a top down approach and calculates cash, dividends among other attributes daily. Portfolio weight rebalancing was processed using the Weight Coefficient (WCoeff).\n",
"\n",
"$$Wcoef_1 =\\frac{Wcoef_0}{ 1 \\pm weight} $$\n",
"\n",
"Assume AAPL: 50%, AMZN: 25%, MSFT, 25%. With AAPL sold first, it results in Wcoef = 1/(1-0.5) = 2. AMZN and MSFT receive 2 * 25% = 50% of the portfolio each.\n",
"\n",
"> Only dividends are considered if we had stocks available at Ex dividend day.\n"
]
},
{
"cell_type": "code",
"execution_count": 28,
"metadata": {
"scrolled": false
},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" index | \n",
" AAL | \n",
" AAPL | \n",
" ADBE | \n",
" ADI | \n",
" ADP | \n",
" ADSK | \n",
" ALGN | \n",
" ALXN | \n",
" AMAT | \n",
" ... | \n",
" SNPS_QTY | \n",
" MXIM_QTY | \n",
" SWKS_QTY | \n",
" WDC_QTY | \n",
" SYMC_QTY | \n",
" ASML_QTY | \n",
" CTXS_QTY | \n",
" XEL_QTY | \n",
" Cash | \n",
" Holdings | \n",
"
\n",
" \n",
" | Date | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
" | \n",
"
\n",
" \n",
" \n",
" \n",
" | 2019-04-12 | \n",
" 949 | \n",
" 34.689999 | \n",
" 198.869995 | \n",
" 271.859985 | \n",
" 114.209999 | \n",
" 163.309998 | \n",
" 171.869995 | \n",
" 293.079987 | \n",
" 136.199997 | \n",
" 42.990002 | \n",
" ... | \n",
" 0 | \n",
" 58 | \n",
" 32 | \n",
" 40 | \n",
" 0 | \n",
" 0 | \n",
" 22 | \n",
" 0 | \n",
" 127.193066 | \n",
" 1.911713e+06 | \n",
"
\n",
" \n",
" | 2019-04-15 | \n",
" 950 | \n",
" 33.750000 | \n",
" 199.229996 | \n",
" 272.220001 | \n",
" 112.940002 | \n",
" 163.679993 | \n",
" 172.770004 | \n",
" 292.549988 | \n",
" 137.490005 | \n",
" 42.709999 | \n",
" ... | \n",
" 0 | \n",
" 58 | \n",
" 32 | \n",
" 40 | \n",
" 0 | \n",
" 0 | \n",
" 22 | \n",
" 0 | \n",
" 147.193066 | \n",
" 1.911691e+06 | \n",
"
\n",
" \n",
" | 2019-04-16 | \n",
" 951 | \n",
" 34.029999 | \n",
" 199.250000 | \n",
" 271.429993 | \n",
" 114.599998 | \n",
" 162.139999 | \n",
" 172.669998 | \n",
" 288.380005 | \n",
" 136.940002 | \n",
" 43.720001 | \n",
" ... | \n",
" 0 | \n",
" 58 | \n",
" 32 | \n",
" 40 | \n",
" 0 | \n",
" 0 | \n",
" 22 | \n",
" 0 | \n",
" 147.193066 | \n",
" 1.917512e+06 | \n",
"
\n",
" \n",
" | 2019-04-17 | \n",
" 952 | \n",
" 34.380001 | \n",
" 203.130005 | \n",
" 269.450012 | \n",
" 114.400002 | \n",
" 162.850006 | \n",
" 168.029999 | \n",
" 273.679993 | \n",
" 125.910004 | \n",
" 43.889999 | \n",
" ... | \n",
" 0 | \n",
" 58 | \n",
" 32 | \n",
" 40 | \n",
" 0 | \n",
" 0 | \n",
" 22 | \n",
" 0 | \n",
" 147.193066 | \n",
" 1.922750e+06 | \n",
"
\n",
" \n",
" | 2019-04-18 | \n",
" 953 | \n",
" 34.369999 | \n",
" 203.860001 | \n",
" 270.570007 | \n",
" 114.790001 | \n",
" 162.440002 | \n",
" 169.199997 | \n",
" 281.489990 | \n",
" 126.010002 | \n",
" 43.950001 | \n",
" ... | \n",
" 0 | \n",
" 58 | \n",
" 32 | \n",
" 40 | \n",
" 0 | \n",
" 0 | \n",
" 22 | \n",
" 0 | \n",
" 147.193066 | \n",
" 1.925034e+06 | \n",
"
\n",
" \n",
"
\n",
"
5 rows × 737 columns
\n",
"
"
],
"text/plain": [
" index AAL AAPL ADBE ADI ADP \\\n",
"Date \n",
"2019-04-12 949 34.689999 198.869995 271.859985 114.209999 163.309998 \n",
"2019-04-15 950 33.750000 199.229996 272.220001 112.940002 163.679993 \n",
"2019-04-16 951 34.029999 199.250000 271.429993 114.599998 162.139999 \n",
"2019-04-17 952 34.380001 203.130005 269.450012 114.400002 162.850006 \n",
"2019-04-18 953 34.369999 203.860001 270.570007 114.790001 162.440002 \n",
"\n",
" ADSK ALGN ALXN AMAT ... SNPS_QTY \\\n",
"Date ... \n",
"2019-04-12 171.869995 293.079987 136.199997 42.990002 ... 0 \n",
"2019-04-15 172.770004 292.549988 137.490005 42.709999 ... 0 \n",
"2019-04-16 172.669998 288.380005 136.940002 43.720001 ... 0 \n",
"2019-04-17 168.029999 273.679993 125.910004 43.889999 ... 0 \n",
"2019-04-18 169.199997 281.489990 126.010002 43.950001 ... 0 \n",
"\n",
" MXIM_QTY SWKS_QTY WDC_QTY SYMC_QTY ASML_QTY CTXS_QTY \\\n",
"Date \n",
"2019-04-12 58 32 40 0 0 22 \n",
"2019-04-15 58 32 40 0 0 22 \n",
"2019-04-16 58 32 40 0 0 22 \n",
"2019-04-17 58 32 40 0 0 22 \n",
"2019-04-18 58 32 40 0 0 22 \n",
"\n",
" XEL_QTY Cash Holdings \n",
"Date \n",
"2019-04-12 0 127.193066 1.911713e+06 \n",
"2019-04-15 0 147.193066 1.911691e+06 \n",
"2019-04-16 0 147.193066 1.917512e+06 \n",
"2019-04-17 0 147.193066 1.922750e+06 \n",
"2019-04-18 0 147.193066 1.925034e+06 \n",
"\n",
"[5 rows x 737 columns]"
]
},
"execution_count": 28,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"result = pd.read_excel('raw_data.xlsx')\n",
"df = result.copy().reset_index()\n",
"df.fillna(0,inplace=True)\n",
"\n",
"for i, data in df.iterrows():\n",
"\n",
" IIndQty = divmod(initial_capital,result[index][0]+transaction_fee)[0] \n",
" \n",
" stock_holdings = 0\n",
" WCoeff = 1\n",
" \n",
" if i == 0:\n",
" WCoeff = 1\n",
" df.loc[i,index+'_QTY'] = IIndQty\n",
" df.loc[i,'Cash'] = initial_capital - (df.loc[i,index]+transaction_fee) * IIndQty\n",
" df.loc[i,'Holdings'] = IIndQty * df.loc[i,index] + df.loc[i,'Cash']\n",
" for ticker in tickers:\n",
" if df[ticker+'_RSI_signals'][i] == 1:\n",
" WCoeff = WCoeff / (1-df.loc[i, ticker + ' weight']/100)\n",
" df.loc[i,'W_COEFF'] = WCoeff\n",
" \n",
" else:\n",
" \n",
" WCoeff = df.loc[i-1,'W_COEFF']\n",
" Cash = df.loc[i-1, 'Cash'] #define prev cash\n",
" IndQtyUpdtd = df.loc[i-1, index + '_QTY']\n",
" IndQtyChanges = 0\n",
" mgmtfeeIndqty = 0\n",
" \n",
" for ticker in tickers:\n",
" #Get Stock Quantity on a Exdiv day\n",
" try: ex_qtty = df.loc[df[df['Date'] == df.loc[i,ticker + '_EXDATE']].index[0],ticker + '_QTY']\n",
" except: ex_qtty = 0 \n",
" \n",
" \n",
" if abs(df[ticker+'_RSI_signals'][i]) != 1:\n",
" df.loc[i, ticker + '_QTY'] = df.loc[i-1, ticker + '_QTY'] #stock qty if 0\n",
" Cash = Cash + (ex_qtty * df.loc[i, ticker + '_DIV'])\n",
" \n",
" \n",
" elif df[ticker+'_RSI_signals'][i] == 1:\n",
"\n",
" ThisIndQtyChanges = int(WCoeff * df.loc[i, ticker + ' weight']/100 * IndQtyUpdtd)\n",
" IndQtyUpdtd = IndQtyUpdtd - ThisIndQtyChanges #updated index qty\n",
" IndQtyChanges = IndQtyChanges + ThisIndQtyChanges #all index qty changes\n",
" df.loc[i, ticker + '_QTY'] = int((Cash + ThisIndQtyChanges * (df.loc[i, index]-transaction_fee))/(df.loc[i, ticker]+transaction_fee))\n",
" Cash = (Cash + ThisIndQtyChanges * (df.loc[i, index]-transaction_fee)) - (df.loc[i, ticker + '_QTY'] * (df.loc[i, ticker]+transaction_fee)) + (ex_qtty * df.loc[i, ticker + '_DIV'])\n",
" \n",
" WCoeff = WCoeff / (1-df.loc[i, ticker + ' weight']/100)\n",
"\n",
" \n",
" else: #if signal == -1\n",
" ThisIndQtyChanges = int((Cash + df.loc[i-1, ticker + '_QTY'] * (df.loc[i, ticker]-transaction_fee))/(df.loc[i, index]+transaction_fee))\n",
" IndQtyUpdtd = IndQtyUpdtd + ThisIndQtyChanges\n",
" IndQtyChanges = IndQtyChanges - ThisIndQtyChanges\n",
" Cash = (Cash + df.loc[i-1, ticker + '_QTY'] * (df.loc[i, ticker]-transaction_fee)) - (ThisIndQtyChanges * (df.loc[i, index]+transaction_fee)) + (ex_qtty * df.loc[i, ticker + '_DIV'])\n",
" \n",
" WCoeff = WCoeff * (1-df.loc[i, ticker + ' weight']/100)\n",
" \n",
" #Add final WCoeff\n",
" df.loc[i,'W_COEFF'] = WCoeff\n",
" #Get Index Quantity on a Exdiv day\n",
" try: ex_ind_qtty = df.loc[df[df['Date'] == df.loc[i,index + '_EXDATE']].index[0],index + '_QTY']\n",
" except: ex_ind_qtty = 0 \n",
" \n",
" mgmtfeeIndqty = df.loc[i,'Mgmt Fee'] * int(df.loc[i-1, 'Holdings'] * mgmtfee / df.loc[i,index])\n",
" \n",
" df.loc[i, index + '_QTY'] = df.loc[i-1, index + '_QTY'] - IndQtyChanges - mgmtfeeIndqty #index Qtty\n",
" df.loc[i, 'Cash'] = Cash + (ex_ind_qtty * df.loc[i, index + '_DIV']) #() is index divs\n",
" \n",
" for ticker in tickers: # holdings\n",
" stock_holdings = stock_holdings + df.loc[i, ticker + '_QTY'] * df.loc[i, ticker] #holdings \n",
" df.loc[i, 'Holdings'] = stock_holdings + df.loc[i,index+'_QTY'] * df.loc[i,index] + df.loc[i,'Cash']\n",
"\n",
"\n",
"df.set_index('Date', inplace=True)\n",
"df.to_excel('Portfolio.xlsx')\n",
"df.tail()"
]
},
{
"cell_type": "code",
"execution_count": 29,
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"df = pd.read_excel('Portfolio.xlsx')\n",
"df.set_index('Date', inplace = True)\n",
"\n",
"def get_returns(DF, column_name_for_prices, column_name_for_divs = False): \n",
" if column_name_for_divs == False:\n",
" DF['Daily returns'] = DF[column_name_for_prices] / DF[column_name_for_prices].shift(1) - 1 \n",
" else:\n",
" DF['Daily returns'] = (DF[column_name_for_prices]+DF[column_name_for_divs]) / DF[column_name_for_prices].shift(1) - 1\n",
" DF.fillna(0,inplace = True)\n",
" DF['Cumulative returns'] = (1 + DF['Daily returns']).cumprod() - 1\n",
" \n",
" \n",
"get_returns(df,'Holdings')"
]
},
{
"cell_type": "code",
"execution_count": 30,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" Portfolio Cum returns | \n",
" Index Cum returns | \n",
"
\n",
" \n",
" | Date | \n",
" | \n",
" | \n",
"
\n",
" \n",
" \n",
" \n",
" | 2019-04-12 | \n",
" 0.911890 | \n",
" 0.784189 | \n",
"
\n",
" \n",
" | 2019-04-15 | \n",
" 0.911868 | \n",
" 0.784477 | \n",
"
\n",
" \n",
" | 2019-04-16 | \n",
" 0.917689 | \n",
" 0.790622 | \n",
"
\n",
" \n",
" | 2019-04-17 | \n",
" 0.922928 | \n",
" 0.796862 | \n",
"
\n",
" \n",
" | 2019-04-18 | \n",
" 0.925213 | \n",
" 0.799167 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" Portfolio Cum returns Index Cum returns\n",
"Date \n",
"2019-04-12 0.911890 0.784189\n",
"2019-04-15 0.911868 0.784477\n",
"2019-04-16 0.917689 0.790622\n",
"2019-04-17 0.922928 0.796862\n",
"2019-04-18 0.925213 0.799167"
]
},
"execution_count": 30,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# Select returns of the portfolio and add returns of the index\n",
"\n",
"df_ind = df[[index, index + '_DIV']].reset_index()\n",
"get_returns(df_ind, index, index + '_DIV')\n",
"df_ind.set_index('Date', inplace = True)\n",
"\n",
"df1 = df_ind[['Cumulative returns']]\n",
"df1.columns = ['Index Cum returns']\n",
"\n",
"df2 = df[['Cumulative returns']]\n",
"df2.columns = ['Portfolio Cum returns']\n",
"\n",
"df_allreturns = pd.concat((df2,df1), axis=1)\n",
"df_allreturns\n",
"df_allreturns.tail()"
]
},
{
"cell_type": "code",
"execution_count": 31,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" ^NDX | \n",
" Daily returns | \n",
" Cumulative returns | \n",
"
\n",
" \n",
" | Date | \n",
" | \n",
" | \n",
" | \n",
"
\n",
" \n",
" \n",
" \n",
" | 2019-04-12 | \n",
" 7628.149902 | \n",
" 0.004379 | \n",
" 0.722295 | \n",
"
\n",
" \n",
" | 2019-04-15 | \n",
" 7629.120117 | \n",
" 0.000127 | \n",
" 0.722514 | \n",
"
\n",
" \n",
" | 2019-04-16 | \n",
" 7654.729980 | \n",
" 0.003357 | \n",
" 0.728297 | \n",
"
\n",
" \n",
" | 2019-04-17 | \n",
" 7680.720215 | \n",
" 0.003395 | \n",
" 0.734165 | \n",
"
\n",
" \n",
" | 2019-04-18 | \n",
" 7689.720215 | \n",
" 0.001172 | \n",
" 0.736197 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" ^NDX Daily returns Cumulative returns\n",
"Date \n",
"2019-04-12 7628.149902 0.004379 0.722295\n",
"2019-04-15 7629.120117 0.000127 0.722514\n",
"2019-04-16 7654.729980 0.003357 0.728297\n",
"2019-04-17 7680.720215 0.003395 0.734165\n",
"2019-04-18 7689.720215 0.001172 0.736197"
]
},
"execution_count": 31,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# Add second index's returns\n",
"\n",
"index2 = web.DataReader(index2_ticker, 'yahoo', start_date, end_date)[['Close']]\n",
"index2.columns = [index2_ticker]\n",
"\n",
"get_returns(index2, index2_ticker)\n",
"index2.tail()"
]
},
{
"cell_type": "code",
"execution_count": 32,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"linkText": "Export to plot.ly",
"plotlyServerURL": "https://plot.ly",
"responsive": true,
"showLink": false
},
"data": [
{
"name": "Portfolio Returns",
"type": "scatter",
"uid": "0571dd1e-03db-4247-9d44-9ccdd0df0752",
"x": [
"2015-07-07",
"2015-07-08",
"2015-07-09",
"2015-07-10",
"2015-07-13",
"2015-07-14",
"2015-07-15",
"2015-07-16",
"2015-07-17",
"2015-07-20",
"2015-07-21",
"2015-07-22",
"2015-07-23",
"2015-07-24",
"2015-07-27",
"2015-07-28",
"2015-07-29",
"2015-07-30",
"2015-07-31",
"2015-08-03",
"2015-08-04",
"2015-08-05",
"2015-08-06",
"2015-08-07",
"2015-08-10",
"2015-08-11",
"2015-08-12",
"2015-08-13",
"2015-08-14",
"2015-08-17",
"2015-08-18",
"2015-08-19",
"2015-08-20",
"2015-08-21",
"2015-08-24",
"2015-08-25",
"2015-08-26",
"2015-08-27",
"2015-08-28",
"2015-08-31",
"2015-09-01",
"2015-09-02",
"2015-09-03",
"2015-09-04",
"2015-09-08",
"2015-09-09",
"2015-09-10",
"2015-09-11",
"2015-09-14",
"2015-09-15",
"2015-09-16",
"2015-09-17",
"2015-09-18",
"2015-09-21",
"2015-09-22",
"2015-09-23",
"2015-09-24",
"2015-09-25",
"2015-09-28",
"2015-09-29",
"2015-09-30",
"2015-10-01",
"2015-10-02",
"2015-10-05",
"2015-10-06",
"2015-10-07",
"2015-10-08",
"2015-10-09",
"2015-10-12",
"2015-10-13",
"2015-10-14",
"2015-10-15",
"2015-10-16",
"2015-10-19",
"2015-10-20",
"2015-10-21",
"2015-10-22",
"2015-10-23",
"2015-10-26",
"2015-10-27",
"2015-10-28",
"2015-10-29",
"2015-10-30",
"2015-11-02",
"2015-11-03",
"2015-11-04",
"2015-11-05",
"2015-11-06",
"2015-11-09",
"2015-11-10",
"2015-11-11",
"2015-11-12",
"2015-11-13",
"2015-11-16",
"2015-11-17",
"2015-11-18",
"2015-11-19",
"2015-11-20",
"2015-11-23",
"2015-11-24",
"2015-11-25",
"2015-11-27",
"2015-11-30",
"2015-12-01",
"2015-12-02",
"2015-12-03",
"2015-12-04",
"2015-12-07",
"2015-12-08",
"2015-12-09",
"2015-12-10",
"2015-12-11",
"2015-12-14",
"2015-12-15",
"2015-12-16",
"2015-12-17",
"2015-12-18",
"2015-12-21",
"2015-12-22",
"2015-12-23",
"2015-12-24",
"2015-12-28",
"2015-12-29",
"2015-12-30",
"2015-12-31",
"2016-01-04",
"2016-01-05",
"2016-01-06",
"2016-01-07",
"2016-01-08",
"2016-01-11",
"2016-01-12",
"2016-01-13",
"2016-01-14",
"2016-01-15",
"2016-01-19",
"2016-01-20",
"2016-01-21",
"2016-01-22",
"2016-01-25",
"2016-01-26",
"2016-01-27",
"2016-01-28",
"2016-01-29",
"2016-02-01",
"2016-02-02",
"2016-02-03",
"2016-02-04",
"2016-02-05",
"2016-02-08",
"2016-02-09",
"2016-02-10",
"2016-02-11",
"2016-02-12",
"2016-02-16",
"2016-02-17",
"2016-02-18",
"2016-02-19",
"2016-02-22",
"2016-02-23",
"2016-02-24",
"2016-02-25",
"2016-02-26",
"2016-02-29",
"2016-03-01",
"2016-03-02",
"2016-03-03",
"2016-03-04",
"2016-03-07",
"2016-03-08",
"2016-03-09",
"2016-03-10",
"2016-03-11",
"2016-03-14",
"2016-03-15",
"2016-03-16",
"2016-03-17",
"2016-03-18",
"2016-03-21",
"2016-03-22",
"2016-03-23",
"2016-03-24",
"2016-03-28",
"2016-03-29",
"2016-03-30",
"2016-03-31",
"2016-04-01",
"2016-04-04",
"2016-04-05",
"2016-04-06",
"2016-04-07",
"2016-04-08",
"2016-04-11",
"2016-04-12",
"2016-04-13",
"2016-04-14",
"2016-04-15",
"2016-04-18",
"2016-04-19",
"2016-04-20",
"2016-04-21",
"2016-04-22",
"2016-04-25",
"2016-04-26",
"2016-04-27",
"2016-04-28",
"2016-04-29",
"2016-05-02",
"2016-05-03",
"2016-05-04",
"2016-05-05",
"2016-05-06",
"2016-05-09",
"2016-05-10",
"2016-05-11",
"2016-05-12",
"2016-05-13",
"2016-05-16",
"2016-05-17",
"2016-05-18",
"2016-05-19",
"2016-05-20",
"2016-05-23",
"2016-05-24",
"2016-05-25",
"2016-05-26",
"2016-05-27",
"2016-05-31",
"2016-06-01",
"2016-06-02",
"2016-06-03",
"2016-06-06",
"2016-06-07",
"2016-06-08",
"2016-06-09",
"2016-06-10",
"2016-06-13",
"2016-06-14",
"2016-06-15",
"2016-06-16",
"2016-06-17",
"2016-06-20",
"2016-06-21",
"2016-06-22",
"2016-06-23",
"2016-06-24",
"2016-06-27",
"2016-06-28",
"2016-06-29",
"2016-06-30",
"2016-07-01",
"2016-07-05",
"2016-07-06",
"2016-07-07",
"2016-07-08",
"2016-07-11",
"2016-07-12",
"2016-07-13",
"2016-07-14",
"2016-07-15",
"2016-07-18",
"2016-07-19",
"2016-07-20",
"2016-07-21",
"2016-07-22",
"2016-07-25",
"2016-07-26",
"2016-07-27",
"2016-07-28",
"2016-07-29",
"2016-08-01",
"2016-08-02",
"2016-08-03",
"2016-08-04",
"2016-08-05",
"2016-08-08",
"2016-08-09",
"2016-08-10",
"2016-08-11",
"2016-08-12",
"2016-08-15",
"2016-08-16",
"2016-08-17",
"2016-08-18",
"2016-08-19",
"2016-08-22",
"2016-08-23",
"2016-08-24",
"2016-08-25",
"2016-08-26",
"2016-08-29",
"2016-08-30",
"2016-08-31",
"2016-09-01",
"2016-09-02",
"2016-09-06",
"2016-09-07",
"2016-09-08",
"2016-09-09",
"2016-09-12",
"2016-09-13",
"2016-09-14",
"2016-09-15",
"2016-09-16",
"2016-09-19",
"2016-09-20",
"2016-09-21",
"2016-09-22",
"2016-09-23",
"2016-09-26",
"2016-09-27",
"2016-09-28",
"2016-09-29",
"2016-09-30",
"2016-10-03",
"2016-10-04",
"2016-10-05",
"2016-10-06",
"2016-10-07",
"2016-10-10",
"2016-10-11",
"2016-10-12",
"2016-10-13",
"2016-10-14",
"2016-10-17",
"2016-10-18",
"2016-10-19",
"2016-10-20",
"2016-10-21",
"2016-10-24",
"2016-10-25",
"2016-10-26",
"2016-10-27",
"2016-10-28",
"2016-10-31",
"2016-11-01",
"2016-11-02",
"2016-11-03",
"2016-11-04",
"2016-11-07",
"2016-11-08",
"2016-11-09",
"2016-11-10",
"2016-11-11",
"2016-11-14",
"2016-11-15",
"2016-11-16",
"2016-11-17",
"2016-11-18",
"2016-11-21",
"2016-11-22",
"2016-11-23",
"2016-11-25",
"2016-11-28",
"2016-11-29",
"2016-11-30",
"2016-12-01",
"2016-12-02",
"2016-12-05",
"2016-12-06",
"2016-12-07",
"2016-12-08",
"2016-12-09",
"2016-12-12",
"2016-12-13",
"2016-12-14",
"2016-12-15",
"2016-12-16",
"2016-12-19",
"2016-12-20",
"2016-12-21",
"2016-12-22",
"2016-12-23",
"2016-12-27",
"2016-12-28",
"2016-12-29",
"2016-12-30",
"2017-01-03",
"2017-01-04",
"2017-01-05",
"2017-01-06",
"2017-01-09",
"2017-01-10",
"2017-01-11",
"2017-01-12",
"2017-01-13",
"2017-01-17",
"2017-01-18",
"2017-01-19",
"2017-01-20",
"2017-01-23",
"2017-01-24",
"2017-01-25",
"2017-01-26",
"2017-01-27",
"2017-01-30",
"2017-01-31",
"2017-02-01",
"2017-02-02",
"2017-02-03",
"2017-02-06",
"2017-02-07",
"2017-02-08",
"2017-02-09",
"2017-02-10",
"2017-02-13",
"2017-02-14",
"2017-02-15",
"2017-02-16",
"2017-02-17",
"2017-02-21",
"2017-02-22",
"2017-02-23",
"2017-02-24",
"2017-02-27",
"2017-02-28",
"2017-03-01",
"2017-03-02",
"2017-03-03",
"2017-03-06",
"2017-03-07",
"2017-03-08",
"2017-03-09",
"2017-03-10",
"2017-03-13",
"2017-03-14",
"2017-03-15",
"2017-03-16",
"2017-03-17",
"2017-03-20",
"2017-03-21",
"2017-03-22",
"2017-03-23",
"2017-03-24",
"2017-03-27",
"2017-03-28",
"2017-03-29",
"2017-03-30",
"2017-03-31",
"2017-04-03",
"2017-04-04",
"2017-04-05",
"2017-04-06",
"2017-04-07",
"2017-04-10",
"2017-04-11",
"2017-04-12",
"2017-04-13",
"2017-04-17",
"2017-04-18",
"2017-04-19",
"2017-04-20",
"2017-04-21",
"2017-04-24",
"2017-04-25",
"2017-04-26",
"2017-04-27",
"2017-04-28",
"2017-05-01",
"2017-05-02",
"2017-05-03",
"2017-05-04",
"2017-05-05",
"2017-05-08",
"2017-05-09",
"2017-05-10",
"2017-05-11",
"2017-05-12",
"2017-05-15",
"2017-05-16",
"2017-05-17",
"2017-05-18",
"2017-05-19",
"2017-05-22",
"2017-05-23",
"2017-05-24",
"2017-05-25",
"2017-05-26",
"2017-05-30",
"2017-05-31",
"2017-06-01",
"2017-06-02",
"2017-06-05",
"2017-06-06",
"2017-06-07",
"2017-06-08",
"2017-06-09",
"2017-06-12",
"2017-06-13",
"2017-06-14",
"2017-06-15",
"2017-06-16",
"2017-06-19",
"2017-06-20",
"2017-06-21",
"2017-06-22",
"2017-06-23",
"2017-06-26",
"2017-06-27",
"2017-06-28",
"2017-06-29",
"2017-06-30",
"2017-07-03",
"2017-07-05",
"2017-07-06",
"2017-07-07",
"2017-07-10",
"2017-07-11",
"2017-07-12",
"2017-07-13",
"2017-07-14",
"2017-07-17",
"2017-07-18",
"2017-07-19",
"2017-07-20",
"2017-07-21",
"2017-07-24",
"2017-07-25",
"2017-07-26",
"2017-07-27",
"2017-07-28",
"2017-07-31",
"2017-08-01",
"2017-08-02",
"2017-08-03",
"2017-08-04",
"2017-08-07",
"2017-08-08",
"2017-08-09",
"2017-08-10",
"2017-08-11",
"2017-08-14",
"2017-08-15",
"2017-08-16",
"2017-08-17",
"2017-08-18",
"2017-08-21",
"2017-08-22",
"2017-08-23",
"2017-08-24",
"2017-08-25",
"2017-08-28",
"2017-08-29",
"2017-08-30",
"2017-08-31",
"2017-09-01",
"2017-09-05",
"2017-09-06",
"2017-09-07",
"2017-09-08",
"2017-09-11",
"2017-09-12",
"2017-09-13",
"2017-09-14",
"2017-09-15",
"2017-09-18",
"2017-09-19",
"2017-09-20",
"2017-09-21",
"2017-09-22",
"2017-09-25",
"2017-09-26",
"2017-09-27",
"2017-09-28",
"2017-09-29",
"2017-10-02",
"2017-10-03",
"2017-10-04",
"2017-10-05",
"2017-10-06",
"2017-10-09",
"2017-10-10",
"2017-10-11",
"2017-10-12",
"2017-10-13",
"2017-10-16",
"2017-10-17",
"2017-10-18",
"2017-10-19",
"2017-10-20",
"2017-10-23",
"2017-10-24",
"2017-10-25",
"2017-10-26",
"2017-10-27",
"2017-10-30",
"2017-10-31",
"2017-11-01",
"2017-11-02",
"2017-11-03",
"2017-11-06",
"2017-11-07",
"2017-11-08",
"2017-11-09",
"2017-11-10",
"2017-11-13",
"2017-11-14",
"2017-11-15",
"2017-11-16",
"2017-11-17",
"2017-11-20",
"2017-11-21",
"2017-11-22",
"2017-11-24",
"2017-11-27",
"2017-11-28",
"2017-11-29",
"2017-11-30",
"2017-12-01",
"2017-12-04",
"2017-12-05",
"2017-12-06",
"2017-12-07",
"2017-12-08",
"2017-12-11",
"2017-12-12",
"2017-12-13",
"2017-12-14",
"2017-12-15",
"2017-12-18",
"2017-12-19",
"2017-12-20",
"2017-12-21",
"2017-12-22",
"2017-12-26",
"2017-12-27",
"2017-12-28",
"2017-12-29",
"2018-01-02",
"2018-01-03",
"2018-01-04",
"2018-01-05",
"2018-01-08",
"2018-01-09",
"2018-01-10",
"2018-01-11",
"2018-01-12",
"2018-01-16",
"2018-01-17",
"2018-01-18",
"2018-01-19",
"2018-01-22",
"2018-01-23",
"2018-01-24",
"2018-01-25",
"2018-01-26",
"2018-01-29",
"2018-01-30",
"2018-01-31",
"2018-02-01",
"2018-02-02",
"2018-02-05",
"2018-02-06",
"2018-02-07",
"2018-02-08",
"2018-02-09",
"2018-02-12",
"2018-02-13",
"2018-02-14",
"2018-02-15",
"2018-02-16",
"2018-02-20",
"2018-02-21",
"2018-02-22",
"2018-02-23",
"2018-02-26",
"2018-02-27",
"2018-02-28",
"2018-03-01",
"2018-03-02",
"2018-03-05",
"2018-03-06",
"2018-03-07",
"2018-03-08",
"2018-03-09",
"2018-03-12",
"2018-03-13",
"2018-03-14",
"2018-03-15",
"2018-03-16",
"2018-03-19",
"2018-03-20",
"2018-03-21",
"2018-03-22",
"2018-03-23",
"2018-03-26",
"2018-03-27",
"2018-03-28",
"2018-03-29",
"2018-04-02",
"2018-04-03",
"2018-04-04",
"2018-04-05",
"2018-04-06",
"2018-04-09",
"2018-04-10",
"2018-04-11",
"2018-04-12",
"2018-04-13",
"2018-04-16",
"2018-04-17",
"2018-04-18",
"2018-04-19",
"2018-04-20",
"2018-04-23",
"2018-04-24",
"2018-04-25",
"2018-04-26",
"2018-04-27",
"2018-04-30",
"2018-05-01",
"2018-05-02",
"2018-05-03",
"2018-05-04",
"2018-05-07",
"2018-05-08",
"2018-05-09",
"2018-05-10",
"2018-05-11",
"2018-05-14",
"2018-05-15",
"2018-05-16",
"2018-05-17",
"2018-05-18",
"2018-05-21",
"2018-05-22",
"2018-05-23",
"2018-05-24",
"2018-05-25",
"2018-05-29",
"2018-05-30",
"2018-05-31",
"2018-06-01",
"2018-06-04",
"2018-06-05",
"2018-06-06",
"2018-06-07",
"2018-06-08",
"2018-06-11",
"2018-06-12",
"2018-06-13",
"2018-06-14",
"2018-06-15",
"2018-06-18",
"2018-06-19",
"2018-06-20",
"2018-06-21",
"2018-06-22",
"2018-06-25",
"2018-06-26",
"2018-06-27",
"2018-06-28",
"2018-06-29",
"2018-07-02",
"2018-07-03",
"2018-07-05",
"2018-07-06",
"2018-07-09",
"2018-07-10",
"2018-07-11",
"2018-07-12",
"2018-07-13",
"2018-07-16",
"2018-07-17",
"2018-07-18",
"2018-07-19",
"2018-07-20",
"2018-07-23",
"2018-07-24",
"2018-07-25",
"2018-07-26",
"2018-07-27",
"2018-07-30",
"2018-07-31",
"2018-08-01",
"2018-08-02",
"2018-08-03",
"2018-08-06",
"2018-08-07",
"2018-08-08",
"2018-08-09",
"2018-08-10",
"2018-08-13",
"2018-08-14",
"2018-08-15",
"2018-08-16",
"2018-08-17",
"2018-08-20",
"2018-08-21",
"2018-08-22",
"2018-08-23",
"2018-08-24",
"2018-08-27",
"2018-08-28",
"2018-08-29",
"2018-08-30",
"2018-08-31",
"2018-09-04",
"2018-09-05",
"2018-09-06",
"2018-09-07",
"2018-09-10",
"2018-09-11",
"2018-09-12",
"2018-09-13",
"2018-09-14",
"2018-09-17",
"2018-09-18",
"2018-09-19",
"2018-09-20",
"2018-09-21",
"2018-09-24",
"2018-09-25",
"2018-09-26",
"2018-09-27",
"2018-09-28",
"2018-10-01",
"2018-10-02",
"2018-10-03",
"2018-10-04",
"2018-10-05",
"2018-10-08",
"2018-10-09",
"2018-10-10",
"2018-10-11",
"2018-10-12",
"2018-10-15",
"2018-10-16",
"2018-10-17",
"2018-10-18",
"2018-10-19",
"2018-10-22",
"2018-10-23",
"2018-10-24",
"2018-10-25",
"2018-10-26",
"2018-10-29",
"2018-10-30",
"2018-10-31",
"2018-11-01",
"2018-11-02",
"2018-11-05",
"2018-11-06",
"2018-11-07",
"2018-11-08",
"2018-11-09",
"2018-11-12",
"2018-11-13",
"2018-11-14",
"2018-11-15",
"2018-11-16",
"2018-11-19",
"2018-11-20",
"2018-11-21",
"2018-11-23",
"2018-11-26",
"2018-11-27",
"2018-11-28",
"2018-11-29",
"2018-11-30",
"2018-12-03",
"2018-12-04",
"2018-12-06",
"2018-12-07",
"2018-12-10",
"2018-12-11",
"2018-12-12",
"2018-12-13",
"2018-12-14",
"2018-12-17",
"2018-12-18",
"2018-12-19",
"2018-12-20",
"2018-12-21",
"2018-12-24",
"2018-12-26",
"2018-12-27",
"2018-12-28",
"2018-12-31",
"2019-01-02",
"2019-01-03",
"2019-01-04",
"2019-01-07",
"2019-01-08",
"2019-01-09",
"2019-01-10",
"2019-01-11",
"2019-01-14",
"2019-01-15",
"2019-01-16",
"2019-01-17",
"2019-01-18",
"2019-01-22",
"2019-01-23",
"2019-01-24",
"2019-01-25",
"2019-01-28",
"2019-01-29",
"2019-01-30",
"2019-01-31",
"2019-02-01",
"2019-02-04",
"2019-02-05",
"2019-02-06",
"2019-02-07",
"2019-02-08",
"2019-02-11",
"2019-02-12",
"2019-02-13",
"2019-02-14",
"2019-02-15",
"2019-02-19",
"2019-02-20",
"2019-02-21",
"2019-02-22",
"2019-02-25",
"2019-02-26",
"2019-02-27",
"2019-02-28",
"2019-03-01",
"2019-03-04",
"2019-03-05",
"2019-03-06",
"2019-03-07",
"2019-03-08",
"2019-03-11",
"2019-03-12",
"2019-03-13",
"2019-03-14",
"2019-03-15",
"2019-03-18",
"2019-03-19",
"2019-03-20",
"2019-03-21",
"2019-03-22",
"2019-03-25",
"2019-03-26",
"2019-03-27",
"2019-03-28",
"2019-03-29",
"2019-04-01",
"2019-04-02",
"2019-04-03",
"2019-04-04",
"2019-04-05",
"2019-04-08",
"2019-04-09",
"2019-04-10",
"2019-04-11",
"2019-04-12",
"2019-04-15",
"2019-04-16",
"2019-04-17",
"2019-04-18"
],
"y": [
0,
-0.01741045742320113,
-0.017966086267009684,
-0.0029634715915413112,
0.014539543535803556,
0.021207372280457326,
0.0223186299680751,
0.03676561579973403,
0.052045974242370674,
0.05565777369133862,
0.055009516488648824,
0.04306300176360223,
0.03917338789273073,
0.02898645871272776,
0.020466486718887067,
0.02926427313463198,
0.03315388700550348,
0.03806045004953029,
0.03684530291234234,
0.033825687095203616,
0.031960302993599754,
0.03992789615466541,
0.023032643585887635,
0.021680503926920336,
0.03357848565294308,
0.02023136705557005,
0.023705453713423585,
0.021819126100643738,
0.023245910557005534,
0.031814728010595594,
0.02635347527024079,
0.019559255568398326,
-0.008590930341469183,
-0.051691324315758846,
-0.08828754442266151,
-0.09205064830562149,
-0.046997633930746185,
-0.021981110493976108,
-0.02088755379582674,
-0.0317361846560138,
-0.06287787052112936,
-0.03619124940654239,
-0.03899420072657378,
-0.0515946504751883,
-0.023201086509218594,
-0.036522729292673195,
-0.026851790277697796,
-0.021078760515965356,
-0.023753652314949858,
-0.011838429536533468,
-0.00660372637917761,
-0.009320094595019368,
-0.024342251987049757,
-0.02038458977216928,
-0.03346824188441799,
-0.03285805274090381,
-0.03568860988585776,
-0.040084066867553725,
-0.06398826609128705,
-0.06767930249902576,
-0.04661498698693489,
-0.04535536866113565,
-0.029293304559353417,
-0.01459964874841202,
-0.017785308200468752,
-0.011866086371611573,
-0.006794894930796325,
-0.0028126968793298346,
-0.002042170679131927,
-0.008888955781558239,
-0.010276645026821574,
0.006104601914212138,
0.00965419536658274,
0.014234728489823878,
0.01205011708473891,
0.006841487532213364,
0.028341910300814677,
0.0603714825166668,
0.05944347563398056,
0.05954492856779825,
0.07107554772334401,
0.06714501138736217,
0.06283316840684816,
0.07579318017424175,
0.08173311836559316,
0.08135841775034813,
0.07598852448878701,
0.07877406790961494,
0.06799547618981361,
0.06103794579262378,
0.05874983482468821,
0.049256370406855154,
0.029533025396796253,
0.04454414688702624,
0.045502986503363596,
0.06647455788447854,
0.0679802754198493,
0.07458903208870682,
0.07028058377939339,
0.07152477696962678,
0.07212799083294463,
0.07368837094765635,
0.07070833862669046,
0.07975352412911207,
0.07212525898138833,
0.05488370645472429,
0.08045487015743236,
0.0743596228904746,
0.07393786931819579,
0.057065872899747294,
0.06237882564920816,
0.03876921082034501,
0.04432674403789494,
0.04988148535525894,
0.06446954951551231,
0.047989068539397994,
0.025679659313966763,
0.03667259098719966,
0.03857632532410826,
0.047171462708363254,
0.047016480414764805,
0.04469898348975976,
0.060839350378344426,
0.05110889288473364,
0.0404045161348765,
0.02132423393514382,
0.0177641875187875,
0.006719536191583497,
-0.024965466545229242,
-0.03200518010445175,
-0.029035719765030943,
-0.017446801573223314,
-0.04961136910443109,
-0.0286780189245337,
-0.05864468389012334,
-0.0578792421908626,
-0.05975051490705685,
-0.057675460123125966,
-0.03150496282504012,
-0.04645953301252659,
-0.0377356738247141,
-0.062215971049491614,
-0.05559543436494818,
-0.031528078071791366,
-0.030192327375223038,
-0.05324206368805906,
-0.0516454167419198,
-0.04800649193764106,
-0.08012951874178953,
-0.09284532807959123,
-0.09547825631023699,
-0.09366451188010871,
-0.09198959219722291,
-0.0779896095658067,
-0.05576731033157001,
-0.03316046824738794,
-0.04370836727483196,
-0.03954731119363619,
-0.021645328068454206,
-0.03782632993398016,
-0.028840650375225874,
-0.01977732200007143,
-0.019653880626239517,
-0.027054196766094774,
0.006125059243316855,
0.006773925204560882,
0.006158804686613895,
0.008677356995905772,
0.003092509395652865,
-0.007138748212416446,
-0.0020868606495466624,
-0.0029015961675742385,
0.014297852466115257,
0.015811091464946747,
0.01684200471912911,
0.024443853792365244,
0.023255652907695268,
0.025788760604982253,
0.02824692972256959,
0.03222878356135794,
0.024906568629619263,
0.027132584100797885,
0.025889531920697095,
0.04272384169736232,
0.04886479803479915,
0.04696008039521371,
0.05795069238258077,
0.05403037916769482,
0.04437066618597485,
0.06266318818969041,
0.04676225833246073,
0.04785667273756844,
0.044400020544984375,
0.05302262878315811,
0.06800654656619076,
0.06859777878998474,
0.06692589219929035,
0.07384395055040849,
0.06413789665786607,
0.06688304373701781,
0.06656602814170154,
0.05401540167182639,
0.05434274211820078,
0.05029636341340882,
0.04440457949535692,
0.031785374293881175,
0.03585136468717964,
0.048186990285221,
0.035775801383216566,
0.02936925391495704,
0.027483294102616407,
0.03551659229849635,
0.037592921924217704,
0.05488074317703773,
0.04831583937935102,
0.04568781511501396,
0.04077003781929456,
0.053223612859809366,
0.03869165006299746,
0.04398219181961904,
0.03846680368159561,
0.05092990213749937,
0.05089717944039163,
0.07348330669262926,
0.08271656679524386,
0.0849643951943797,
0.09056751034626664,
0.09305057653469961,
0.09187909863327715,
0.09256576363117186,
0.08683606732482896,
0.09144210959438293,
0.08924052109708414,
0.08998296112301851,
0.08892143613325132,
0.07790072763334233,
0.06747686153352239,
0.06712311144414018,
0.0636673819340805,
0.06851342518712578,
0.05563867432898029,
0.06113100706955543,
0.06553637210627161,
0.06221222772901336,
0.07780267993359646,
0.033999023720105104,
0.012439106749246642,
0.03391194828826016,
0.05236531165924729,
0.06619320891735714,
0.07145317816830188,
0.06461643834118891,
0.07189512934602904,
0.07554127578680037,
0.09204796037030394,
0.0975496797270341,
0.10517562507967493,
0.10323285566104268,
0.11190156270546181,
0.11105580543713289,
0.11821315684762834,
0.11119941207273842,
0.1281917998087747,
0.12394728106300468,
0.1288222106337582,
0.1285675420829402,
0.13093366765837455,
0.14202229914884068,
0.14623261189538983,
0.15044385168484453,
0.15848165394393687,
0.1486246788713801,
0.15349513427313233,
0.15594356819721056,
0.1681601174412326,
0.16706017516848704,
0.16955723141001022,
0.16624441641641297,
0.17161817700897353,
0.17203161940178724,
0.1767755390077277,
0.17005015035668758,
0.17244214703067473,
0.1733225717942437,
0.17313811414644964,
0.17398421481783588,
0.17657522389314928,
0.16900277955797294,
0.16773530443411544,
0.16944833826131878,
0.1707592480121567,
0.16741500344993443,
0.16593316522196244,
0.16904761879866248,
0.1727717898573884,
0.18035568520852596,
0.18109254998723223,
0.17450123636949133,
0.14478717801907526,
0.16528734847917792,
0.15419943064377817,
0.15944944328992938,
0.1769376136725178,
0.1739277576225826,
0.1692315756152456,
0.17186417281209598,
0.1833861643068424,
0.19255413339513416,
0.18536744947528105,
0.17544511578070598,
0.18652080631663548,
0.18840014721753584,
0.18021125745867606,
0.19024098423459956,
0.1895374904716931,
0.18730990484622012,
0.19190184450990588,
0.19077242776733172,
0.18798422914663626,
0.19488279333553216,
0.17774235317972353,
0.17657029501258514,
0.17278195939520202,
0.17404173525813404,
0.17043929788978063,
0.18416367048245763,
0.18469279605617572,
0.1836212100700354,
0.1882882961862249,
0.201945809296469,
0.19765539281788325,
0.19034035546007289,
0.18556928787720062,
0.17745879130757536,
0.17804700850034627,
0.16926424405432683,
0.1600825980766154,
0.1488353372673672,
0.14514666792269093,
0.17174944267141967,
0.1792759582214254,
0.18612707907587467,
0.17058951996327587,
0.17150672912436704,
0.16216389477395854,
0.17646047326572667,
0.1826089800964794,
0.19111817287484878,
0.18597726300625217,
0.19721586048382456,
0.20133140480077327,
0.1973115225060389,
0.20161674336072788,
0.1987563925242235,
0.2025872066806782,
0.18785001688804326,
0.16789082752964268,
0.17022925244089726,
0.17928249002263552,
0.1817751243191934,
0.19630444006883896,
0.199467066635868,
0.20852923587597672,
0.20422868694934593,
0.2190988353751322,
0.21639655921097933,
0.2189091243725294,
0.2111917275130344,
0.21562762748749997,
0.22015699298790747,
0.21895532467606893,
0.20972029236562295,
0.21126069328082564,
0.21742154585882845,
0.2076912481009261,
0.20600754767679264,
0.197041174829093,
0.2088590257758598,
0.215771960715347,
0.22215555773204576,
0.2324833132574704,
0.23660024569963278,
0.2404900581000109,
0.24410254465453596,
0.24169714711957213,
0.2457936069647546,
0.24236546316793128,
0.24472216596815932,
0.2433719395749674,
0.24616337547015044,
0.2464375636502738,
0.2552553912628066,
0.2679087623496583,
0.268306743437555,
0.27118033006542874,
0.26140669994312726,
0.25917042121607325,
0.267076541874558,
0.2662410683114331,
0.26947913407787794,
0.2707791469579266,
0.27511493158070177,
0.27683645937567647,
0.2806933064533399,
0.2845125698540698,
0.2922522368188367,
0.29700188590681953,
0.30494647109460393,
0.3047852361076342,
0.31027758464967126,
0.3164358795591158,
0.31630200042255874,
0.3119190743475393,
0.3151365648111122,
0.3162850851617467,
0.3119964542686571,
0.3256368727647807,
0.31988578000240997,
0.32222900883766403,
0.3185741819479362,
0.31628390765463865,
0.31868202055470185,
0.3196987513235383,
0.32488885006022605,
0.32622688479369466,
0.32297547825614314,
0.33091881837791925,
0.33019240540513795,
0.3273826592061,
0.3285782558955266,
0.3088108153154778,
0.31772429454017104,
0.3143828685478909,
0.3173799052669122,
0.3198568550609291,
0.32772501072795013,
0.3336480877044814,
0.33597359356466483,
0.33544162679157186,
0.33407156310269004,
0.3359569494051595,
0.3306136693143842,
0.33119598653117843,
0.3305289177263051,
0.3308022119782077,
0.32502035191671097,
0.319270770478981,
0.3138435472432133,
0.3244941998338222,
0.3231920229589087,
0.3255192807076972,
0.3366419828157554,
0.3362640740497367,
0.3523653286210331,
0.3612776314965622,
0.35961457402057184,
0.3684749693718745,
0.3715909210798467,
0.3820403248317181,
0.3855321916813954,
0.3816996060199571,
0.3830258494050458,
0.3878881900996878,
0.3899517002874815,
0.3941250859342773,
0.3943537449010668,
0.3927652220469755,
0.39501738479226867,
0.40027842871229535,
0.40618016064129203,
0.3710946904339878,
0.3794029560829446,
0.38522868115074593,
0.3971614589095884,
0.398679025253722,
0.4049413278849505,
0.41614548426338827,
0.41852226444615925,
0.4195497011553646,
0.4192422957479429,
0.4251837806552834,
0.4411611602610377,
0.44078150346938094,
0.43456917827417785,
0.44015813299476414,
0.44219307342056635,
0.40933771850047185,
0.40301185274273554,
0.41368341658548435,
0.40797541053179187,
0.4019264159275755,
0.392044879991472,
0.4147835291303832,
0.4042235992630936,
0.41826708655010036,
0.41848412002077473,
0.42334663164589625,
0.41791922940505777,
0.39280119812372205,
0.4124497980809043,
0.38871728763763125,
0.3895989050687101,
0.37622891476647324,
0.38874125267970894,
0.37521849023764564,
0.3888053098823858,
0.39628907438929506,
0.4001135609868569,
0.4158852281392502,
0.4189107302474615,
0.4298537759726735,
0.43015026774036413,
0.4380647708631835,
0.4461731144492107,
0.4482049732898754,
0.44789335422589693,
0.45323166049324937,
0.45143031946707834,
0.4558472020905955,
0.4488444063147734,
0.44650676075257234,
0.445440003977583,
0.45017035352414103,
0.4538939762590042,
0.44798143191539497,
0.4504097742349189,
0.4589417702230023,
0.4556144119644028,
0.45334231944564163,
0.42302756386921425,
0.43398024311817274,
0.45156559292232146,
0.45250705801832525,
0.45619371286482213,
0.426254503207822,
0.42446233103628583,
0.4234989365261952,
0.44498394656115714,
0.43954653654064635,
0.43490187039109474,
0.4330772242316716,
0.4369836596694523,
0.44200813640679226,
0.4584861606178581,
0.473307789839158,
0.47246170773825447,
0.4594232658581583,
0.4635527069897911,
0.4660155755352742,
0.45400323166013545,
0.471015831014606,
0.47499771515875366,
0.47729062505873343,
0.4686041480597005,
0.47384971143177257,
0.46964100307325274,
0.4721998420181601,
0.4684033823755964,
0.4600246712957694,
0.4600025137941177,
0.44717028188739905,
0.45079916428001643,
0.46233822687058423,
0.46127847785327325,
0.4703768016731378,
0.4714149219167274,
0.4751042548237885,
0.47692832037208244,
0.4907169045956845,
0.4912793934507995,
0.48856232831773827,
0.490490375487032,
0.49454579924658204,
0.49232939098433404,
0.4981046724909477,
0.502556707741928,
0.5037144750254123,
0.5018803377380106,
0.49635487789832333,
0.4997274993556733,
0.49087489558604824,
0.4931083793727422,
0.4869780690299934,
0.4818380436314216,
0.5197466208449446,
0.5208339835996687,
0.5305238545886424,
0.5304225933207118,
0.5275988812004775,
0.5415718096314222,
0.5460179645418168,
0.5458632821302656,
0.5526621462868437,
0.5451522333567753,
0.5461659602487827,
0.547978066999453,
0.5426692666896784,
0.5358247016499296,
0.5554139609924666,
0.5509094028457924,
0.548948419675461,
0.5647793884078947,
0.5664196307722806,
0.5709660090251318,
0.5691940469678123,
0.5736339261821017,
0.5502598240876608,
0.561732842772005,
0.5563815373542293,
0.5406583662959292,
0.5411963255204775,
0.5474025745086837,
0.5511088266836561,
0.5581363856104327,
0.5702872770593408,
0.5687413298339627,
0.5724024650467574,
0.5707398754944988,
0.5871880060552259,
0.5959778173493484,
0.5871726837431295,
0.5852994860590648,
0.5860297007306614,
0.576464971794117,
0.5691368505125614,
0.5690119749067981,
0.5711657167873736,
0.5642470574300131,
0.5908735287909643,
0.6065949695464434,
0.6082998497465368,
0.6233348813128168,
0.6290249682614835,
0.6296788600792227,
0.6258732013330979,
0.6360557064125572,
0.6473419682209545,
0.6431692807665581,
0.6606989322181545,
0.6605387754322611,
0.6661336800931166,
0.6832274245587091,
0.6967971041428445,
0.6867261478909605,
0.6861244160336195,
0.7107029906918456,
0.7018966806207143,
0.6876756978070457,
0.6944262067151676,
0.6808607567468987,
0.6479547731570372,
0.5835993438956717,
0.623505269632393,
0.6019950376878689,
0.5380350470844522,
0.5614977935949468,
0.5918145449666898,
0.5999873085614347,
0.6280577299726062,
0.6610181976635965,
0.6541632052834612,
0.6551756279408125,
0.6490874655737282,
0.6502290607616463,
0.6827962579475757,
0.7058273086621949,
0.6866419439636109,
0.6760606469987478,
0.6495410089177054,
0.6649379481511835,
0.6817648806985734,
0.687951845207327,
0.6907936829407402,
0.7013796010788027,
0.7325836369812184,
0.7421323926054051,
0.7207239868772886,
0.7183615771040444,
0.7170852257731952,
0.7126695803732002,
0.676125098718815,
0.6798985936932704,
0.6693826334648914,
0.6310576774122476,
0.5894844861505308,
0.6472499802202527,
0.5990139569000261,
0.5842141238834175,
0.609570451648809,
0.5682345108177471,
0.5841959770605814,
0.6091266766336199,
0.6194580955536939,
0.581000372899116,
0.5909771211268768,
0.625521306354319,
0.6175810819557057,
0.6318008050587991,
0.6267103749104015,
0.6373316329490886,
0.6670638981712371,
0.6673818821978181,
0.6499400813093927,
0.6196258844959488,
0.6162044151152792,
0.5850425515480067,
0.5878949770406772,
0.6215535269482375,
0.6184579435872424,
0.6115193677704369,
0.629902380621916,
0.6276452135737314,
0.624109537013702,
0.6591594271161385,
0.6715288186049733,
0.668198280175639,
0.6839964671077527,
0.7031814922472668,
0.7016379384894507,
0.7055667648054433,
0.6872977066734625,
0.6976723298343854,
0.692229273177867,
0.6851260640767873,
0.693038518545126,
0.6911430919185424,
0.7050332505208101,
0.7036913321078591,
0.7058669294046176,
0.6983865029486649,
0.7108482862137271,
0.7084523397263565,
0.732900964346715,
0.7467415023434485,
0.7502260829895542,
0.7644409761719788,
0.7519925263502263,
0.7532253634482964,
0.7585643370738571,
0.7685305077747449,
0.7677687766854682,
0.7869312323708524,
0.7831430492810982,
0.7760423247159627,
0.7716256367844321,
0.7820315112782164,
0.7672227179769675,
0.7665762369187454,
0.7299354342933795,
0.734894900316438,
0.7117380165881408,
0.7258762564902206,
0.7316197693153843,
0.7425943148677656,
0.724217196781962,
0.746250341512529,
0.7731649345684639,
0.7887806596073523,
0.79033856882336,
0.779935302463393,
0.8100508888351481,
0.8121971100532601,
0.8076838342174995,
0.8170289676203704,
0.8140816705555352,
0.8058657072598532,
0.8039730370790084,
0.8086328638549996,
0.8126949744810823,
0.8358020175681353,
0.8165734340494883,
0.7912662183104326,
0.7704814143861094,
0.7880051965523989,
0.7921680137900631,
0.8113514686376828,
0.8196518134844337,
0.8322779936836582,
0.8367307361948397,
0.8383209390888016,
0.8359819310527954,
0.8189277940584898,
0.8164523553163385,
0.8261658063383752,
0.8039894348875247,
0.8079168165283057,
0.8079482800588935,
0.8051023973304756,
0.8155144831998331,
0.819342027358205,
0.8140838249850271,
0.8340365551776519,
0.8541098417346007,
0.8561281927499638,
0.8735779204931751,
0.8700288908757063,
0.8721301905093064,
0.8605672792709989,
0.8356775725962677,
0.8172503299660532,
0.8133485825707993,
0.819922294652097,
0.8292919322314038,
0.8238566532219778,
0.8434064587423267,
0.839558667458369,
0.8149057511621169,
0.8321340074426333,
0.8337283190945233,
0.8549042632633204,
0.8448591127721741,
0.8448833124744615,
0.8433883053801883,
0.8464055699919801,
0.8609358466708323,
0.8598753155663303,
0.8606975091865054,
0.8566848507229288,
0.8595568727051082,
0.8242491864615,
0.8005155896368061,
0.7915151085682812,
0.7953693731594162,
0.7197197643603166,
0.7000877151188518,
0.74376516127497,
0.7236628718123947,
0.775342608988137,
0.7780952112425779,
0.7348230961514584,
0.7320437762101377,
0.7416747054630437,
0.7360205803866586,
0.6540996171214652,
0.7143003203218843,
0.6670300377897671,
0.6283928236235672,
0.6560163364485121,
0.6990874587737554,
0.727793137938628,
0.7078208112081577,
0.7016603677862379,
0.7137513685326349,
0.7672980227631345,
0.7539240041318664,
0.7242371409868744,
0.6730797997998237,
0.6765869889101319,
0.667943075066084,
0.6952117137393989,
0.6841453668410593,
0.6252936848129753,
0.604395895466256,
0.6186042463787436,
0.6068150491435444,
0.6461906728825313,
0.6509445138965433,
0.7057184426493575,
0.7006557703203566,
0.7151415521801208,
0.7475294341944183,
0.6761013457116338,
0.6882235186913896,
0.6320051185251125,
0.6480293108258226,
0.6517489588350212,
0.6674042378975982,
0.6678114086795004,
0.6279682519206227,
0.5915339130453767,
0.6063592136094129,
0.5632561999639063,
0.540838960920174,
0.48931811958279714,
0.4551529030272983,
0.5404213319877249,
0.5460789176614691,
0.5458644396930523,
0.5576978129105681,
0.5699251297790588,
0.5182756099119383,
0.58795353605629,
0.6058321592514191,
0.6226331379899603,
0.6331323854964643,
0.6383635849191107,
0.6337440348820071,
0.6184865116192841,
0.6500085726109677,
0.6495552990380269,
0.6611985971501739,
0.6775127675681538,
0.6407202912072869,
0.6435060175838623,
0.6561953985893993,
0.6764474423828255,
0.6545986662001961,
0.6382161340810579,
0.6839353609904908,
0.7162551691838333,
0.7085121076529064,
0.7294050071133424,
0.7456205117908334,
0.7397430427064924,
0.7161481211569061,
0.7159501737869864,
0.7144368944766424,
0.7428259128928716,
0.7452264192373772,
0.7461629377320991,
0.7521685433196745,
0.7561851035129223,
0.7562481352986097,
0.7479045187975808,
0.7617888237194075,
0.76715525565543,
0.7691845495050444,
0.768029755288614,
0.7632200636952986,
0.7802655381018266,
0.7809321075895284,
0.783294671830697,
0.7716747250760616,
0.7488383971098722,
0.7468498387695031,
0.7869925073699284,
0.7985876903552647,
0.8113024560709319,
0.8087230504034681,
0.8275207519024599,
0.8320080617869823,
0.838558123019459,
0.8465358431501571,
0.8777743829432059,
0.8356166112753876,
0.8297075936470921,
0.8394940751411635,
0.8275909143070914,
0.8318841626768245,
0.8467583048518348,
0.871429672458804,
0.8766422657234783,
0.8892308680380834,
0.8884348199148473,
0.8987883111358135,
0.9040597193655653,
0.8966212116885244,
0.9073155600042435,
0.9031148195812786,
0.9118901876126775,
0.9118679449056879,
0.9176892821697544,
0.9229279415917462,
0.925212654464598
]
},
{
"name": "QQQ Returns",
"type": "scatter",
"uid": "500b9683-183f-4d97-8653-59f87712a393",
"x": [
"2015-07-07",
"2015-07-08",
"2015-07-09",
"2015-07-10",
"2015-07-13",
"2015-07-14",
"2015-07-15",
"2015-07-16",
"2015-07-17",
"2015-07-20",
"2015-07-21",
"2015-07-22",
"2015-07-23",
"2015-07-24",
"2015-07-27",
"2015-07-28",
"2015-07-29",
"2015-07-30",
"2015-07-31",
"2015-08-03",
"2015-08-04",
"2015-08-05",
"2015-08-06",
"2015-08-07",
"2015-08-10",
"2015-08-11",
"2015-08-12",
"2015-08-13",
"2015-08-14",
"2015-08-17",
"2015-08-18",
"2015-08-19",
"2015-08-20",
"2015-08-21",
"2015-08-24",
"2015-08-25",
"2015-08-26",
"2015-08-27",
"2015-08-28",
"2015-08-31",
"2015-09-01",
"2015-09-02",
"2015-09-03",
"2015-09-04",
"2015-09-08",
"2015-09-09",
"2015-09-10",
"2015-09-11",
"2015-09-14",
"2015-09-15",
"2015-09-16",
"2015-09-17",
"2015-09-18",
"2015-09-21",
"2015-09-22",
"2015-09-23",
"2015-09-24",
"2015-09-25",
"2015-09-28",
"2015-09-29",
"2015-09-30",
"2015-10-01",
"2015-10-02",
"2015-10-05",
"2015-10-06",
"2015-10-07",
"2015-10-08",
"2015-10-09",
"2015-10-12",
"2015-10-13",
"2015-10-14",
"2015-10-15",
"2015-10-16",
"2015-10-19",
"2015-10-20",
"2015-10-21",
"2015-10-22",
"2015-10-23",
"2015-10-26",
"2015-10-27",
"2015-10-28",
"2015-10-29",
"2015-10-30",
"2015-11-02",
"2015-11-03",
"2015-11-04",
"2015-11-05",
"2015-11-06",
"2015-11-09",
"2015-11-10",
"2015-11-11",
"2015-11-12",
"2015-11-13",
"2015-11-16",
"2015-11-17",
"2015-11-18",
"2015-11-19",
"2015-11-20",
"2015-11-23",
"2015-11-24",
"2015-11-25",
"2015-11-27",
"2015-11-30",
"2015-12-01",
"2015-12-02",
"2015-12-03",
"2015-12-04",
"2015-12-07",
"2015-12-08",
"2015-12-09",
"2015-12-10",
"2015-12-11",
"2015-12-14",
"2015-12-15",
"2015-12-16",
"2015-12-17",
"2015-12-18",
"2015-12-21",
"2015-12-22",
"2015-12-23",
"2015-12-24",
"2015-12-28",
"2015-12-29",
"2015-12-30",
"2015-12-31",
"2016-01-04",
"2016-01-05",
"2016-01-06",
"2016-01-07",
"2016-01-08",
"2016-01-11",
"2016-01-12",
"2016-01-13",
"2016-01-14",
"2016-01-15",
"2016-01-19",
"2016-01-20",
"2016-01-21",
"2016-01-22",
"2016-01-25",
"2016-01-26",
"2016-01-27",
"2016-01-28",
"2016-01-29",
"2016-02-01",
"2016-02-02",
"2016-02-03",
"2016-02-04",
"2016-02-05",
"2016-02-08",
"2016-02-09",
"2016-02-10",
"2016-02-11",
"2016-02-12",
"2016-02-16",
"2016-02-17",
"2016-02-18",
"2016-02-19",
"2016-02-22",
"2016-02-23",
"2016-02-24",
"2016-02-25",
"2016-02-26",
"2016-02-29",
"2016-03-01",
"2016-03-02",
"2016-03-03",
"2016-03-04",
"2016-03-07",
"2016-03-08",
"2016-03-09",
"2016-03-10",
"2016-03-11",
"2016-03-14",
"2016-03-15",
"2016-03-16",
"2016-03-17",
"2016-03-18",
"2016-03-21",
"2016-03-22",
"2016-03-23",
"2016-03-24",
"2016-03-28",
"2016-03-29",
"2016-03-30",
"2016-03-31",
"2016-04-01",
"2016-04-04",
"2016-04-05",
"2016-04-06",
"2016-04-07",
"2016-04-08",
"2016-04-11",
"2016-04-12",
"2016-04-13",
"2016-04-14",
"2016-04-15",
"2016-04-18",
"2016-04-19",
"2016-04-20",
"2016-04-21",
"2016-04-22",
"2016-04-25",
"2016-04-26",
"2016-04-27",
"2016-04-28",
"2016-04-29",
"2016-05-02",
"2016-05-03",
"2016-05-04",
"2016-05-05",
"2016-05-06",
"2016-05-09",
"2016-05-10",
"2016-05-11",
"2016-05-12",
"2016-05-13",
"2016-05-16",
"2016-05-17",
"2016-05-18",
"2016-05-19",
"2016-05-20",
"2016-05-23",
"2016-05-24",
"2016-05-25",
"2016-05-26",
"2016-05-27",
"2016-05-31",
"2016-06-01",
"2016-06-02",
"2016-06-03",
"2016-06-06",
"2016-06-07",
"2016-06-08",
"2016-06-09",
"2016-06-10",
"2016-06-13",
"2016-06-14",
"2016-06-15",
"2016-06-16",
"2016-06-17",
"2016-06-20",
"2016-06-21",
"2016-06-22",
"2016-06-23",
"2016-06-24",
"2016-06-27",
"2016-06-28",
"2016-06-29",
"2016-06-30",
"2016-07-01",
"2016-07-05",
"2016-07-06",
"2016-07-07",
"2016-07-08",
"2016-07-11",
"2016-07-12",
"2016-07-13",
"2016-07-14",
"2016-07-15",
"2016-07-18",
"2016-07-19",
"2016-07-20",
"2016-07-21",
"2016-07-22",
"2016-07-25",
"2016-07-26",
"2016-07-27",
"2016-07-28",
"2016-07-29",
"2016-08-01",
"2016-08-02",
"2016-08-03",
"2016-08-04",
"2016-08-05",
"2016-08-08",
"2016-08-09",
"2016-08-10",
"2016-08-11",
"2016-08-12",
"2016-08-15",
"2016-08-16",
"2016-08-17",
"2016-08-18",
"2016-08-19",
"2016-08-22",
"2016-08-23",
"2016-08-24",
"2016-08-25",
"2016-08-26",
"2016-08-29",
"2016-08-30",
"2016-08-31",
"2016-09-01",
"2016-09-02",
"2016-09-06",
"2016-09-07",
"2016-09-08",
"2016-09-09",
"2016-09-12",
"2016-09-13",
"2016-09-14",
"2016-09-15",
"2016-09-16",
"2016-09-19",
"2016-09-20",
"2016-09-21",
"2016-09-22",
"2016-09-23",
"2016-09-26",
"2016-09-27",
"2016-09-28",
"2016-09-29",
"2016-09-30",
"2016-10-03",
"2016-10-04",
"2016-10-05",
"2016-10-06",
"2016-10-07",
"2016-10-10",
"2016-10-11",
"2016-10-12",
"2016-10-13",
"2016-10-14",
"2016-10-17",
"2016-10-18",
"2016-10-19",
"2016-10-20",
"2016-10-21",
"2016-10-24",
"2016-10-25",
"2016-10-26",
"2016-10-27",
"2016-10-28",
"2016-10-31",
"2016-11-01",
"2016-11-02",
"2016-11-03",
"2016-11-04",
"2016-11-07",
"2016-11-08",
"2016-11-09",
"2016-11-10",
"2016-11-11",
"2016-11-14",
"2016-11-15",
"2016-11-16",
"2016-11-17",
"2016-11-18",
"2016-11-21",
"2016-11-22",
"2016-11-23",
"2016-11-25",
"2016-11-28",
"2016-11-29",
"2016-11-30",
"2016-12-01",
"2016-12-02",
"2016-12-05",
"2016-12-06",
"2016-12-07",
"2016-12-08",
"2016-12-09",
"2016-12-12",
"2016-12-13",
"2016-12-14",
"2016-12-15",
"2016-12-16",
"2016-12-19",
"2016-12-20",
"2016-12-21",
"2016-12-22",
"2016-12-23",
"2016-12-27",
"2016-12-28",
"2016-12-29",
"2016-12-30",
"2017-01-03",
"2017-01-04",
"2017-01-05",
"2017-01-06",
"2017-01-09",
"2017-01-10",
"2017-01-11",
"2017-01-12",
"2017-01-13",
"2017-01-17",
"2017-01-18",
"2017-01-19",
"2017-01-20",
"2017-01-23",
"2017-01-24",
"2017-01-25",
"2017-01-26",
"2017-01-27",
"2017-01-30",
"2017-01-31",
"2017-02-01",
"2017-02-02",
"2017-02-03",
"2017-02-06",
"2017-02-07",
"2017-02-08",
"2017-02-09",
"2017-02-10",
"2017-02-13",
"2017-02-14",
"2017-02-15",
"2017-02-16",
"2017-02-17",
"2017-02-21",
"2017-02-22",
"2017-02-23",
"2017-02-24",
"2017-02-27",
"2017-02-28",
"2017-03-01",
"2017-03-02",
"2017-03-03",
"2017-03-06",
"2017-03-07",
"2017-03-08",
"2017-03-09",
"2017-03-10",
"2017-03-13",
"2017-03-14",
"2017-03-15",
"2017-03-16",
"2017-03-17",
"2017-03-20",
"2017-03-21",
"2017-03-22",
"2017-03-23",
"2017-03-24",
"2017-03-27",
"2017-03-28",
"2017-03-29",
"2017-03-30",
"2017-03-31",
"2017-04-03",
"2017-04-04",
"2017-04-05",
"2017-04-06",
"2017-04-07",
"2017-04-10",
"2017-04-11",
"2017-04-12",
"2017-04-13",
"2017-04-17",
"2017-04-18",
"2017-04-19",
"2017-04-20",
"2017-04-21",
"2017-04-24",
"2017-04-25",
"2017-04-26",
"2017-04-27",
"2017-04-28",
"2017-05-01",
"2017-05-02",
"2017-05-03",
"2017-05-04",
"2017-05-05",
"2017-05-08",
"2017-05-09",
"2017-05-10",
"2017-05-11",
"2017-05-12",
"2017-05-15",
"2017-05-16",
"2017-05-17",
"2017-05-18",
"2017-05-19",
"2017-05-22",
"2017-05-23",
"2017-05-24",
"2017-05-25",
"2017-05-26",
"2017-05-30",
"2017-05-31",
"2017-06-01",
"2017-06-02",
"2017-06-05",
"2017-06-06",
"2017-06-07",
"2017-06-08",
"2017-06-09",
"2017-06-12",
"2017-06-13",
"2017-06-14",
"2017-06-15",
"2017-06-16",
"2017-06-19",
"2017-06-20",
"2017-06-21",
"2017-06-22",
"2017-06-23",
"2017-06-26",
"2017-06-27",
"2017-06-28",
"2017-06-29",
"2017-06-30",
"2017-07-03",
"2017-07-05",
"2017-07-06",
"2017-07-07",
"2017-07-10",
"2017-07-11",
"2017-07-12",
"2017-07-13",
"2017-07-14",
"2017-07-17",
"2017-07-18",
"2017-07-19",
"2017-07-20",
"2017-07-21",
"2017-07-24",
"2017-07-25",
"2017-07-26",
"2017-07-27",
"2017-07-28",
"2017-07-31",
"2017-08-01",
"2017-08-02",
"2017-08-03",
"2017-08-04",
"2017-08-07",
"2017-08-08",
"2017-08-09",
"2017-08-10",
"2017-08-11",
"2017-08-14",
"2017-08-15",
"2017-08-16",
"2017-08-17",
"2017-08-18",
"2017-08-21",
"2017-08-22",
"2017-08-23",
"2017-08-24",
"2017-08-25",
"2017-08-28",
"2017-08-29",
"2017-08-30",
"2017-08-31",
"2017-09-01",
"2017-09-05",
"2017-09-06",
"2017-09-07",
"2017-09-08",
"2017-09-11",
"2017-09-12",
"2017-09-13",
"2017-09-14",
"2017-09-15",
"2017-09-18",
"2017-09-19",
"2017-09-20",
"2017-09-21",
"2017-09-22",
"2017-09-25",
"2017-09-26",
"2017-09-27",
"2017-09-28",
"2017-09-29",
"2017-10-02",
"2017-10-03",
"2017-10-04",
"2017-10-05",
"2017-10-06",
"2017-10-09",
"2017-10-10",
"2017-10-11",
"2017-10-12",
"2017-10-13",
"2017-10-16",
"2017-10-17",
"2017-10-18",
"2017-10-19",
"2017-10-20",
"2017-10-23",
"2017-10-24",
"2017-10-25",
"2017-10-26",
"2017-10-27",
"2017-10-30",
"2017-10-31",
"2017-11-01",
"2017-11-02",
"2017-11-03",
"2017-11-06",
"2017-11-07",
"2017-11-08",
"2017-11-09",
"2017-11-10",
"2017-11-13",
"2017-11-14",
"2017-11-15",
"2017-11-16",
"2017-11-17",
"2017-11-20",
"2017-11-21",
"2017-11-22",
"2017-11-24",
"2017-11-27",
"2017-11-28",
"2017-11-29",
"2017-11-30",
"2017-12-01",
"2017-12-04",
"2017-12-05",
"2017-12-06",
"2017-12-07",
"2017-12-08",
"2017-12-11",
"2017-12-12",
"2017-12-13",
"2017-12-14",
"2017-12-15",
"2017-12-18",
"2017-12-19",
"2017-12-20",
"2017-12-21",
"2017-12-22",
"2017-12-26",
"2017-12-27",
"2017-12-28",
"2017-12-29",
"2018-01-02",
"2018-01-03",
"2018-01-04",
"2018-01-05",
"2018-01-08",
"2018-01-09",
"2018-01-10",
"2018-01-11",
"2018-01-12",
"2018-01-16",
"2018-01-17",
"2018-01-18",
"2018-01-19",
"2018-01-22",
"2018-01-23",
"2018-01-24",
"2018-01-25",
"2018-01-26",
"2018-01-29",
"2018-01-30",
"2018-01-31",
"2018-02-01",
"2018-02-02",
"2018-02-05",
"2018-02-06",
"2018-02-07",
"2018-02-08",
"2018-02-09",
"2018-02-12",
"2018-02-13",
"2018-02-14",
"2018-02-15",
"2018-02-16",
"2018-02-20",
"2018-02-21",
"2018-02-22",
"2018-02-23",
"2018-02-26",
"2018-02-27",
"2018-02-28",
"2018-03-01",
"2018-03-02",
"2018-03-05",
"2018-03-06",
"2018-03-07",
"2018-03-08",
"2018-03-09",
"2018-03-12",
"2018-03-13",
"2018-03-14",
"2018-03-15",
"2018-03-16",
"2018-03-19",
"2018-03-20",
"2018-03-21",
"2018-03-22",
"2018-03-23",
"2018-03-26",
"2018-03-27",
"2018-03-28",
"2018-03-29",
"2018-04-02",
"2018-04-03",
"2018-04-04",
"2018-04-05",
"2018-04-06",
"2018-04-09",
"2018-04-10",
"2018-04-11",
"2018-04-12",
"2018-04-13",
"2018-04-16",
"2018-04-17",
"2018-04-18",
"2018-04-19",
"2018-04-20",
"2018-04-23",
"2018-04-24",
"2018-04-25",
"2018-04-26",
"2018-04-27",
"2018-04-30",
"2018-05-01",
"2018-05-02",
"2018-05-03",
"2018-05-04",
"2018-05-07",
"2018-05-08",
"2018-05-09",
"2018-05-10",
"2018-05-11",
"2018-05-14",
"2018-05-15",
"2018-05-16",
"2018-05-17",
"2018-05-18",
"2018-05-21",
"2018-05-22",
"2018-05-23",
"2018-05-24",
"2018-05-25",
"2018-05-29",
"2018-05-30",
"2018-05-31",
"2018-06-01",
"2018-06-04",
"2018-06-05",
"2018-06-06",
"2018-06-07",
"2018-06-08",
"2018-06-11",
"2018-06-12",
"2018-06-13",
"2018-06-14",
"2018-06-15",
"2018-06-18",
"2018-06-19",
"2018-06-20",
"2018-06-21",
"2018-06-22",
"2018-06-25",
"2018-06-26",
"2018-06-27",
"2018-06-28",
"2018-06-29",
"2018-07-02",
"2018-07-03",
"2018-07-05",
"2018-07-06",
"2018-07-09",
"2018-07-10",
"2018-07-11",
"2018-07-12",
"2018-07-13",
"2018-07-16",
"2018-07-17",
"2018-07-18",
"2018-07-19",
"2018-07-20",
"2018-07-23",
"2018-07-24",
"2018-07-25",
"2018-07-26",
"2018-07-27",
"2018-07-30",
"2018-07-31",
"2018-08-01",
"2018-08-02",
"2018-08-03",
"2018-08-06",
"2018-08-07",
"2018-08-08",
"2018-08-09",
"2018-08-10",
"2018-08-13",
"2018-08-14",
"2018-08-15",
"2018-08-16",
"2018-08-17",
"2018-08-20",
"2018-08-21",
"2018-08-22",
"2018-08-23",
"2018-08-24",
"2018-08-27",
"2018-08-28",
"2018-08-29",
"2018-08-30",
"2018-08-31",
"2018-09-04",
"2018-09-05",
"2018-09-06",
"2018-09-07",
"2018-09-10",
"2018-09-11",
"2018-09-12",
"2018-09-13",
"2018-09-14",
"2018-09-17",
"2018-09-18",
"2018-09-19",
"2018-09-20",
"2018-09-21",
"2018-09-24",
"2018-09-25",
"2018-09-26",
"2018-09-27",
"2018-09-28",
"2018-10-01",
"2018-10-02",
"2018-10-03",
"2018-10-04",
"2018-10-05",
"2018-10-08",
"2018-10-09",
"2018-10-10",
"2018-10-11",
"2018-10-12",
"2018-10-15",
"2018-10-16",
"2018-10-17",
"2018-10-18",
"2018-10-19",
"2018-10-22",
"2018-10-23",
"2018-10-24",
"2018-10-25",
"2018-10-26",
"2018-10-29",
"2018-10-30",
"2018-10-31",
"2018-11-01",
"2018-11-02",
"2018-11-05",
"2018-11-06",
"2018-11-07",
"2018-11-08",
"2018-11-09",
"2018-11-12",
"2018-11-13",
"2018-11-14",
"2018-11-15",
"2018-11-16",
"2018-11-19",
"2018-11-20",
"2018-11-21",
"2018-11-23",
"2018-11-26",
"2018-11-27",
"2018-11-28",
"2018-11-29",
"2018-11-30",
"2018-12-03",
"2018-12-04",
"2018-12-06",
"2018-12-07",
"2018-12-10",
"2018-12-11",
"2018-12-12",
"2018-12-13",
"2018-12-14",
"2018-12-17",
"2018-12-18",
"2018-12-19",
"2018-12-20",
"2018-12-21",
"2018-12-24",
"2018-12-26",
"2018-12-27",
"2018-12-28",
"2018-12-31",
"2019-01-02",
"2019-01-03",
"2019-01-04",
"2019-01-07",
"2019-01-08",
"2019-01-09",
"2019-01-10",
"2019-01-11",
"2019-01-14",
"2019-01-15",
"2019-01-16",
"2019-01-17",
"2019-01-18",
"2019-01-22",
"2019-01-23",
"2019-01-24",
"2019-01-25",
"2019-01-28",
"2019-01-29",
"2019-01-30",
"2019-01-31",
"2019-02-01",
"2019-02-04",
"2019-02-05",
"2019-02-06",
"2019-02-07",
"2019-02-08",
"2019-02-11",
"2019-02-12",
"2019-02-13",
"2019-02-14",
"2019-02-15",
"2019-02-19",
"2019-02-20",
"2019-02-21",
"2019-02-22",
"2019-02-25",
"2019-02-26",
"2019-02-27",
"2019-02-28",
"2019-03-01",
"2019-03-04",
"2019-03-05",
"2019-03-06",
"2019-03-07",
"2019-03-08",
"2019-03-11",
"2019-03-12",
"2019-03-13",
"2019-03-14",
"2019-03-15",
"2019-03-18",
"2019-03-19",
"2019-03-20",
"2019-03-21",
"2019-03-22",
"2019-03-25",
"2019-03-26",
"2019-03-27",
"2019-03-28",
"2019-03-29",
"2019-04-01",
"2019-04-02",
"2019-04-03",
"2019-04-04",
"2019-04-05",
"2019-04-08",
"2019-04-09",
"2019-04-10",
"2019-04-11",
"2019-04-12",
"2019-04-15",
"2019-04-16",
"2019-04-17",
"2019-04-18"
],
"y": [
0,
-0.017412289168817874,
-0.01796797647006232,
-0.002963783376922269,
0.014541073233989676,
0.021209603497608143,
0.022320978100098143,
0.03676948389199253,
0.05205144997358602,
0.055663629418187144,
0.0550153040126784,
0.04306753240072392,
0.0391775093055009,
0.0289895083637155,
0.020468639987834658,
0.029267352014338277,
0.03315737510956129,
0.0380661347030109,
0.03921603852614508,
0.03596705203501993,
0.034017660140344574,
0.042000924560019914,
0.025291750001957825,
0.023992155405508253,
0.035688577596151294,
0.022414086370188713,
0.02594154730018272,
0.024270629844376224,
0.02584876970228933,
0.0343889829997015,
0.02909775619341426,
0.022321237949701755,
-0.005991439555923073,
-0.04943522258429156,
-0.08600970977105371,
-0.08944439310315377,
-0.04358704690026649,
-0.01935877920237372,
-0.019544405220754846,
-0.03170499869124144,
-0.06196706809154173,
-0.035510934060104526,
-0.04024521198865483,
-0.05166308891783533,
-0.024928480447530044,
-0.03588225691946034,
-0.025392651727373594,
-0.020008576500598507,
-0.022979088552854576,
-0.011468363203186227,
-0.005898661958030127,
-0.005527339098673201,
-0.02205081681576071,
-0.018987456343016906,
-0.033654390585916905,
-0.03291174486720427,
-0.03643920579719817,
-0.04460816705784809,
-0.0718069468079977,
-0.0766340023344414,
-0.05537624668880381,
-0.05110614004009817,
-0.034489813902522815,
-0.020658373798823182,
-0.025299803306885638,
-0.019451627622860457,
-0.015552773010917065,
-0.0110970403438293,
-0.008683477169311171,
-0.01508867255366697,
-0.016666741588985512,
-0.000514586731254818,
0.0036627423195576547,
0.00941806958309499,
0.004219691197295372,
-0.001907029748192235,
0.01842245416035171,
0.04692082850695134,
0.047570625805176014,
0.049705714540826174,
0.0584315538566198,
0.0567606364008133,
0.05444015829623039,
0.0663494682199417,
0.07007114531737302,
0.07016413578062086,
0.06727986974802813,
0.06802421936453085,
0.0566731361606545,
0.05397492203964438,
0.05267234570330581,
0.04243778692418454,
0.02196859838085552,
0.03666918387391194,
0.03732047204208078,
0.05723136288048947,
0.05797571249699329,
0.06513995333193834,
0.06206956440267586,
0.061139162874589426,
0.06206956440267586,
0.06355819265059703,
0.06085997852958602,
0.0714667831020459,
0.06486076898693471,
0.04681075218978559,
0.07128066020537616,
0.06644252966827602,
0.06653552013152453,
0.050346306390546935,
0.05509144646439945,
0.03080759036039038,
0.0386230483784189,
0.04494987814852647,
0.060487874706420364,
0.04504293959686034,
0.02187560791760723,
0.0332266911214838,
0.040018686163091344,
0.047741153717871354,
0.047555030821201605,
0.04699680410136775,
0.06346520218734808,
0.053881860591309394,
0.04394812793134206,
0.021923112683260637,
0.020149889976966318,
0.010350669974001026,
-0.02128694398274733,
-0.029313012481742007,
-0.02632657335669686,
-0.015034098190047307,
-0.04900486993830899,
-0.028753077396523108,
-0.05889750739191102,
-0.05684431714300564,
-0.05973741001973987,
-0.05880416114359932,
-0.03155289522727045,
-0.04592508456495237,
-0.03733908098073779,
-0.061323940229411567,
-0.04807162106216856,
-0.028193142311303543,
-0.02557994577485445,
-0.046671712146795,
-0.05124468148151162,
-0.05133802772982354,
-0.08428220435363332,
-0.09828115110271907,
-0.1010809689334663,
-0.09762786976918802,
-0.09893443243625,
-0.08521552443209912,
-0.06459034689706666,
-0.0434053054791399,
-0.05432446685486858,
-0.051524720226446497,
-0.036125864561987076,
-0.05199130906335436,
-0.04293864543990722,
-0.03351273922786291,
-0.03472595564661374,
-0.04340530547914001,
-0.012700940398533311,
-0.012327626607611553,
-0.014194195562218015,
-0.013820881771297255,
-0.01988710626969936,
-0.028006449814680923,
-0.021753604021980788,
-0.023246787983340456,
-0.00616812706322345,
-0.004488250605239941,
-0.004861564396160922,
0.004004477932988415,
0.003444471645443592,
0.002044633932394957,
0.005964321933580763,
0.009044107306937832,
0.0007380712653333177,
0.0010180388079432667,
-0.00038187010743018224,
0.015670266890559947,
0.020616550016198554,
0.019123294852513073,
0.029949181182255646,
0.02602949318106873,
0.016136855727467703,
0.03284227405898865,
0.018003424682074165,
0.017256797100231536,
0.013523730393343536,
0.02201645893157189,
0.035082156804516984,
0.03517543185050309,
0.032562306516378925,
0.038068595929562354,
0.03172240388855041,
0.03256230651637937,
0.03265565276469129,
0.01707017580593373,
0.01707017580593373,
0.01212382147797042,
0.004004477932988859,
-0.008127971063815465,
-0.01038831154749098,
-0.0010276259910599883,
-0.01029468469534478,
-0.016659953730372545,
-0.01694083428681048,
-0.011698801812081938,
-0.008890638994970446,
0.0046823979116723535,
-0.0043974785046836384,
-0.008797012142825134,
-0.012447673796523784,
-9.15717186894538e-05,
-0.012634856084452584,
-0.009077821282899246,
-0.014226226905481476,
-0.003367797380167903,
-0.00467828764475875,
0.015259946880548991,
0.022561270187946514,
0.02555668670935063,
0.03089227461986166,
0.03285801001674815,
0.03295163686889446,
0.03510462597007358,
0.030237029487566458,
0.0339813179934112,
0.031360337464228394,
0.0331388905731862,
0.03145396431637382,
0.01975310737083502,
0.011234849234629252,
0.011234849234629252,
0.008333059565371448,
0.011328476086774675,
-0.003180615092238548,
0.0030910985070069508,
0.0062736973163390886,
0.0038398990750849737,
0.018161736549806795,
-0.02377409474984138,
-0.04315071099499901,
-0.022182795345174533,
-0.004865541349049596,
0.006648133308559512,
0.01170291207899643,
0.005524825331897354,
0.013762274328029234,
0.01675769084943246,
0.03248364544089122,
0.03838085163155225,
0.04362281268991719,
0.041095459012880475,
0.0482096000323502,
0.04652467377553804,
0.05345156109071514,
0.049613645732724754,
0.061876192374775485,
0.05944239413352248,
0.06384192777166309,
0.0639355546238094,
0.06515241803625393,
0.07254736819579866,
0.07629165670164362,
0.0813150686055022,
0.08703922536013886,
0.07878135620513493,
0.08234723960510926,
0.08544396738599391,
0.09586018148968178,
0.09464029096722126,
0.09717393177356781,
0.09435878327696257,
0.09905076903199217,
0.0998014323413412,
0.10449341809637103,
0.09839389389004904,
0.10036451931587931,
0.10064602700613712,
0.10036451931587931,
0.10120904238665451,
0.103179667812485,
0.09604790101253435,
0.09426492351553706,
0.095860181489682,
0.09736165129642083,
0.09379569630242601,
0.09266966554139122,
0.09548481403799669,
0.09905076903199261,
0.10590102814168456,
0.10655790328362769,
0.10008301162562105,
0.07240025271453376,
0.09163742294776367,
0.08187808398601892,
0.08703922536013908,
0.10393040271585408,
0.10064602700613756,
0.095860181489682,
0.09792466667693822,
0.10871624823231074,
0.11753713276783184,
0.11040536596788231,
0.10111518262522812,
0.11200062394202726,
0.1138773896064309,
0.10580716838025772,
0.11406510912928347,
0.11246985115513852,
0.11078073341956673,
0.11472198427122637,
0.11415896889070987,
0.11171911625176834,
0.11875709488431285,
0.10280430036079968,
0.10186591752859786,
0.097924666676938,
0.09923841696082425,
0.09623554894136643,
0.10599488790311118,
0.10590102814168434,
0.10458727785779809,
0.10871624823231052,
0.12204147059402959,
0.11847558719405415,
0.11087452158697264,
0.1058071683802575,
0.09886304950913982,
0.10058847462317244,
0.09230986232727689,
0.08356084415510456,
0.07293034602554749,
0.06916731433691847,
0.09456765263091005,
0.10171740566191945,
0.10679748767548936,
0.08892314098489629,
0.08939354686117218,
0.07838666661150717,
0.09334469783599575,
0.0998359257045347,
0.1078323231842091,
0.10369298114933079,
0.11517019550141239,
0.11855691684379299,
0.11404126446266605,
0.11761617686510051,
0.11507609997138601,
0.1189332271900414,
0.10538634182052142,
0.08628904033501406,
0.08845273510862084,
0.09691953846457113,
0.0995536391144538,
0.1134768348302233,
0.11545241031763465,
0.12420142848980675,
0.11912134647623684,
0.1332326614782009,
0.13088077564454026,
0.13266823184575705,
0.12514216846849902,
0.1297518446057928,
0.13407937770072498,
0.13323266147820068,
0.13003413119587415,
0.13078668011451255,
0.1366193828205804,
0.12777626911838147,
0.12617700397721876,
0.1179448793001674,
0.12794672610237012,
0.1340799625710123,
0.14049625930932064,
0.15049810611152425,
0.15427241101444888,
0.1568200254303178,
0.1599338323743964,
0.15814102134800923,
0.16210408108996344,
0.15861283645670388,
0.16097176802242186,
0.16040564748309105,
0.1629532618989602,
0.16389682012747175,
0.1717284902029863,
0.1835231480315762,
0.18474976652975372,
0.18701439266483466,
0.17776734925211368,
0.1754084176863957,
0.1835231480315762,
0.18248521238354987,
0.18588207959729441,
0.18729745293450084,
0.19163787837675583,
0.19361937225329395,
0.19795979769555005,
0.2019227854486254,
0.20871659186499136,
0.21277388504870354,
0.2199449851764934,
0.21956761947619152,
0.22485160314695918,
0.23089046219608633,
0.2313622773047812,
0.22673871960398118,
0.22909765116969916,
0.2306074019264206,
0.22683316901237438,
0.24023188302832144,
0.23400426914016514,
0.23626889527524608,
0.23353245403147005,
0.23145658273541714,
0.23362690343986303,
0.23457038967949573,
0.23976006791962656,
0.24183593921567947,
0.23881643770223704,
0.24645949691647884,
0.24561017212972525,
0.24259081459403942,
0.24372305567270303,
0.22485160314695918,
0.2331550883311675,
0.2300412813870898,
0.2325889677918369,
0.23457038967949595,
0.242118999485345,
0.24787479826480752,
0.24995066956085976,
0.249101488751863,
0.2483466133735024,
0.25032803526116143,
0.24523280642942358,
0.24589323239939143,
0.24523280642942358,
0.24570462153811867,
0.2403261884589587,
0.23532526505785722,
0.23041864708739235,
0.24060924872862488,
0.238722132271602,
0.24070369813701786,
0.2510829106395225,
0.25079985036985764,
0.26589706998155505,
0.275049735974761,
0.27325692494837384,
0.2808998401848595,
0.2857512706749077,
0.29719143530487857,
0.29936598701447403,
0.295206018955946,
0.2956786409555898,
0.300406015096109,
0.30324246843402225,
0.3077808514818883,
0.30853710438852255,
0.3074970763068876,
0.3104281694591373,
0.31458813751766623,
0.3200719088328299,
0.2865076678495515,
0.2977586971188586,
0.30324246843402225,
0.31421001106434954,
0.3155336700529743,
0.32158470318211907,
0.33283587671943593,
0.3351995637896956,
0.33633408741765725,
0.33586132115000367,
0.3410614615581764,
0.3563782518757057,
0.35609447670070504,
0.35070534519987895,
0.3559999811543786,
0.35741827995734066,
0.32347562398472474,
0.3163845627739459,
0.3270684744972825,
0.3213010722751284,
0.3154391745066476,
0.3061734173182633,
0.3280140070325901,
0.3176137262162442,
0.33066132500984047,
0.33028305428851334,
0.3353886991503596,
0.3291485306605517,
0.3050388936903019,
0.32385389470605164,
0.300878781363763,
0.3013515476314168,
0.2876421914775127,
0.30031151954978275,
0.2885875797448114,
0.30248607125937865,
0.31099543127311957,
0.314682777332004,
0.33028305428851357,
0.33321400317275374,
0.3437087795354272,
0.3443706811637439,
0.35335266317712866,
0.3612946171088791,
0.36309104236515766,
0.3625237805511772,
0.3687639490409842,
0.365265594074754,
0.3697093373082827,
0.36110562601622487,
0.35997095812025326,
0.3577814217426105,
0.36090974938844456,
0.36460683757912515,
0.35929821296165154,
0.3617628902057155,
0.370389477533696,
0.36801954549738314,
0.3662183740059173,
0.33692604875289156,
0.34706942729991264,
0.3644172025144512,
0.3653652331886461,
0.36773516522495897,
0.339769996126301,
0.3388219654521072,
0.3371156838175642,
0.3574970414701861,
0.3526624321898093,
0.34868096372670454,
0.34583701635329467,
0.3500081198810736,
0.35531674449854633,
0.3712426183509667,
0.3859362259059407,
0.38404030920672483,
0.3716218884803122,
0.3757929920080909,
0.3790160648616747,
0.36707165947236,
0.38280789826010664,
0.3861258609706133,
0.3880217776698296,
0.379869205678947,
0.3846090697515727,
0.3797744604711959,
0.38214439250750876,
0.3778785437719798,
0.36944159150867306,
0.3681144353543053,
0.3537052080717542,
0.3572126611977622,
0.36944159150867306,
0.3689675761715763,
0.37882642979700165,
0.3800588407436194,
0.3829975333247795,
0.38432468947914855,
0.3978807759444276,
0.3997766926436437,
0.39816515621685156,
0.3992079320987958,
0.4033788909774021,
0.4008194685255877,
0.4062228383508115,
0.4110575922803601,
0.41285861912265354,
0.411152337488111,
0.40593845807838846,
0.4097304361259919,
0.4005350882531644,
0.4029050202894775,
0.39759625102283125,
0.3931409118718019,
0.4337141367615449,
0.43693720961512894,
0.4453682150153835,
0.4448933496194307,
0.4421383765683111,
0.4560078960069269,
0.46094759776616523,
0.46180267437505496,
0.4676923968318121,
0.45999772202145306,
0.4599026329800169,
0.461707585333619,
0.45638781731425104,
0.44954807415997444,
0.4680723181391353,
0.46246757290107254,
0.46132766402629555,
0.4771920239957719,
0.4789969763493729,
0.4844116884573708,
0.483746789931353,
0.48754658281581453,
0.46161264124499035,
0.47386709650726355,
0.4675974527431832,
0.45068812798755875,
0.4516380037322709,
0.45819276966785205,
0.4631326163798968,
0.46959229327404217,
0.48099181688023296,
0.47899697634937266,
0.4818468934891227,
0.48080192870297456,
0.49761616441716283,
0.5070208474924931,
0.498091174765922,
0.49647625554238584,
0.49666628867245066,
0.4949562804074781,
0.48688168428979606,
0.4870715724670547,
0.48887652482065636,
0.4827911470594701,
0.5087800804484275,
0.5234403814996613,
0.5261058907817042,
0.5414326417831288,
0.5474301102974053,
0.5475252551791354,
0.5439077160423502,
0.5544746082887912,
0.565898385508244,
0.561424106657809,
0.5782739020637149,
0.578559627227627,
0.5835097757460701,
0.6004548612930671,
0.6136872628215497,
0.6032156607162007,
0.6026445009070998,
0.6272052442545828,
0.6193040065495465,
0.6059763148799726,
0.6126400880850793,
0.5989318168885867,
0.5670407051264448,
0.5052576861933726,
0.545145325801643,
0.5251540061863234,
0.46080062285293866,
0.4860279614099743,
0.5123974743258495,
0.5202037124085175,
0.5486675747973349,
0.5774171623500641,
0.570372664358678,
0.5735140433087298,
0.569039909717657,
0.568849474694836,
0.6009308762204375,
0.6221598055950484,
0.602073195838638,
0.5917920287561091,
0.5658030953671527,
0.5801779617731979,
0.5976942071292946,
0.6044531252161303,
0.6081658092346434,
0.6170192220537838,
0.6484343188885553,
0.6571924415666037,
0.6346307575509718,
0.6343450323870596,
0.6329171328643095,
0.6280621292275947,
0.590744854019638,
0.5959805824426325,
0.5890312293329758,
0.5498100396748973,
0.5089703702118857,
0.5650415005352318,
0.514396678917062,
0.4969755784426946,
0.5243924113544023,
0.4804112176819775,
0.49707072332442404,
0.5206797273358887,
0.5293425598728461,
0.4910734000695087,
0.5015450021748586,
0.5346737236962922,
0.5258203108771531,
0.5441934412062619,
0.5361967681007729,
0.5479061252247752,
0.5812251365096683,
0.5844618056008108,
0.5698966494313074,
0.5450501809199124,
0.5411470618785779,
0.5084945005438766,
0.5103031248529075,
0.5420990917333202,
0.5430509763286997,
0.5347360371733612,
0.5522823814332725,
0.5431278303015659,
0.5429370680462062,
0.572212744603789,
0.5852772671800093,
0.5836561517818732,
0.6009164254132278,
0.6175091039053089,
0.6159834423893356,
0.6187488403016934,
0.6008209715310644,
0.6114060213145154,
0.6052076303505254,
0.5969112911044847,
0.6058750799808326,
0.6037771316987808,
0.6173184871589157,
0.6168416542750013,
0.6184627696731373,
0.6113107129413184,
0.6228492829836316,
0.621800454351574,
0.6472617588557732,
0.6621380135765218,
0.6672874303994856,
0.6770142682972706,
0.663377604463939,
0.6634730583461019,
0.6679550255387601,
0.6767281976687152,
0.6766328892955196,
0.6936070922983184,
0.6876946264539179,
0.6831173508880641,
0.6783493130668514,
0.690269407619883,
0.6755839151544933,
0.6718648514743066,
0.6341972362795529,
0.6408726056364245,
0.6185580780463342,
0.6324808125082197,
0.6368673258187147,
0.6478339001128837,
0.628761748828033,
0.6489781826271055,
0.6746302493866645,
0.6896972663627716,
0.6909370027591573,
0.6823544473755938,
0.7113441988135878,
0.7127745519563653,
0.7086739637654589,
0.7190683968025176,
0.715826020497278,
0.7072436106226827,
0.706862231620931,
0.7122977190724509,
0.719354467431073,
0.743385418792496,
0.7169704485204667,
0.6937977090447105,
0.6698622115654513,
0.6862486829449732,
0.6926515367250783,
0.7156827952765679,
0.7209389128038146,
0.7310688052266965,
0.7373761462593933,
0.7394785932702919,
0.7384273697648431,
0.7251438068256122,
0.7232325311305201,
0.7340313044272397,
0.7128158088234346,
0.7184542689822935,
0.7188364657929165,
0.7173073869084465,
0.7236147279411429,
0.7303042657844627,
0.7278196219629403,
0.7438745127869075,
0.7616496538111495,
0.764229956201069,
0.7845853996152308,
0.7814317290988826,
0.7837252016045986,
0.7760800988242262,
0.7531443530201458,
0.7374716590068027,
0.7307821211634828,
0.7366116068171584,
0.7499906825037979,
0.744830223544948,
0.7634654167588342,
0.7583049577999843,
0.7329800809217897,
0.7473148673664696,
0.7459769597978061,
0.7652811797065182,
0.7556291426626565,
0.7573492470419434,
0.7597383781160567,
0.7609807729373117,
0.7758889275084209,
0.7755065848768092,
0.7791381107721775,
0.7751243880661858,
0.7770356637612787,
0.7429189478498548,
0.7216077936776528,
0.711095704444147,
0.7166385060346088,
0.6411418766000356,
0.6207865790068618,
0.665893385351801,
0.6457291132534446,
0.6936072474831192,
0.694276128356957,
0.6549988076656943,
0.6534698746022132,
0.6619751753932175,
0.6558590056763265,
0.5800756921785384,
0.6347390228199308,
0.5926903742439316,
0.5599114200801829,
0.5856184937689999,
0.6260402899045165,
0.6474883773676887,
0.6218272309802104,
0.6178057145808658,
0.630061806303861,
0.6811927026579936,
0.6704686589264075,
0.6423178980268556,
0.5926232053495823,
0.5939637108160305,
0.5818033173034469,
0.6094752949426661,
0.6038260323415012,
0.5517375694667037,
0.5239698936170731,
0.5355556595547748,
0.5244486768774055,
0.5596849040549816,
0.564951227710363,
0.6153161000687919,
0.6100497764134103,
0.6217313866656613,
0.6500736900901738,
0.5867824002234567,
0.5979852272153754,
0.5452265846594226,
0.5614084945713518,
0.5665789739121838,
0.5803671136265873,
0.5808458968869195,
0.5423540312015649,
0.507404898655222,
0.5168842812349097,
0.4796372228055923,
0.4581889892382818,
0.41299474232482436,
0.37402409337913656,
0.45981688154424005,
0.4654661441454051,
0.4647001201497003,
0.48107928481423,
0.4870321213041089,
0.4384501309494313,
0.4999936378736223,
0.5178518543382373,
0.531581630070326,
0.5440632044169957,
0.5484796690842333,
0.5428150030315746,
0.5291813329460633,
0.5590410350319934,
0.5587530110972825,
0.5710425206533074,
0.5865963991377274,
0.5548164886528886,
0.5568326561958645,
0.5669139334182702,
0.5856362216870186,
0.5660498616141383,
0.5512640957897839,
0.5907248398702538,
0.6145358928247491,
0.607718984530738,
0.627689474184906,
0.6420912569304829,
0.6371947035378898,
0.6152078998382373,
0.6183763096225658,
0.6168400843024349,
0.6407470964009958,
0.6418991921398387,
0.6439155061853241,
0.6508283736234017,
0.6540927425517977,
0.6538047186170868,
0.6477559229831413,
0.6599494733950992,
0.6659982690290447,
0.6677264126373093,
0.6666702760425329,
0.6628298592447162,
0.6743512561406759,
0.6746392800753869,
0.6758874814608067,
0.6663822521078229,
0.6459316737282994,
0.6434354174599701,
0.6776156250690715,
0.6868328304873443,
0.699506323122147,
0.69662608377504,
0.7123720270501035,
0.7133320579983027,
0.7190928296975376,
0.7259095914890383,
0.7528890542278617,
0.7143881945930797,
0.7111238256646839,
0.7190928296975378,
0.7080513750244231,
0.7119878974688165,
0.7249495605408396,
0.7478002895421145,
0.7544251330454816,
0.7645064102678876,
0.7638344032543989,
0.772955503026096,
0.7774680733399106,
0.7712272129153215,
0.7807324422683053,
0.7765078958892015,
0.7841888759873443,
0.7844768999220553,
0.7906216547000675,
0.7968623686221472,
0.7991667066023425
]
},
{
"name": "^NDX Returns",
"type": "scatter",
"uid": "b5a02398-942e-446d-b54b-750da341d32a",
"x": [
"2015-07-07",
"2015-07-08",
"2015-07-09",
"2015-07-10",
"2015-07-13",
"2015-07-14",
"2015-07-15",
"2015-07-16",
"2015-07-17",
"2015-07-20",
"2015-07-21",
"2015-07-22",
"2015-07-23",
"2015-07-24",
"2015-07-27",
"2015-07-28",
"2015-07-29",
"2015-07-30",
"2015-07-31",
"2015-08-03",
"2015-08-04",
"2015-08-05",
"2015-08-06",
"2015-08-07",
"2015-08-10",
"2015-08-11",
"2015-08-12",
"2015-08-13",
"2015-08-14",
"2015-08-17",
"2015-08-18",
"2015-08-19",
"2015-08-20",
"2015-08-21",
"2015-08-24",
"2015-08-25",
"2015-08-26",
"2015-08-27",
"2015-08-28",
"2015-08-31",
"2015-09-01",
"2015-09-02",
"2015-09-03",
"2015-09-04",
"2015-09-08",
"2015-09-09",
"2015-09-10",
"2015-09-11",
"2015-09-14",
"2015-09-15",
"2015-09-16",
"2015-09-17",
"2015-09-18",
"2015-09-21",
"2015-09-22",
"2015-09-23",
"2015-09-24",
"2015-09-25",
"2015-09-28",
"2015-09-29",
"2015-09-30",
"2015-10-01",
"2015-10-02",
"2015-10-05",
"2015-10-06",
"2015-10-07",
"2015-10-08",
"2015-10-09",
"2015-10-12",
"2015-10-13",
"2015-10-14",
"2015-10-15",
"2015-10-16",
"2015-10-19",
"2015-10-20",
"2015-10-21",
"2015-10-22",
"2015-10-23",
"2015-10-26",
"2015-10-27",
"2015-10-28",
"2015-10-29",
"2015-10-30",
"2015-11-02",
"2015-11-03",
"2015-11-04",
"2015-11-05",
"2015-11-06",
"2015-11-09",
"2015-11-10",
"2015-11-11",
"2015-11-12",
"2015-11-13",
"2015-11-16",
"2015-11-17",
"2015-11-18",
"2015-11-19",
"2015-11-20",
"2015-11-23",
"2015-11-24",
"2015-11-25",
"2015-11-27",
"2015-11-30",
"2015-12-01",
"2015-12-02",
"2015-12-03",
"2015-12-04",
"2015-12-07",
"2015-12-08",
"2015-12-09",
"2015-12-10",
"2015-12-11",
"2015-12-14",
"2015-12-15",
"2015-12-16",
"2015-12-17",
"2015-12-18",
"2015-12-21",
"2015-12-22",
"2015-12-23",
"2015-12-24",
"2015-12-28",
"2015-12-29",
"2015-12-30",
"2015-12-31",
"2016-01-04",
"2016-01-05",
"2016-01-06",
"2016-01-07",
"2016-01-08",
"2016-01-11",
"2016-01-12",
"2016-01-13",
"2016-01-14",
"2016-01-15",
"2016-01-19",
"2016-01-20",
"2016-01-21",
"2016-01-22",
"2016-01-25",
"2016-01-26",
"2016-01-27",
"2016-01-28",
"2016-01-29",
"2016-02-01",
"2016-02-02",
"2016-02-03",
"2016-02-04",
"2016-02-05",
"2016-02-08",
"2016-02-09",
"2016-02-10",
"2016-02-11",
"2016-02-12",
"2016-02-16",
"2016-02-17",
"2016-02-18",
"2016-02-19",
"2016-02-22",
"2016-02-23",
"2016-02-24",
"2016-02-25",
"2016-02-26",
"2016-02-29",
"2016-03-01",
"2016-03-02",
"2016-03-03",
"2016-03-04",
"2016-03-07",
"2016-03-08",
"2016-03-09",
"2016-03-10",
"2016-03-11",
"2016-03-14",
"2016-03-15",
"2016-03-16",
"2016-03-17",
"2016-03-18",
"2016-03-21",
"2016-03-22",
"2016-03-23",
"2016-03-24",
"2016-03-28",
"2016-03-29",
"2016-03-30",
"2016-03-31",
"2016-04-01",
"2016-04-04",
"2016-04-05",
"2016-04-06",
"2016-04-07",
"2016-04-08",
"2016-04-11",
"2016-04-12",
"2016-04-13",
"2016-04-14",
"2016-04-15",
"2016-04-18",
"2016-04-19",
"2016-04-20",
"2016-04-21",
"2016-04-22",
"2016-04-25",
"2016-04-26",
"2016-04-27",
"2016-04-28",
"2016-04-29",
"2016-05-02",
"2016-05-03",
"2016-05-04",
"2016-05-05",
"2016-05-06",
"2016-05-09",
"2016-05-10",
"2016-05-11",
"2016-05-12",
"2016-05-13",
"2016-05-16",
"2016-05-17",
"2016-05-18",
"2016-05-19",
"2016-05-20",
"2016-05-23",
"2016-05-24",
"2016-05-25",
"2016-05-26",
"2016-05-27",
"2016-05-31",
"2016-06-01",
"2016-06-02",
"2016-06-03",
"2016-06-06",
"2016-06-07",
"2016-06-08",
"2016-06-09",
"2016-06-10",
"2016-06-13",
"2016-06-14",
"2016-06-15",
"2016-06-16",
"2016-06-17",
"2016-06-20",
"2016-06-21",
"2016-06-22",
"2016-06-23",
"2016-06-24",
"2016-06-27",
"2016-06-28",
"2016-06-29",
"2016-06-30",
"2016-07-01",
"2016-07-05",
"2016-07-06",
"2016-07-07",
"2016-07-08",
"2016-07-11",
"2016-07-12",
"2016-07-13",
"2016-07-14",
"2016-07-15",
"2016-07-18",
"2016-07-19",
"2016-07-20",
"2016-07-21",
"2016-07-22",
"2016-07-25",
"2016-07-26",
"2016-07-27",
"2016-07-28",
"2016-07-29",
"2016-08-01",
"2016-08-02",
"2016-08-03",
"2016-08-04",
"2016-08-05",
"2016-08-08",
"2016-08-09",
"2016-08-10",
"2016-08-11",
"2016-08-12",
"2016-08-15",
"2016-08-16",
"2016-08-17",
"2016-08-18",
"2016-08-19",
"2016-08-22",
"2016-08-23",
"2016-08-24",
"2016-08-25",
"2016-08-26",
"2016-08-29",
"2016-08-30",
"2016-08-31",
"2016-09-01",
"2016-09-02",
"2016-09-06",
"2016-09-07",
"2016-09-08",
"2016-09-09",
"2016-09-12",
"2016-09-13",
"2016-09-14",
"2016-09-15",
"2016-09-16",
"2016-09-19",
"2016-09-20",
"2016-09-21",
"2016-09-22",
"2016-09-23",
"2016-09-26",
"2016-09-27",
"2016-09-28",
"2016-09-29",
"2016-09-30",
"2016-10-03",
"2016-10-04",
"2016-10-05",
"2016-10-06",
"2016-10-07",
"2016-10-10",
"2016-10-11",
"2016-10-12",
"2016-10-13",
"2016-10-14",
"2016-10-17",
"2016-10-18",
"2016-10-19",
"2016-10-20",
"2016-10-21",
"2016-10-24",
"2016-10-25",
"2016-10-26",
"2016-10-27",
"2016-10-28",
"2016-10-31",
"2016-11-01",
"2016-11-02",
"2016-11-03",
"2016-11-04",
"2016-11-07",
"2016-11-08",
"2016-11-09",
"2016-11-10",
"2016-11-11",
"2016-11-14",
"2016-11-15",
"2016-11-16",
"2016-11-17",
"2016-11-18",
"2016-11-21",
"2016-11-22",
"2016-11-23",
"2016-11-25",
"2016-11-28",
"2016-11-29",
"2016-11-30",
"2016-12-01",
"2016-12-02",
"2016-12-05",
"2016-12-06",
"2016-12-07",
"2016-12-08",
"2016-12-09",
"2016-12-12",
"2016-12-13",
"2016-12-14",
"2016-12-15",
"2016-12-16",
"2016-12-19",
"2016-12-20",
"2016-12-21",
"2016-12-22",
"2016-12-23",
"2016-12-27",
"2016-12-28",
"2016-12-29",
"2016-12-30",
"2017-01-03",
"2017-01-04",
"2017-01-05",
"2017-01-06",
"2017-01-09",
"2017-01-10",
"2017-01-11",
"2017-01-12",
"2017-01-13",
"2017-01-17",
"2017-01-18",
"2017-01-19",
"2017-01-20",
"2017-01-23",
"2017-01-24",
"2017-01-25",
"2017-01-26",
"2017-01-27",
"2017-01-30",
"2017-01-31",
"2017-02-01",
"2017-02-02",
"2017-02-03",
"2017-02-06",
"2017-02-07",
"2017-02-08",
"2017-02-09",
"2017-02-10",
"2017-02-13",
"2017-02-14",
"2017-02-15",
"2017-02-16",
"2017-02-17",
"2017-02-21",
"2017-02-22",
"2017-02-23",
"2017-02-24",
"2017-02-27",
"2017-02-28",
"2017-03-01",
"2017-03-02",
"2017-03-03",
"2017-03-06",
"2017-03-07",
"2017-03-08",
"2017-03-09",
"2017-03-10",
"2017-03-13",
"2017-03-14",
"2017-03-15",
"2017-03-16",
"2017-03-17",
"2017-03-20",
"2017-03-21",
"2017-03-22",
"2017-03-23",
"2017-03-24",
"2017-03-27",
"2017-03-28",
"2017-03-29",
"2017-03-30",
"2017-03-31",
"2017-04-03",
"2017-04-04",
"2017-04-05",
"2017-04-06",
"2017-04-07",
"2017-04-10",
"2017-04-11",
"2017-04-12",
"2017-04-13",
"2017-04-17",
"2017-04-18",
"2017-04-19",
"2017-04-20",
"2017-04-21",
"2017-04-24",
"2017-04-25",
"2017-04-26",
"2017-04-27",
"2017-04-28",
"2017-05-01",
"2017-05-02",
"2017-05-03",
"2017-05-04",
"2017-05-05",
"2017-05-08",
"2017-05-09",
"2017-05-10",
"2017-05-11",
"2017-05-12",
"2017-05-15",
"2017-05-16",
"2017-05-17",
"2017-05-18",
"2017-05-19",
"2017-05-22",
"2017-05-23",
"2017-05-24",
"2017-05-25",
"2017-05-26",
"2017-05-30",
"2017-05-31",
"2017-06-01",
"2017-06-02",
"2017-06-05",
"2017-06-06",
"2017-06-07",
"2017-06-08",
"2017-06-09",
"2017-06-12",
"2017-06-13",
"2017-06-14",
"2017-06-15",
"2017-06-16",
"2017-06-19",
"2017-06-20",
"2017-06-21",
"2017-06-22",
"2017-06-23",
"2017-06-26",
"2017-06-27",
"2017-06-28",
"2017-06-29",
"2017-06-30",
"2017-07-03",
"2017-07-05",
"2017-07-06",
"2017-07-07",
"2017-07-10",
"2017-07-11",
"2017-07-12",
"2017-07-13",
"2017-07-14",
"2017-07-17",
"2017-07-18",
"2017-07-19",
"2017-07-20",
"2017-07-21",
"2017-07-24",
"2017-07-25",
"2017-07-26",
"2017-07-27",
"2017-07-28",
"2017-07-31",
"2017-08-01",
"2017-08-02",
"2017-08-03",
"2017-08-04",
"2017-08-07",
"2017-08-08",
"2017-08-09",
"2017-08-10",
"2017-08-11",
"2017-08-14",
"2017-08-15",
"2017-08-16",
"2017-08-17",
"2017-08-18",
"2017-08-21",
"2017-08-22",
"2017-08-23",
"2017-08-24",
"2017-08-25",
"2017-08-28",
"2017-08-29",
"2017-08-30",
"2017-08-31",
"2017-09-01",
"2017-09-05",
"2017-09-06",
"2017-09-07",
"2017-09-08",
"2017-09-11",
"2017-09-12",
"2017-09-13",
"2017-09-14",
"2017-09-15",
"2017-09-18",
"2017-09-19",
"2017-09-20",
"2017-09-21",
"2017-09-22",
"2017-09-25",
"2017-09-26",
"2017-09-27",
"2017-09-28",
"2017-09-29",
"2017-10-02",
"2017-10-03",
"2017-10-04",
"2017-10-05",
"2017-10-06",
"2017-10-09",
"2017-10-10",
"2017-10-11",
"2017-10-12",
"2017-10-13",
"2017-10-16",
"2017-10-17",
"2017-10-18",
"2017-10-19",
"2017-10-20",
"2017-10-23",
"2017-10-24",
"2017-10-25",
"2017-10-26",
"2017-10-27",
"2017-10-30",
"2017-10-31",
"2017-11-01",
"2017-11-02",
"2017-11-03",
"2017-11-06",
"2017-11-07",
"2017-11-08",
"2017-11-09",
"2017-11-10",
"2017-11-13",
"2017-11-14",
"2017-11-15",
"2017-11-16",
"2017-11-17",
"2017-11-20",
"2017-11-21",
"2017-11-22",
"2017-11-24",
"2017-11-27",
"2017-11-28",
"2017-11-29",
"2017-11-30",
"2017-12-01",
"2017-12-04",
"2017-12-05",
"2017-12-06",
"2017-12-07",
"2017-12-08",
"2017-12-11",
"2017-12-12",
"2017-12-13",
"2017-12-14",
"2017-12-15",
"2017-12-18",
"2017-12-19",
"2017-12-20",
"2017-12-21",
"2017-12-22",
"2017-12-26",
"2017-12-27",
"2017-12-28",
"2017-12-29",
"2018-01-02",
"2018-01-03",
"2018-01-04",
"2018-01-05",
"2018-01-08",
"2018-01-09",
"2018-01-10",
"2018-01-11",
"2018-01-12",
"2018-01-16",
"2018-01-17",
"2018-01-18",
"2018-01-19",
"2018-01-22",
"2018-01-23",
"2018-01-24",
"2018-01-25",
"2018-01-26",
"2018-01-29",
"2018-01-30",
"2018-01-31",
"2018-02-01",
"2018-02-02",
"2018-02-05",
"2018-02-06",
"2018-02-07",
"2018-02-08",
"2018-02-09",
"2018-02-12",
"2018-02-13",
"2018-02-14",
"2018-02-15",
"2018-02-16",
"2018-02-20",
"2018-02-21",
"2018-02-22",
"2018-02-23",
"2018-02-26",
"2018-02-27",
"2018-02-28",
"2018-03-01",
"2018-03-02",
"2018-03-05",
"2018-03-06",
"2018-03-07",
"2018-03-08",
"2018-03-09",
"2018-03-12",
"2018-03-13",
"2018-03-14",
"2018-03-15",
"2018-03-16",
"2018-03-19",
"2018-03-20",
"2018-03-21",
"2018-03-22",
"2018-03-23",
"2018-03-26",
"2018-03-27",
"2018-03-28",
"2018-03-29",
"2018-04-02",
"2018-04-03",
"2018-04-04",
"2018-04-05",
"2018-04-06",
"2018-04-09",
"2018-04-10",
"2018-04-11",
"2018-04-12",
"2018-04-13",
"2018-04-16",
"2018-04-17",
"2018-04-18",
"2018-04-19",
"2018-04-20",
"2018-04-23",
"2018-04-24",
"2018-04-25",
"2018-04-26",
"2018-04-27",
"2018-04-30",
"2018-05-01",
"2018-05-02",
"2018-05-03",
"2018-05-04",
"2018-05-07",
"2018-05-08",
"2018-05-09",
"2018-05-10",
"2018-05-11",
"2018-05-14",
"2018-05-15",
"2018-05-16",
"2018-05-17",
"2018-05-18",
"2018-05-21",
"2018-05-22",
"2018-05-23",
"2018-05-24",
"2018-05-25",
"2018-05-29",
"2018-05-30",
"2018-05-31",
"2018-06-01",
"2018-06-04",
"2018-06-05",
"2018-06-06",
"2018-06-07",
"2018-06-08",
"2018-06-11",
"2018-06-12",
"2018-06-13",
"2018-06-14",
"2018-06-15",
"2018-06-18",
"2018-06-19",
"2018-06-20",
"2018-06-21",
"2018-06-22",
"2018-06-25",
"2018-06-26",
"2018-06-27",
"2018-06-28",
"2018-06-29",
"2018-07-02",
"2018-07-03",
"2018-07-05",
"2018-07-06",
"2018-07-09",
"2018-07-10",
"2018-07-11",
"2018-07-12",
"2018-07-13",
"2018-07-16",
"2018-07-17",
"2018-07-18",
"2018-07-19",
"2018-07-20",
"2018-07-23",
"2018-07-24",
"2018-07-25",
"2018-07-26",
"2018-07-27",
"2018-07-30",
"2018-07-31",
"2018-08-01",
"2018-08-02",
"2018-08-03",
"2018-08-06",
"2018-08-07",
"2018-08-08",
"2018-08-09",
"2018-08-10",
"2018-08-13",
"2018-08-14",
"2018-08-15",
"2018-08-16",
"2018-08-17",
"2018-08-20",
"2018-08-21",
"2018-08-22",
"2018-08-23",
"2018-08-24",
"2018-08-27",
"2018-08-28",
"2018-08-29",
"2018-08-30",
"2018-08-31",
"2018-09-04",
"2018-09-05",
"2018-09-06",
"2018-09-07",
"2018-09-10",
"2018-09-11",
"2018-09-12",
"2018-09-13",
"2018-09-14",
"2018-09-17",
"2018-09-18",
"2018-09-19",
"2018-09-20",
"2018-09-21",
"2018-09-24",
"2018-09-25",
"2018-09-26",
"2018-09-27",
"2018-09-28",
"2018-10-01",
"2018-10-02",
"2018-10-03",
"2018-10-04",
"2018-10-05",
"2018-10-08",
"2018-10-09",
"2018-10-10",
"2018-10-11",
"2018-10-12",
"2018-10-15",
"2018-10-16",
"2018-10-17",
"2018-10-18",
"2018-10-19",
"2018-10-22",
"2018-10-23",
"2018-10-24",
"2018-10-25",
"2018-10-26",
"2018-10-29",
"2018-10-30",
"2018-10-31",
"2018-11-01",
"2018-11-02",
"2018-11-05",
"2018-11-06",
"2018-11-07",
"2018-11-08",
"2018-11-09",
"2018-11-12",
"2018-11-13",
"2018-11-14",
"2018-11-15",
"2018-11-16",
"2018-11-19",
"2018-11-20",
"2018-11-21",
"2018-11-23",
"2018-11-26",
"2018-11-27",
"2018-11-28",
"2018-11-29",
"2018-11-30",
"2018-12-03",
"2018-12-04",
"2018-12-06",
"2018-12-07",
"2018-12-10",
"2018-12-11",
"2018-12-12",
"2018-12-13",
"2018-12-14",
"2018-12-17",
"2018-12-18",
"2018-12-19",
"2018-12-20",
"2018-12-21",
"2018-12-24",
"2018-12-26",
"2018-12-27",
"2018-12-28",
"2018-12-31",
"2019-01-02",
"2019-01-03",
"2019-01-04",
"2019-01-07",
"2019-01-08",
"2019-01-09",
"2019-01-10",
"2019-01-11",
"2019-01-14",
"2019-01-15",
"2019-01-16",
"2019-01-17",
"2019-01-18",
"2019-01-22",
"2019-01-23",
"2019-01-24",
"2019-01-25",
"2019-01-28",
"2019-01-29",
"2019-01-30",
"2019-01-31",
"2019-02-01",
"2019-02-04",
"2019-02-05",
"2019-02-06",
"2019-02-07",
"2019-02-08",
"2019-02-11",
"2019-02-12",
"2019-02-13",
"2019-02-14",
"2019-02-15",
"2019-02-19",
"2019-02-20",
"2019-02-21",
"2019-02-22",
"2019-02-25",
"2019-02-26",
"2019-02-27",
"2019-02-28",
"2019-03-01",
"2019-03-04",
"2019-03-05",
"2019-03-06",
"2019-03-07",
"2019-03-08",
"2019-03-11",
"2019-03-12",
"2019-03-13",
"2019-03-14",
"2019-03-15",
"2019-03-18",
"2019-03-19",
"2019-03-20",
"2019-03-21",
"2019-03-22",
"2019-03-25",
"2019-03-26",
"2019-03-27",
"2019-03-28",
"2019-03-29",
"2019-04-01",
"2019-04-02",
"2019-04-03",
"2019-04-04",
"2019-04-05",
"2019-04-08",
"2019-04-09",
"2019-04-10",
"2019-04-11",
"2019-04-12",
"2019-04-15",
"2019-04-16",
"2019-04-17",
"2019-04-18"
],
"y": [
0,
-0.017493549295728106,
-0.017392013749742974,
-0.0020117487981928805,
0.014768405798219808,
0.02131607045310102,
0.022420062806515206,
0.03744357528596143,
0.05250324809014484,
0.056585395969336094,
0.05539552284467053,
0.04384229909108539,
0.03923406258492235,
0.028970042604137936,
0.0203270635225552,
0.02961574693946334,
0.03444072490426531,
0.03827669593852234,
0.03609120118976228,
0.034183303080296934,
0.0312504582053339,
0.039100886754792175,
0.02245390798850977,
0.02055064016452901,
0.03252378671361589,
0.019175665865369673,
0.022381697583927718,
0.020378988866919245,
0.02295750665741325,
0.03100207646254982,
0.02551551889790349,
0.01847792594078812,
-0.009918622732607463,
-0.05233391193527781,
-0.08815865121988775,
-0.09318907054184855,
-0.047292192511836584,
-0.023535520628749085,
-0.022564593860572524,
-0.03487872786213697,
-0.064670646139803,
-0.03902184116687635,
-0.04389422443544999,
-0.05516742616210557,
-0.02834241843118246,
-0.039649465339833045,
-0.029974814554310614,
-0.023894477998702812,
-0.027161585387701415,
-0.015529316046199781,
-0.010248254961158554,
-0.00995698795519473,
-0.023752262087388343,
-0.020981918183958448,
-0.034987098591456656,
-0.03511586462588723,
-0.037922258609161985,
-0.0461316445285741,
-0.07351217627276407,
-0.07805040727219459,
-0.05599382187622537,
-0.05330704360130445,
-0.036488523782304494,
-0.02204302527419344,
-0.027626598344232645,
-0.021584737256104547,
-0.017816456585837637,
-0.013332466073513127,
-0.010498841601792819,
-0.017186517270138757,
-0.018545726549671904,
-0.0024474366133218073,
0.0021584847500988324,
0.007452995712023958,
0.002059154101963445,
-0.0035086539484492363,
0.0167439942716745,
0.04403412520402106,
0.04556046574057193,
0.04745248858551854,
0.05633701422655135,
0.05457133202840048,
0.049620013416802555,
0.06205828316731288,
0.06547433140606795,
0.06513565909633279,
0.061827981586897174,
0.06280563329351563,
0.05113047868883469,
0.04801694243507737,
0.04693544003973149,
0.036095721230354316,
0.016500132569482462,
0.030798895125686787,
0.030877830468710954,
0.05066083544681921,
0.051092113466247646,
0.058093546098625604,
0.05548129337102914,
0.05426661514555309,
0.0550500153516007,
0.05676377220538775,
0.05316019740450373,
0.06482190213230066,
0.058062016059372556,
0.04011910858184731,
0.06481286205111636,
0.05973277740508798,
0.05999240412690665,
0.04359391734830087,
0.04831493437948309,
0.02449729707084769,
0.03185779731807181,
0.03799226411589318,
0.05317155262843043,
0.03817516039253732,
0.019365287080455484,
0.02968795734404539,
0.03617013653278622,
0.04414701597393278,
0.04373613325961534,
0.04341554111224877,
0.05915928347434485,
0.05033792815671001,
0.037075577834822404,
0.015533725841897938,
0.012445104933843876,
0.003370958077725028,
-0.027847859843464162,
-0.035736763860402254,
-0.03285352918706064,
-0.021525976728406615,
-0.05552869867480226,
-0.03524220527268351,
-0.0650205634285731,
-0.06366818933237439,
-0.06610438096666116,
-0.06467737107824567,
-0.03822256569631066,
-0.052501043192296315,
-0.044074805569352504,
-0.06777966235296873,
-0.05486491417710826,
-0.033842425872713355,
-0.03217386942484779,
-0.05327540331715941,
-0.05804614079485548,
-0.05899446736007108,
-0.09134897304126599,
-0.10575384630649365,
-0.10865962606034985,
-0.10448718761420739,
-0.10540387389527783,
-0.09254110618622735,
-0.07331803501708578,
-0.0519207140782183,
-0.0626701423206446,
-0.05982538311478269,
-0.04465733958127949,
-0.06017530040355201,
-0.051568481646706354,
-0.042446929486816054,
-0.04367516783406877,
-0.05146463095797904,
-0.021550892074109318,
-0.021374720735907293,
-0.023300699007741454,
-0.02259171410412586,
-0.028387508592211952,
-0.036926636985067374,
-0.030667924193407692,
-0.032081263715154296,
-0.015179288512537914,
-0.013937490043508638,
-0.013993935428464499,
-0.0056128982114425074,
-0.006502574493852387,
-0.004115993061186929,
-0.00046964324201614893,
0.0019327032102756103,
-0.005983210805322936,
-0.005312701369187045,
-0.006997022836678801,
0.0087287496079409,
0.013957775103725867,
0.012327694123340116,
0.023260018642410563,
0.018658617319582183,
0.009412819165853348,
0.025901596511409775,
0.010437876176243366,
0.010356625690476795,
0.006694400606787054,
0.015122843127580499,
0.028371743572584096,
0.028351348267473098,
0.025761695742837487,
0.031665860960243375,
0.02439113123937786,
0.02514752144676491,
0.02522877193253148,
0.010189494433459068,
0.01017593431168251,
0.005398471895544432,
-0.002806504228167972,
-0.014691565108153726,
-0.01981464526225396,
-0.010783383669314417,
-0.01979424995714285,
-0.02642779538327511,
-0.026998974171275836,
-0.022327567341715038,
-0.01983041028188015,
-0.006100621615826807,
-0.015359979891332087,
-0.01947365780977628,
-0.023149443015242466,
-0.010968484843808413,
-0.024045733991201912,
-0.020507754901350594,
-0.025621684729374095,
-0.014937741953088057,
-0.016698793865754236,
0.003440853339565342,
0.010695298000212183,
0.013298510646624129,
0.018848238534668216,
0.02141088106064326,
0.020548325021786384,
0.02309520252813524,
0.018227339300153744,
0.021352120532945218,
0.018972374283614313,
0.020674775913474885,
0.018882083716663445,
0.007222694131608698,
-0.0014224898478240044,
-0.0009369713412895608,
-0.004414095250485306,
-0.0010905424765309535,
-0.012345774285710265,
-0.0065250644519210255,
-0.003535774192002128,
-0.005493282503089003,
0.008674509120834673,
-0.03236801068052597,
-0.05148050622249811,
-0.03129102832577213,
-0.014522228953286143,
-0.002564847423825678,
0.0018943379876881217,
-0.004134073223555967,
0.003531254151408314,
0.006890857005207751,
0.02242006280651454,
0.028369428429841914,
0.033539803642821164,
0.03086658548967658,
0.037802642900806926,
0.036298902567216906,
0.04303850357992656,
0.03933559813090737,
0.05150983136389953,
0.04921133560033519,
0.053512429836015674,
0.05348089979676285,
0.05487615915614086,
0.06182346154630536,
0.06600725521637418,
0.06799860870945595,
0.07382604348168731,
0.06551049173080559,
0.06892433507171103,
0.07106473965944193,
0.08176676259809668,
0.08030601777257851,
0.0827918196084867,
0.08000119064483835,
0.0844987412789393,
0.0853499420938697,
0.08987461297152399,
0.08311693179644575,
0.08498194464273179,
0.08571121460656617,
0.08513772067582304,
0.08568409436301305,
0.08792382959887912,
0.08002379084779943,
0.07820397840743509,
0.08006888100882859,
0.081739642354544,
0.07833042929912337,
0.07721497147688994,
0.08012532639378467,
0.08346695933010784,
0.09041415147537979,
0.09094476014294361,
0.08465451731203122,
0.0570053187648385,
0.07576999167099863,
0.0663323674043339,
0.07157274812404557,
0.08824442174624614,
0.08782670384859426,
0.08286403001306963,
0.08493001929836841,
0.09588714891824957,
0.10437876176244099,
0.09705221694210442,
0.0876280425523237,
0.09881326885477071,
0.10074597206504676,
0.09239878003001967,
0.10084309781533207,
0.09879518869240189,
0.0971786678337927,
0.10130590587401334,
0.1004411449373066,
0.0983188205119443,
0.10492293055178115,
0.08869829996863521,
0.0881857714634402,
0.08445133597516818,
0.08566601420064424,
0.08288663021603004,
0.09271948242227834,
0.09201722245710475,
0.09113669650077161,
0.09546039093941272,
0.10858063559487818,
0.10439915706755154,
0.09743145937227604,
0.09198117237725967,
0.08501347468198439,
0.08403813811810812,
0.07628704021678501,
0.06724905368540357,
0.056454425037055556,
0.0522458262661758,
0.077820105691778,
0.0848622186894854,
0.08943661001365344,
0.07179169448053391,
0.0729026322621753,
0.06163384033121955,
0.07572942155056128,
0.08200610425969734,
0.08975488701827805,
0.08556668355250929,
0.09707250200232265,
0.10042306477493756,
0.09591195401906005,
0.09956061898097301,
0.0966254589632678,
0.10028084886362287,
0.0861921028276158,
0.06887240972734765,
0.07006228285201321,
0.07881583756076571,
0.08119326866735421,
0.09547847110178198,
0.09711538726550217,
0.105403818772831,
0.10052691546366521,
0.11442152024399399,
0.11112067791789282,
0.11387294165895412,
0.10968462794829303,
0.11419805384691295,
0.11847654787963235,
0.11737255552621817,
0.11409420315818553,
0.11536532676861766,
0.12118824150025675,
0.1122653506366369,
0.11045678317530672,
0.09811563917508193,
0.10888766762046909,
0.11473086741232663,
0.12099410024457868,
0.13050625005856786,
0.13452963741006108,
0.13684841823384386,
0.1402441814123805,
0.138261868000483,
0.14234390563478194,
0.13898882282157476,
0.1415176201655548,
0.14046092287101963,
0.14317713653223585,
0.14374159038179468,
0.15172519476138335,
0.16310687746225083,
0.1643373207073533,
0.166852557929557,
0.15810804330198902,
0.15527221393241897,
0.16338226920369592,
0.16225567664732088,
0.1653940180018889,
0.16682995772659637,
0.17087594528105043,
0.17329185185511875,
0.1768095458847514,
0.1800901031506339,
0.18689287448674152,
0.19011026142922605,
0.19718180981322897,
0.19678669211853772,
0.20222352923667009,
0.2080960541699306,
0.2084121262767049,
0.20395073596734115,
0.20642077278362292,
0.20737802918513037,
0.20348561276591748,
0.21718607629056796,
0.210925048356166,
0.21323258420091484,
0.21025905896062236,
0.20822018991887647,
0.21014616819071064,
0.21108765957259168,
0.21603677328633952,
0.2179942815974263,
0.21519461255259364,
0.2228892650689609,
0.22194777368707963,
0.22119810841813448,
0.2222254805712669,
0.2039867860471858,
0.21189365998159992,
0.20909178603891743,
0.2110921796131835,
0.2134109604369665,
0.22084819112936493,
0.2260547266670816,
0.22819292635696264,
0.22740037582483819,
0.2264905247271023,
0.22834418234946163,
0.22340179357415546,
0.22393460713956914,
0.22336794839216045,
0.2241152985183632,
0.21885904253413258,
0.21403406456933038,
0.2087417585052549,
0.21903973391292686,
0.2173373322830663,
0.21913906456106202,
0.2290485369675923,
0.22871438469844918,
0.24361144628620712,
0.2526788682038841,
0.2510757972221589,
0.25789212868004285,
0.2606579525428807,
0.271066503577722,
0.2743267757833858,
0.2700573218318505,
0.2703191534515188,
0.27478285890362475,
0.27771349888073793,
0.28205758862449026,
0.28281849887246957,
0.2811341774049778,
0.28397673171299,
0.2879662738824882,
0.29247286459777366,
0.2599851279640022,
0.27031694855366917,
0.276017932434212,
0.28681928602100193,
0.28771116720126155,
0.29379591355256895,
0.30464930272861523,
0.3069048029841077,
0.3083204576485967,
0.3070041336322431,
0.3132605312811607,
0.3279250863906531,
0.32717101132600823,
0.3223505534017983,
0.32705128537276207,
0.3287920522252097,
0.2964240415446846,
0.2888017096777922,
0.2986547366993664,
0.293066643588735,
0.28715575343288724,
0.28277329846654786,
0.30326076830767956,
0.2928951025360178,
0.3055569489285017,
0.30498797503835084,
0.3102350806965044,
0.30447313139041343,
0.2805426033118661,
0.2989279235429614,
0.2763475646627629,
0.27497027522086115,
0.263690238310871,
0.27539923809754696,
0.2639024597289177,
0.27712655507311035,
0.28563393293692796,
0.289167391986187,
0.3047802736608951,
0.3080337106832245,
0.3181307096518835,
0.3185055422863561,
0.3276180543650622,
0.3357597499204841,
0.3369022177413781,
0.33697211300321794,
0.34145169371984285,
0.3390312671051823,
0.34356497806402087,
0.3359560960740122,
0.33412503865461374,
0.3276699797094258,
0.3310205424820407,
0.3353239518604634,
0.33012425150608116,
0.3320907998983522,
0.33995247342684465,
0.33806045058189804,
0.336489019884318,
0.30686643776151956,
0.31665177441910397,
0.3339557024997457,
0.3338563718516103,
0.336044181743113,
0.3087020152215103,
0.30748061205759214,
0.3064939202697894,
0.326089508930661,
0.3212238506005294,
0.31730883397835563,
0.3146197405606923,
0.31813070965188306,
0.32356302672942316,
0.3395392755697846,
0.35211535143590966,
0.35195726026007623,
0.3395009103471973,
0.34365526863097107,
0.34663110901400573,
0.3351298106047844,
0.3502932238528029,
0.3537048622958583,
0.35567813562657147,
0.3476493308410611,
0.35197986046303686,
0.3504265099278254,
0.352675285244876,
0.34873083323640697,
0.33999315379217343,
0.3394083046375038,
0.3247393397323117,
0.3278979661470982,
0.34064337816809087,
0.3395776407923714,
0.35001551696861566,
0.3506070910617274,
0.35357389136357775,
0.3544272970763578,
0.36759042699500255,
0.36926791327915987,
0.3679041839590347,
0.36903088676030227,
0.37303398905157703,
0.370491741830713,
0.3755627863955573,
0.3805479501891502,
0.38237228267010703,
0.3805073800687133,
0.37560115161814456,
0.3792587464163495,
0.3700040184263289,
0.3728014825733119,
0.36711626371239525,
0.36323961231280877,
0.4028868727547914,
0.40607482431098085,
0.41080951170883195,
0.4108297967690506,
0.40806176800836313,
0.4214257641211281,
0.42549655677639264,
0.42711539277774424,
0.4327667664566657,
0.4251804846696181,
0.4244714997660024,
0.42607688589046977,
0.42098776116325687,
0.41302212670114447,
0.43126082122522535,
0.42569973811325457,
0.42436764907727453,
0.44017687690551055,
0.44186803355633675,
0.4470993741948641,
0.4463498191708113,
0.45009549963811724,
0.4249930683523808,
0.4372259518681787,
0.43097407425985357,
0.4142278750903283,
0.4145461520949525,
0.4208544750882335,
0.4260993758485374,
0.4324867444297351,
0.4436223605305607,
0.4413103046452198,
0.4437984216238702,
0.44272375441185874,
0.45997564690324455,
0.47057613429591405,
0.46321563404868993,
0.4613664964669226,
0.46141390177069397,
0.45971602018142566,
0.45248880600922425,
0.45293805394612874,
0.45435370861061775,
0.44419353931856076,
0.4701403362358929,
0.4846942054733234,
0.4866766291301132,
0.5021900699117934,
0.507459775772908,
0.5077555628194639,
0.5043056693987136,
0.5146532550080067,
0.5259535769782151,
0.521121874074971,
0.5376354565213382,
0.5378838382641224,
0.5430655687010286,
0.559310484344393,
0.5722207124796614,
0.5622615196266174,
0.5615728197832204,
0.5856570292419014,
0.5778336106911035,
0.5648308870910346,
0.5691794968753792,
0.5582312970917898,
0.5263486946729068,
0.4666588025309977,
0.5050552244227668,
0.4860986151587783,
0.42380099032986474,
0.4478648044834348,
0.47296492062642903,
0.4797405717189833,
0.5070985032602122,
0.5341674829382199,
0.5286900756996507,
0.5307288344965042,
0.5261160779497491,
0.526700927104419,
0.5571249895956336,
0.5780097820293062,
0.5579716703699718,
0.5476014845577177,
0.5241473246596282,
0.537807107818949,
0.5536659458488067,
0.5608323048403523,
0.564528375106037,
0.5728913321606903,
0.6033153946519052,
0.6100752807248333,
0.5909718252640457,
0.5897233018565746,
0.5874632815604901,
0.5849751645818395,
0.5499631506446803,
0.5547136030621578,
0.547382538201229,
0.5087308993833408,
0.46940654623146694,
0.5248901547452387,
0.4743172947226275,
0.4587316435363651,
0.48589763871976555,
0.442933660687163,
0.45828460049731023,
0.48114046136384614,
0.4889930948111545,
0.45250005098825863,
0.4613348561827775,
0.4937413423307824,
0.4864192073061455,
0.5028605793479304,
0.49655677639524143,
0.5071324586871004,
0.5390105410653914,
0.5428126669176534,
0.5296451272033089,
0.5054548621580508,
0.5011762578804386,
0.4696232876901063,
0.47072739028841304,
0.5013681942382668,
0.5028809746530412,
0.4914157263236647,
0.5086632090193506,
0.5002009213165619,
0.49997513977673846,
0.5283423633087312,
0.5402523395344201,
0.538809564626378,
0.5563595593070618,
0.5722409975398801,
0.5697597157445642,
0.5724262089592667,
0.5553051771552691,
0.5646593460383174,
0.5582606222331927,
0.550272497813012,
0.5591411481895256,
0.5564521650167549,
0.5700012623040138,
0.5691140114092388,
0.5716472185489183,
0.563884875668561,
0.575135587437148,
0.5731848040645031,
0.5994206630899495,
0.6128861947486994,
0.618119850529969,
0.6279029822897035,
0.6149769891348089,
0.6149295838310374,
0.618510448184068,
0.627699800952841,
0.6268146447110232,
0.6435970042052856,
0.6382166124721094,
0.6372345509697912,
0.6319580099253421,
0.6438477010908126,
0.6295760587781614,
0.6250648377773913,
0.5890888425002827,
0.5958691238783216,
0.5736228070223737,
0.5876054974718035,
0.5896826214912438,
0.6025566893017749,
0.5837558560708775,
0.6032859592656092,
0.6272820830551891,
0.6427864837556849,
0.6442766639674984,
0.6355569544407411,
0.6631632677247545,
0.6653239573727041,
0.66127796981825,
0.6716617157522804,
0.6685549044369652,
0.6600271312680364,
0.6595462430469865,
0.6644117911322258,
0.6721945293176941,
0.6953009768248639,
0.6709527308486649,
0.6474781756454644,
0.6240692161532966,
0.6328475759628596,
0.6420843340354041,
0.664495356760735,
0.6697651728667422,
0.6795866698490638,
0.6849285861147607,
0.6864864566905642,
0.6859017177807869,
0.6726573373763756,
0.6710475414562083,
0.6814334922880887,
0.6605464949565665,
0.6649785601245273,
0.6657123501289535,
0.6643305406464595,
0.6701579754186906,
0.6763376426224337,
0.6739081759265888,
0.6900651161457445,
0.7067119846671344,
0.7092227018487458,
0.7295272754132331,
0.7255737833235798,
0.7282560415579087,
0.7209791069391935,
0.6986131743748918,
0.6827881815270291,
0.6776154911713075,
0.6815486982007422,
0.6951384758533306,
0.6906657303200403,
0.7072899986384693,
0.7036346087381142,
0.6786247831620711,
0.6920971500041557,
0.6911759436824931,
0.7089471998624082,
0.7003765414303,
0.7043683987425406,
0.7076286709482049,
0.7076060707452441,
0.722616023102914,
0.7221825401856357,
0.7262015177414294,
0.7223247560969506,
0.7243907453822493,
0.6911037332779113,
0.6705598180518237,
0.660130981956764,
0.664375741052381,
0.590518057286548,
0.5723493682691994,
0.6159658858204617,
0.5959751794648989,
0.6428836095059705,
0.6433802627466465,
0.6066817224441456,
0.6046813288698794,
0.6123533811832857,
0.6072642564560731,
0.5328647190436422,
0.5841713690706796,
0.5471454014374777,
0.5158746581719249,
0.5375994064414933,
0.5730425881531884,
0.5960880702348104,
0.5726339103367208,
0.5662668268157416,
0.5779533366443492,
0.6263337564899731,
0.6162774378866436,
0.5893101039995137,
0.5418847356575474,
0.5422934134740149,
0.5285116994635979,
0.5557364551746966,
0.550446354008471,
0.4998486888850493,
0.4736670703467092,
0.48466267543406993,
0.4737551560158102,
0.5078458533864143,
0.5129711384383646,
0.5609023103470838,
0.556176663030417,
0.5689581251312548,
0.5944985593748615,
0.5342329684043594,
0.5440861056708262,
0.4931564931761112,
0.5088393803575517,
0.5136936834637567,
0.5271772952848754,
0.5280827365869116,
0.4890202150547063,
0.4559274544509393,
0.46566538580475214,
0.4321255821619303,
0.4095970383812031,
0.3652016406644851,
0.33196434900666105,
0.4140178585701295,
0.41978201277407035,
0.4190979432161579,
0.42918810700148247,
0.4361670496757919,
0.3879084504363717,
0.4501203047389266,
0.46492707575973347,
0.4792868037414857,
0.49031393886809904,
0.4948860150495247,
0.4904742349417823,
0.47684609206660666,
0.5058816201368854,
0.5056377584346934,
0.5169020303250569,
0.531839662033252,
0.5007270099435326,
0.5034250331974879,
0.5133120156459496,
0.532462876410509,
0.512079257258105,
0.4975615483454119,
0.5371004380580748,
0.5594369352360811,
0.5523654970969707,
0.5714304770902787,
0.5857811649908464,
0.5799334451583966,
0.5590170124405791,
0.5608571099411619,
0.5599653390057946,
0.58378297631443,
0.5840561631580252,
0.5855327832480623,
0.5929294438200237,
0.595510056263475,
0.5945459646786331,
0.5884092929829619,
0.6009333332598308,
0.6065327815943886,
0.608291628609205,
0.6068872189237502,
0.6024912038356343,
0.6146924470672868,
0.6145254260551614,
0.615871075212918,
0.6058644770561024,
0.5865397600960833,
0.5840132778948457,
0.6175034713360461,
0.6259160385923208,
0.6384921144584461,
0.6353378978393593,
0.6497835065923627,
0.6541387310702569,
0.659331706486197,
0.6664371000521949,
0.6918420433229293,
0.6540891208686357,
0.6520344868072634,
0.6597539444244414,
0.6500543782932158,
0.6528270373393881,
0.6659900570131403,
0.6884891654075722,
0.6932802981903794,
0.7035149930297608,
0.7025214660586234,
0.711162129997464,
0.7158810523756887,
0.7088253792562047,
0.7185339854686146,
0.7147859898585662,
0.7222954309555467,
0.722514487556928,
0.7282967219232375,
0.7341648370607983,
0.7361968709192097
]
}
],
"layout": {
"legend": {
"x": 1,
"y": 1
},
"title": {
"text": "RSI portfolio strategy vs ETF"
},
"xaxis": {
"title": {
"text": "Years"
}
},
"yaxis": {
"tickformat": ".2%",
"title": {
"text": "Returns"
}
}
}
},
"text/html": [
"\n",
" \n",
" \n",
"
\n",
" \n",
"
"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"trace1 = go.Scatter(\n",
" x = df_allreturns.index,\n",
" y = df_allreturns['Portfolio Cum returns'],\n",
" name = 'Portfolio Returns')\n",
"\n",
"\n",
"trace2 = go.Scatter(\n",
" x = df_allreturns.index,\n",
" y = df_allreturns['Index Cum returns'],\n",
" name = str(index) + ' Returns')\n",
"\n",
"trace3 = go.Scatter(\n",
" x = index2.index,\n",
" y = index2['Cumulative returns'],\n",
" name = str(index2_ticker) + ' Returns')\n",
"\n",
"data = [trace1,trace2,trace3]\n",
" \n",
"layout = go.Layout(title = 'RSI portfolio strategy vs ETF'\n",
" , yaxis=dict(title='Returns', tickformat=\".2%\")\n",
" , xaxis=dict(title='Years')\n",
" , legend=dict(x=1,y=1)\n",
" )\n",
"fig = go.Figure(data=data, layout=layout)\n",
" \n",
"iplot(fig)"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"Final results:\n",
"\n",
"> |Mgmt fee|Portfolio returns|\tQQQ returns|\tNDX Returns|\tDelta Portfolio/ QQQ|\n",
"| --- | --- | --- | --- | --- |\n",
"|0\t |0.963|0.799|0.736|0.164|\n",
"|0.005|0.925|0.799|0.736|0.121|\n",
"|0.01 |0.887|0.799|0.736|0.088|\n",
"\n",
"> The addition of differing transactional fees didn’t significantly affect the results.\n",
"\n",
"In conclusion, the strategy’s implementation successfully led to higher returns when compared to market. All the parameters were set prior to checking the results to avoid overfitting.\n",
"\n",
"By excluding limitations (no stock data deficit) thereby extending the model horizon, this algorithm could hypothetically generate returns as high as 17% with 0.5% mgmt fees. The start date remains at 07/07/2015 because it coincides with the latest significant ETF update.\n",
"\n",
"#### Anyways, Congrats on beating the market! ####"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"The following graph illustrates the amount of obtainable raw data via the Yahoo Finance api and the subsequent conversion according to portfolio weights.\n",
"\n",
"$$Utilization =\\sum_{i=0}^{len(tickers)} (ticker_i + {weight_i}) $$ where ticker is a dummy variable\n",
"\n",
"Seems like all data was fetched starting 2015-07-04 and this is exactly where we started"
]
},
{
"cell_type": "code",
"execution_count": 169,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAA3AAAAFiCAYAAAC3azpuAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMS4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvNQv5yAAAIABJREFUeJzt3Xu4XXV9J/73hyQQIFwDGjAEkNpCgxAhUm9cbGtrLe0UFZwOo2gVflr0J621tToVRMeqY63lsa1a64D+nFYrODO1rR1kFOuF1lCTlgjeHoNGrMilQIRAcs7398feiSHmkJNzkr3OOuf1ep48J2fttdf+7G929l7v/b2saq0FAACAmW+vrgsAAABgcgQ4AACAnhDgAAAAekKAAwAA6AkBDgAAoCcEOAAAgJ4Q4AAAAHpCgAMAAOgJAQ4AAKAnBDgAAICemN91AUly2GGHtWOOOabrMgAAADpx44033tFaO3xn+82IAHfMMcdk1apVXZcBAADQiaq6dTL7GUIJAADQEwIcAABATwhwAAAAPTEj5sDtyKZNm7J+/fps3Lix61JmjYULF2bp0qVZsGBB16UAAABTMGMD3Pr163PAAQfkmGOOSVV1XU7vtdZy5513Zv369Tn22GO7LgcAAJiCGTuEcuPGjVm8eLHwtptUVRYvXqxHEwAAemzGBrgkwttupj0BAKDfdhrgqur9VXV7Vd20zbZDq+raqvra8Ochw+1VVVdU1der6l+q6pQ9Wfyetm7dupx44okP23bZZZfl7W9/e6688srcdtttW7e/5CUvyZe//OUkg+va3XHHHUmSpzzlKVN67De/+c0P+32qxwEAAGaPyfTAXZnkmdtte02S61prj0ty3fD3JPmFJI8b/rkoyZ/unjJnnu0D3Pve97785E/+5I/s9/nPf35Kx98+wE31OAAAwOyx0wDXWvtMkru22/wfklw1/PtVSX5lm+0faAM3JDm4qo7YXcXOJKtWrcr555+fFStW5IEHHshZZ52VVatW/ch+ixYtSpK8/vWvz4oVK7JixYo85jGPyYte9KIkya/8yq/k1FNPzfLly/Pe9743SfKa17wmDzzwQFasWJHzzz//YcdpreXVr351TjzxxDz+8Y/Phz/84STJpz/96Zx11ll57nOfm+OPPz7nn39+Wmt7vB0AAIDRmeoqlI9urX03SVpr362qRw23PybJt7fZb/1w23enXmLyhr9emy/fdu90DvEjfvLIA3PpLy2f8v1XrlyZt7/97Vm5cuWk9r/88stz+eWX55577snpp5+el7/85UmS97///Tn00EPzwAMP5IlPfGKe85zn5C1veUve9a53ZfXq1T9ynGuuuSarV6/OmjVrcscdd+SJT3xizjjjjCTJl770paxduzZHHnlknvrUp+Zzn/tcnva0p035OQLArLTNnPDf/9svd1gI0IUjD9o3FzzlmK7LmLLdfRmBHa2SscNuoKq6KINhllm2bNluLmP3mGjRj6kuBtJay/nnn5/f+I3fyKmnnpokueKKK/Kxj30sSfLtb387X/va17J48eIJj/HZz342v/qrv5p58+bl0Y9+dM4888x88YtfzIEHHpjTTjstS5cuTZKsWLEi69atE+AA4BFc+bl1XZcAjNjJRx08JwPc96rqiGHv2xFJbh9uX5/kqG32W5rkth+5d5LW2nuTvDdJVq5c+Yhj/abTUzYdixcvzt133/2wbXfdddeUr6N22WWXZenSpVuHT37605/OJz/5yXzhC1/Ifvvtl7POOmuny/w/0rDIffbZZ+vf582bl82bN0+pTgCYK77ypl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mTDRs2ZMOGDXnf+9434X47e6y1a9duPc59992XZcuW5dxzz53weJdddlm+9rWv5dZbb82nPvWpvO1tb8snPvGJh+3zjW98Ix/96EdzxBFHPGIbAd0S4ACAOWPz2CPPgdt///1z2WWX5Zhjjslee+2Vs88+O8cee2xuvPHGXHPNNVm+fHnOPffcLFy4MJdddlnWrFmTW265JUnysz/7sznvvPNy5JFHTrvOnT3Wtj7zmc/k9ttvz3Oe85wJj/eBD3wgv/d7v5dDDjkkJ5xwQi688MJceeWVD9vn5S9/ed761rdm7733nnb9wJ4jwAEAc8bmXZwD973vfS9f/epXs3z58qxduzYnn3zy1tv233//HHfccVm7du2kj3fGGWdkyZIlefazn51169ZNuN+uPNZVV12V5z73udl///13eKy77747t91228OOd/LJJz/sWH/1V3+VvffeO8961rMm/VyAbghwAMCcsXknc+C2tWnTppx//vm54IILcvzxx2fDhg056KCDHrbPQQcdlPvuu29Sx7v++uuzbt263HLLLTnyyCNz9tlnZ/PmzTvcd7KPdf/99+ejH/1oXvjCF074uBs2bNh6/x0da8OGDXnta1+bd77znZN6HkC3BDgAYM7YPMnLCIyPj+f5z39+9t5777zrXe9KkixatCj33nvvw/a79957c8ABB0zqmGeccUb23nvvHHzwwfmjP/qjfPOb38zNN9+cb33rWw9bkGRXHuuaa67JoYcemjPPPHPrtpe+9KVbj/XmN7956zG3Pd62x7r00kvz/Oc/P8cee+ykngfQLQEOAJgzJnMZgdZaXvziF+d73/terr766ixYsCDJYOXHNWvWbN3vBz/4Qb7xjW9k+fLlU6qlqtJay7Jly7YuSLKlt2yyj3XVVVflBS94Qapq67Z3v/vdW4/12te+NoccckiOOOKIhx1vzZo1W4913XXX5YorrsiSJUuyZMmSfPvb3855552Xt771rVN6XsCeJcABAHPGzi4jkCQve9nLcvPNN+ev//qvs++++27dfs455+Smm27K1VdfnY0bN+byyy/PSSedlOOPPz5JMjY2lo0bN2bz5s0ZHx/Pxo0bs2nTpiSDOW2rV6/O2NhYNmzYkFe96lV5zGMekxNO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ZLbs5g0ZJ3DG/7kyRXV9W5ST6V5AfD7f+SZHNVrUlyZZI/ymBlyn+uqkry/SS/MqonAADbsogJAABATxhCCQAA0BMCHAAAQE8IcAAAAD0hwAEAAPSEAAcAANATAhwAAEBPCHAAAAA9IcABAAD0xP8Pt7OIbhmKLAoAAAAASUVORK5CYII=\n",
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"result = pd.read_excel('QQQ_alldata.xlsx')\n",
"result['Potential'] = 0\n",
"result_c = result.copy()\n",
"result_c.replace(np.NaN, 0, inplace = True)\n",
"\n",
"for i, data in result_c.iterrows():\n",
" addition = 0\n",
" for ticker in tickers:\n",
" addition = addition + bool(result_c.loc[i,ticker]) * result_c.loc[i,ticker + ' weight']\n",
" result_c.loc[i,'Potential'] = addition\n",
"\n",
"result_c.plot(x = 'Date', y = 'Potential', figsize = (15,6), label = 'Utilization')\n",
"plt.plot(np.repeat(pd.Timestamp(2015, 7, 4),10), range(91,101), 'r', linewidth=3)\n",
"plt.text(pd.Timestamp(2015, 7, 25), 98.8, '2015-07-04', fontsize=12)\n",
"plt.show()"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.3"
}
},
"nbformat": 4,
"nbformat_minor": 2
}