Removes logging from framework models and algorithms
Shipped modules should be silent unless error case.
This commit is contained in:
@@ -53,12 +53,6 @@ class BasicTemplateOptionsFrameworkAlgorithm(QCAlgorithmFramework):
|
||||
self.SetRiskManagement(NullRiskManagementModel())
|
||||
|
||||
|
||||
def OnOrderEvent(self, fill):
|
||||
self.Log(f"{self.UtcTime}:: {fill}")
|
||||
|
||||
def OnSecuritiesChanged(self, changes):
|
||||
self.Log(f"{self.UtcTime}:: {changes}")
|
||||
|
||||
def SelectOptionChainSymbols(self, utcTime):
|
||||
newYorkTime = Extensions.ConvertFromUtc(utcTime, TimeZones.NewYork)
|
||||
ticker = "TWX" if newYorkTime.date() < date(2014, 6, 6) else "AAPL"
|
||||
|
||||
Reference in New Issue
Block a user