#*****************************************************************
# IMPORTS
#******************************************************************
from __future__ import print_function
from IPython.utils.path import get_ipython_dir
print(get_ipython().profile_dir.location)
import pandas_datareader.data as pdr
import matplotlib.pyplot as plt
import pandas as pd
import datetime
import talib
import itable
import ffn
# from fintools.Parameters import Parameters
# from fintools.set_start_end import set_start_end
# from fintools.get_yahoo_prices import get_yahoo_prices
# from fintools.compute_weights_RS_DM import compute_weights_RS_DM
# from fintools.compute_weights_PMA import compute_weights_PMA
# from fintools.endpoints import endpoints
# from fintools.backtest import backtest
# from fintools.monthly_return_table import monthly_return_table
# from fintools.show_return_table import show_return_table
# from fintools.finhelpers3 import highlight_pos_neg
from fintools import get_DataArray,compute_weights_RS_DM,compute_weights_PMA,\
Parameters
%matplotlib inline
#*****************************************************************
# SYMBOLS
#******************************************************************
# these are the FUNDs used by Systematic Investor (2005 - today)
symbols = ['VCVSX','VWINX','VWEHX','VGHCX','VFIIX','VWAHX','FGOVX','FFXSX']
# these funds could be used as proxies for the Philbrick results
#symbols = ['^GSPC', 'VEURX', 'FJPNX', 'FEMKX', 'FRESX','EGLRX', 'VFITX', 'VUSTX', 'VGPMX', 'GOLDX' ]