Two problems I am having with modding this one:
1) (Verify please) How does one change this to only buy the top two etf's based on three month return and that etf is also above 100 SMA? I believe that is already being done, but please correct me if I'm wrong.
2) The thing I definitely can't figure out is how to change the monthly repetition to every two weeks. My attempts are failing miserably.
This gives me errors: date_rules.day_start(days_offset=15)
--AttributeError: 'DateRuleFactory' object has no attribute 'day_start'--
When I use: date_rules.week_start(days_offset=2), it appears in the logs to use one week no matter what value I place in offset.
Any help would be appreciated.