Collective2SignalExport: send a renamed equity's current ticker - #9858
Merged
Martin-Molinero merged 1 commit intoOct 2, 2026
Conversation
GetSymbol returned SecurityIdentifier.Symbol for an equity, the ticker the security first listed under, so a renamed security (BGU -> SPXL) was exported under a ticker Collective2 rejects as (1121) Invalid symbol, failing the whole payload. Restore the pre-QuantConnect#8604 behaviour for equities: the map-file ticker as of the algorithm's time via IAlgorithm.Ticker. Fixes QuantConnect#9857
Martin-Molinero
approved these changes
Oct 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Collective2SignalExport.GetSymbolreturnedsymbol.ID.Symbolfor a US Equity: the ticker the security first listed under. A security that has since been renamed (SPXL listed as BGU in 2008, renamed in 2012, identifierBGU U7EC123NWZTX) was exported asBGU, which Collective2 rejects with(1121) Symbol: Invalid symbol, failing the whole payload. Before #8604 the equity ticker came from_algorithm.Ticker(target.Symbol), the map-file ticker as of the algorithm's time.This restores that for equities:
GetSymbolreturns_algorithm.Ticker(symbol)when the security type is Equity, so Collective2 receives the ticker the security trades under today. Forex, options and futures are unchanged (futures still send the root fromsymbol.ID.Symbol).Fixes #9857
Test
New
SendsTargetsToCollective2Appropriatelycase withSymbols.GOOG, whose identifier ticker isGOOCV(test map filegoog.csv) and whose current ticker at the test's date (2016-02-16) isGOOG: the message now carries"symbol":"GOOG". The test fails on master withGOOCV.dotnet test Tests/QuantConnect.Tests.csproj --filter "FullyQualifiedName~SignalExportTargetTests": Passed 66, Failed 0 (net10.0).Related
Intercom conversation 215476191180893.