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
@@ -41,7 +41,7 @@ class OptionChainApisConsistencyRegressionAlgorithm(QCAlgorithm):
if len(option_chain_from_algorithm_api) != len(option_chain_from_provider_api):
raise AssertionError(f"Expected {len(option_chain_from_provider_api)} options in chain from provider API, "
f"but got {len(option_chain_from_algorithm_api)}");
f"but got {len(option_chain_from_algorithm_api)}")
for i in range(len(option_chain_from_algorithm_api)):
symbol1 = option_chain_from_algorithm_api[i]