portfoliolab
portfoliolab copied to clipboard
PortfolioLab is a python library that enables traders to take advantage of the latest portfolio optimisation algorithms used by professionals in the industry.
``` KeyError Traceback (most recent call last) in () 2 # Compute Passive Aggressive Mean Reversion with no given weights and epsilon of 0.3. 3 pamr = PAMR(optimization_method=0, epsilon=0.3) ---->...
``` ValueError Traceback (most recent call last) in () 20 # Compute Confidence Weighted Mean Reversion - Var with given user weights, epsilon of 1, and confidence of 1. 21...
On PortfolioLab - I follow the notebook example of Online Portfolio Selection part ``` msci = pd.read_csv('data/MSCI.csv', parse_dates=True, index_col='Date').dropna()[1:] us_equity = pd.read_csv('data/US_Equity.csv', parse_dates=True, index_col='Date') djia = pd.read_csv('data/DJIA.csv', parse_dates=True, index_col='Date') nyse...