13.08.2022 Views

advanced-algorithmic-trading

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

368

import datetime

from qstrader import settings

from monthly_rebalance_run import run_monthly_rebalance

if __name__ == "__main__":

ticker_weights = {

"SPY": 0.125,

"IJS": 0.125,

"EFA": 0.125,

"EEM": 0.125,

"AGG": 0.125,

"JNK": 0.125,

"DJP": 0.125,

"RWR": 0.125

}

run_monthly_rebalance(

settings.DEFAULT_CONFIG_FILENAME, False, "",

"SPY", ticker_weights, "Equal Weight ETF Strategy",

datetime.datetime(2007, 12, 4), datetime.datetime(2016, 10, 12),

500000.00

)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!