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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user