Hello all,

 

    Seems that DateRules.Every cannot take only one day without having issues:

 

self.SetUniverseSelection(ScheduledUniverseSelectionModel(
self.DateRules.Every(DayOfWeek.Monday, DayOfWeek.Tuesday),
self.TimeRules.At(4, 0),
self.SelectSymbols))

 


During the algorithm initialization, the following exception has occurred: Trying to dynamically access a method that does not exist throws a TypeError exception. To prevent the exception, ensure each parameter type matches those required by the Every method. Please checkout the API documentation.
at Initialize in main.py:line 35
TypeError : No method matches given arguments for Every

 

Is this a bug?  I was able to get it to work with one day by passing DayOfWeek.Monday as the first and second parameters.