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
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user