Created
November 23, 2018 16:09
-
-
Save robcarver17/4753bf554dfd2897e224169afc67b3d9 to your computer and use it in GitHub Desktop.
This file contains 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
from systems.provided.futures_chapter15.basesystem import * | |
sys = futures_system() | |
config = sys.config | |
del(config.instrument_weights) # ensures all instruments are used equally weighted | |
config.forecast_weights=dict(ewmac16_64=0.333, ewmac32_128=0.333, ewmac64_256=0.3333) | |
config.use_forecast_div_mult_estimates=True | |
config.use_instrument_div_mult_estimates=True | |
config.use_forecast_scale_estimates=False | |
system = futures_system(config=config) | |
acc = system.accounts.portfolio() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment