Skip to content

Collective2SignalExport: send a renamed equity's current ticker - #9858

Merged
Martin-Molinero merged 1 commit into
QuantConnect:masterfrom
AlexCatarino:support/215476191180893-c2-current-ticker
Oct 2, 2026
Merged

Martin-Molinero merged 1 commit into
QuantConnect:masterfrom
AlexCatarino:support/215476191180893-c2-current-ticker

Conversation

@AlexCatarino

Copy link
Copy Markdown
Member

Description

Collective2SignalExport.GetSymbol returned symbol.ID.Symbol for 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, identifier BGU U7EC123NWZTX) was exported as BGU, 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: GetSymbol returns _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 from symbol.ID.Symbol).

Fixes #9857

Test

New SendsTargetsToCollective2Appropriately case with Symbols.GOOG, whose identifier ticker is GOOCV (test map file goog.csv) and whose current ticker at the test's date (2016-02-16) is GOOG: the message now carries "symbol":"GOOG". The test fails on master with GOOCV.

dotnet test Tests/QuantConnect.Tests.csproj --filter "FullyQualifiedName~SignalExportTargetTests": Passed 66, Failed 0 (net10.0).

Related

Intercom conversation 215476191180893.

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
Martin-Molinero merged commit bef4d98 into QuantConnect:master Oct 2, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Collective2SignalExport sends a renamed equity's first ticker (SecurityIdentifier.Symbol), Collective2 rejects it as (1121) Invalid symbol

2 participants