Merge PythonSlice into Slice (#8707)

- To simplify stub generation, merge PythonSlice into Slice, following
  existing pattern too, see QCAlgorithm.Python.cs
- Minor sintax fixes in example python algorithms
This commit is contained in:
Martin-Molinero
2025-04-21 13:37:33 -03:00
committed by GitHub
parent b81bcf086e
commit 4584feb7da
20 changed files with 106 additions and 209 deletions
@@ -30,8 +30,8 @@ class OptionChainConsistencyRegressionAlgorithm(QCAlgorithm):
self.set_start_date(2015,12,24)
self.set_end_date(2015,12,24)
self.equity = self.add_equity(self.underlying_ticker);
self.option = self.add_option(self.underlying_ticker);
self.equity = self.add_equity(self.underlying_ticker)
self.option = self.add_option(self.underlying_ticker)
# set our strike/expiry filter for this option chain
self.option.set_filter(self.universe_func)