Strategy Library
Momentum Effect in Country Equity Indexes
Method
The algorithm picks 35 country indexes ETFs as the trading universe. As the symbols in the universe don't change over time, we use the momentum indicator helper method
self.MOM(symbol, period, resolution)
. This helper method creates a new momentum indicator and computes the absolute n-period change in the security. In contrast to the indicator constructor Momentum(period)
, the helper method indicator will be automatically updated on the given resolution.
In Initialize()
, we set the warm-up period to the momentum period and create the dictionary self.data
to save the indicator of
each symbol. On each month, the top five indexes ETFs with the best 6-month momentum will be selected to open long position. ETFs which are no longer in this top list will be liquidated. The scheduled event API is used to schedule the portfolio to rebalance at the start of each month.
Conclusion
The algorithm result shows that momentum effects do exist in the country indices. The strategy of holding for one month, a portfolio of the five best performing country indices ETFs over the previous six months, was found to out-perform the equal-weighted portfolio by around 40% per annum over the 16-year period from 2002 to 2018.
You can also see our Documentation and Videos. You can also get in touch with us via Chat.
Did you find this page helpful?