Problem
ticker_resolver.py KNOWN_TICKERS dict has duplicate keys that silently override each other:
- "tata steel" appears at line 97 and line 117 (second wins)
- "tata power" appears at line 117 and line 134 (second wins)
- "coal india" appears at line 99 and line 132 (second wins)
- "tech mahindra" appears at line 36 and line 91 (second wins)
- "hcl technologies" appears at line 36 and line 90 (second wins)
- "tata consultancy" appears at line 37 and line 89 (second wins)
Python silently keeps the last value for duplicate dict keys. The intended ticker may be different from what's actually stored.
Solution
Remove duplicate entries, keeping the correct ticker for each. For Indian stocks, use .NS suffix consistently.
Acceptance Criteria
Difficulty: Easy
Labels: bug, data-quality
Problem
ticker_resolver.pyKNOWN_TICKERSdict has duplicate keys that silently override each other:Python silently keeps the last value for duplicate dict keys. The intended ticker may be different from what's actually stored.
Solution
Remove duplicate entries, keeping the correct ticker for each. For Indian stocks, use
.NSsuffix consistently.Acceptance Criteria
KNOWN_TICKERSDifficulty: Easy
Labels: bug, data-quality