fd76171604
Regression Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
* Expire Instead of Clear Insights In Base PCM In OnSecuritiesChanged * Fixes Regression Test The regression was incorrect because `_removedSymbols` didn't retain the removed symbols from previous `OnSecuritiesChanged` calls, and the algorithm relances once per month. E.g. On day 1, SPY and FB were removed, on day 3 AAPL and IBM were removed and `removedSymbols` would only include AAPL and IBM. We should hve fixed this problem before with: ```csharp if (_removedSymbols == null) _removedSymbols = new List<Symbol>(); _removedSymbols.AddRange(changes.RemovedSecurities.Select(x => x.Symbol)); ``` However the change to use Expire fixes the issue. * Removes Unused List of Removed Symbols