This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class PMSS: | |
| """ | |
| Portfolio Management Strategy Simulator | |
| """ | |
| def __init__(self, universe, initial_capital, risk_free, opt_tech, criteria, start, end, | |
| t, window, freq = "W-MON", N = 10, | |
| highest_better = True, track_allocations=False, expected_returns_fuct = annualize_returns, | |
| show_closed_dates = False, max_weight = 0.95, min_weight = 0.01): | |
| self.dates = pd.date_range(start = start, end=end, freq=freq) # Candidate trade days | |
| dates = self.dates |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.