Regression test assert order list hash
- Regression tests assert order list hash value - Normalizing some regression test behavior that had differences between C# and Py
This commit is contained in:
@@ -52,7 +52,7 @@ class BasicTemplateOptionsAlgorithm(QCAlgorithm):
|
||||
self.SetBenchmark(equity.Symbol)
|
||||
|
||||
def OnData(self,slice):
|
||||
if self.Portfolio.Invested: return
|
||||
if self.Portfolio.Invested or not self.IsMarketOpen(self.option_symbol): return
|
||||
|
||||
chain = slice.OptionChains.GetValue(self.option_symbol)
|
||||
if chain is None:
|
||||
|
||||
Reference in New Issue
Block a user