Feature improve regression tests (#6245)
* add data count properties * 'add history count property * assert data counts * update missing override * consider override/virtual cases * implement data count * add message handler for regression tests * use regression test message handler * set algorithm manager for regression test message handler * update data count * check if stats are present, check if algo manager is not null * update * add c# algo * make same as c# algo * use new line * logic shifted to RegressionTestMessageHandler * cleanup * auto cleanup * skip non deterministic data count * change data count * use inheritance * improve stats * update couht * add sma indicator to c# and customSMA to python * call base method before executing further * skip test * revert to original * add duplicate sma * skip regression test
This commit is contained in:
@@ -37,7 +37,7 @@ class AddFutureOptionContractDataStreamingRegressionAlgorithm(QCAlgorithm):
|
||||
Resolution.Minute).Symbol
|
||||
|
||||
optionChains = self.OptionChainProvider.GetOptionContractList(self.es20h20, self.Time + timedelta(days=1))
|
||||
optionChains += self.OptionChainProvider.GetOptionContractList(self.es19m20, self.Time + timedelta(days=1))
|
||||
optionChains += self.OptionChainProvider.GetOptionContractList(self.es19m20, self.Time)
|
||||
|
||||
for optionContract in optionChains:
|
||||
self.expectedSymbolsReceived.append(self.AddFutureOptionContract(optionContract, Resolution.Minute).Symbol)
|
||||
|
||||
Reference in New Issue
Block a user