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
@@ -47,7 +47,7 @@ class ShortableProviderOrdersRejectedRegressionAlgorithm(QCAlgorithm):
response = order_ticket.update_quantity(-999) # should be allowed, we are reducing the quantity we want to short
if not response.is_success:
raise ValueError("Order update should of succeeded!");
raise ValueError("Order update should of succeeded!")
self.initialized = True
return