Modify and fix select regression algorithms

* OnEndOfDayRegressionAlgorithm - Since the EndTime of the hourly benchmark is during the day,
the OnEndOfDay method gets called one less time than usual. Updates statistics

* CustomUniverseWithBenchmarkRegressionAlgorithm.cs - modified algorithm so
that it works with hourly benchmark. Previously only tested for Daily benchmark

* BasicTemplateAlgorithm.py - Modified resolution to be
Resolution.Minute, just like it is in C#

* CustomDataRegressionAlgorithm.py - Remove warmup call from Initialize

* IndicatorSuiteAlgorithm.py - Adds PythonQuandl import to fix import error
This commit is contained in:
Gerardo Salazar
2020-01-16 11:50:03 -08:00
parent 66e093babb
commit 4102c83e88
5 changed files with 57 additions and 37 deletions
@@ -43,7 +43,6 @@ class CustomDataRegressionAlgorithm(QCAlgorithm):
resolution = Resolution.Second if self.LiveMode else Resolution.Daily
self.AddData(Bitcoin, "BTC", resolution)
self.SetWarmup(1)
def OnData(self, data):
if not self.Portfolio.Invested: