I am currently trying to migrate the Equity Momentum Strategy by Andreas Clenow to the Quantconnect Algorithm Framework. The strategy estimates the momentum of stocks by averaging two slopes, calculated over two different time windows. 

The algorithm is still a stub, since I am currently stuck at a few very basic problems:

  • How can I set an execution frequency, such that the Update method of the AlphaModel and each subsequent step is called once a week or month at a specified time?
  • When I include a bull market filter by setting indexAverageWindow != o , I get a Runtime Error: ArgumentException : Unable to locate exchange hours for Base-empty-[*]  error.

Any help would be appreciated. The next step would be to implement a PortfolioConstructionModel that allocates positions based on the inverse volatilty of each candidate stock. 

 

Author