ExtendedDictionary improvements (#8723)
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

* Make ExtendedDictionary extend IDictionary

* Revert "Make ExtendedDictionary extend IDictionary"

This reverts commit bbbe9c769be682767cb9e487b904480376b53596.

* Make ExtendedDictionary key a type parameter

* Make SecurityPositionGroupModel an ExtendedDictionary

* Add unit tests

* Minor change

* Add more unit tests and other minor changes

* Add Count and ContainsKey to BaseChain

* Update pythonnet version to 2.0.43

* Update some python regression algorithms

* Minor regression algorithms fix

* Make CashBook and ExtendedDictionary

* Minor changes

* Minor changes

* Update pythonnet version to 2.0.44
This commit is contained in:
Jhonathan Abreu
2025-05-02 11:02:06 -04:00
committed by GitHub
parent 4e13189787
commit 053c9a20c4
36 changed files with 468 additions and 393 deletions
@@ -34,5 +34,5 @@ class StringToSymbolImplicitConversionRegressionAlgorithm(QCAlgorithm):
try:
self.market_order("PEPE", 1)
except Exception as exception:
if "This asset symbol (PEPE 0) was not found in your security list" in str(exception) and not self.portfolio.invested:
if "PEPE was not found" in str(exception) and not self.portfolio.invested:
self.set_holdings("SPY", 1)