Some fixes for new C# enums handling in Pythonnet (#8898)
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Syntax Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled

* Some fixes for new C# enums handling in Pythonnet

* Minor changes and cleanup

* Update Pythonnet version to 2.0.45

* Minor changes

* Minor fix

* Minor fix

* Minor change

* Minor change

* Minor unit test fix
This commit is contained in:
Jhonathan Abreu
2025-07-31 16:53:24 -04:00
committed by GitHub
parent 9f378a1a6d
commit 84b991b577
25 changed files with 69 additions and 33 deletions
@@ -69,7 +69,7 @@ class UpdateOrderRegressionAlgorithm(QCAlgorithm):
limit_price = (1 + self.limit_percentage)*data["SPY"].high if not is_long else (1 - self.limit_percentage)*data["SPY"].low
request = SubmitOrderRequest(order_type, self.security.symbol.security_type, "SPY", self.quantity, stop_price, limit_price, 0, 0.01, True,
self.utc_time, str(order_type))
self.utc_time, str(int(order_type)))
ticket = self.transactions.add_order(request)
self.tickets.append(ticket)