TradingAgents/tradingagents/dataflows/data_cache
Youssef Aitousarrah 43cc7eb623 fix(universe): robust iShares→yfinance ticker mapping for class shares
- Filter to Asset Class == Equity only (removes UBFUT, XTSLA non-equity rows)
- Static remap for 16 known iShares compact tickers → canonical yfinance hyphenated form
  (BRKB→BRK-B, BFA→BF-A, HEIA→HEI-A, LENB→LEN-B, UHALB→UHAL-B, CWENA→CWEN-A, etc.)
- Avoids false positives: META, NVDA, TSLA, ABNB, ZBRA, CMCSA preserved correctly
- Fix C401 in ohlcv_cache.py (set comprehension)
- Result: 1003 clean equity tickers from Russell 1000

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 16:55:22 -07:00
..
__init__.py fix(universe): add missing __init__.py for data_cache; switch to Russell 1000 via iShares 2026-04-14 16:36:17 -07:00
ohlcv_cache.py fix(universe): robust iShares→yfinance ticker mapping for class shares 2026-04-14 16:55:22 -07:00
unusual_volume_raw_default.json fix(cache): track ohlcv_cache.py and data_cache files in git 2026-04-14 16:41:17 -07:00