You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Two fixes to universe snapshot build: 1. SEC EDGAR exchange case mismatch: company_tickers_exchange.json uses "Nasdaq" (mixed case) but filter expected "NASDAQ". All NASDAQ-listed stocks (AAPL, MSFT, GOOGL, etc.) were silently excluded from registry. Fixed with case-insensitive _US_EXCHANGE_MAP lookup + canonical normalization. 2. OOM during large builds: SEC EDGAR companyfacts JSONs accumulate in _json_cache without eviction, causing OOM after ~1500-1800 tickers. Fixed by clearing _json_cache + _text_cache + gc.collect() every 20 batches. Memory remains stable throughout full 9,376-ticker build. Result: 529,328 snapshot rows, 5,570 tickers (NASDAQ:2515, NYSE:2084, OTC:971) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
5 months ago | |
|---|---|---|
| .. | ||
| attention | 5 months ago | |
| overlay | 5 months ago | |
| __init__.py | 5 months ago | |
| alpaca_client.py | 5 months ago | |
| alpaca_price_service.py | 5 months ago | |
| earnings_service.py | 5 months ago | |
| etf_holdings_fetcher.py | 5 months ago | |
| etf_loader_service.py | 5 months ago | |
| financial_service.py | 5 months ago | |
| finra_short_volume_service.py | 5 months ago | |
| fred_proxy_service.py | 5 months ago | |
| fred_service.py | 5 months ago | |
| index_constituents_service.py | 5 months ago | |
| insider_transaction_service.py | 5 months ago | |
| news_social_service.py | 5 months ago | |
| price_data_service.py | 5 months ago | |
| real_sec_financial_service.py | 5 months ago | |
| screener_service.py | 5 months ago | |
| sec_data_service.py | 5 months ago | |
| sec_edgar_service.py | 5 months ago | |
| sec_filings_service.py | 5 months ago | |
| sec_http_client.py | 5 months ago | |
| universe_service.py | 5 months ago | |
| yahoo_52week_gainers_service.py | 5 months ago | |
| yahoo_most_active_service.py | 5 months ago | |