feat(market): add UK equities (LSE .L) support - #1255
Open
lorenzozanee wants to merge 2 commits into
Open
Conversation
- route .L symbols to yahoo via _SOURCE_PATTERNS (parity with Canada .TO/.V) - allow .L/.IL in yahoo_loader _is_supported gate - map LSE symbols to uk_equity market with GBP currency - add uk_equity fallback chain yahoo -> yfinance -> local Fixes HKUDS#1205 Signed-off-by: Worker <worker@example.com> Signed-off-by: lorenzozanee <wyz0707@proton.me>
Update stale test expectations in registry, settings API and yahoo loader to include the new `uk_equity` market introduced for LSE `.L` support (parity with Canada `ca_equity`). Fixes HKUDS#1205 Signed-off-by: Worker <worker@example.com> Signed-off-by: lorenzozanee <wyz0707@proton.me>
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.
Fixes #1205
Summary
.Lsymbols now route to Yahoo withsource=autoinstead of returning_unresolved.Why
VOD.Lwithsource=autowas classified as an A-share and never tried Yahoo, while explicitsource=yahoosucceeded.Changes
uk_equitymarket (GBP) with Yahoo-first fallback and.L/.ILYahoo gate.Test Plan
pytest --ignore=agent/tests/e2e_backtest --tb=short -q)Checklist
src/agent/,src/session/,src/providers/) without prior discussionReviewers: @warren618, @QCYTSN