Source option price model data from securities instead of slice (#9315)
API Tests / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
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
Build & Test Lean / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Syntax Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
* Source option price model data from securities instead of slice * Remove symbols caching and cleanup * Cleanup
This commit is contained in:
@@ -33,7 +33,7 @@ class StringToSymbolImplicitConversionRegressionAlgorithm(QCAlgorithm):
|
||||
'''
|
||||
ticket = self.market_order("PEPE", 1)
|
||||
|
||||
if ticket.status != OrderStatus.Invalid:
|
||||
if ticket.status != OrderStatus.INVALID:
|
||||
raise Exception(f"Expected order to be invalid since PEPE is not a valid ticker, but was {ticket.status}")
|
||||
|
||||
if not self.portfolio.invested:
|
||||
|
||||
Reference in New Issue
Block a user