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.
I Luk Kim 9e2a8aba47 Codebase improvements: caching decorator, Pydantic v2, DB indexes, connection pooling, Alembic
- Add @with_cache() decorator to eliminate ~15-line caching boilerplate per endpoint
- Apply decorator to 8 existing endpoints (stocks, alpaca, finra) and add caching
  to 6 previously uncached endpoints (news, etf, filings) with appropriate TTLs
- Migrate all @validator to @field_validator (Pydantic v2), deduplicate validation
  logic into shared functions in validators.py
- Fix datetime.utcnow() → datetime.now(timezone.utc), remove unused uuid import
- Convert ErrorLogResponse class Config → model_config = ConfigDict(...)
- Add health check exception logging instead of silent pass
- Add data_source indexes to PriceData and FinancialData tables
- Initialize Alembic with async engine configuration
- Add persistent HTTP sessions for SEC client (aiohttp) and FRED proxy (httpx)
- Add response_model schemas for Alpaca bars/intraday and news-only/social-only

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5 months ago
..
__init__.py Initial commit with full project improvements 5 months ago
alpaca_client.py Add Alpaca-specific DB table and Redis caching for Alpaca/FINRA endpoints 5 months ago
alpaca_price_service.py Add Alpaca-specific DB table and Redis caching for Alpaca/FINRA endpoints 5 months ago
etf_holdings_fetcher.py Add SEC filings indexing, search, and exhibit extraction (8-K, 6-K, 20-F, 40-F) 5 months ago
etf_loader_service.py Initial commit with full project improvements 5 months ago
financial_service.py Initial commit with full project improvements 5 months ago
finra_short_volume_service.py Add Alpaca-specific DB table and Redis caching for Alpaca/FINRA endpoints 5 months ago
fred_proxy_service.py Codebase improvements: caching decorator, Pydantic v2, DB indexes, connection pooling, Alembic 5 months ago
fred_service.py Initial commit with full project improvements 5 months ago
news_social_service.py Initial commit with full project improvements 5 months ago
price_data_service.py Add Alpaca-specific DB table and Redis caching for Alpaca/FINRA endpoints 5 months ago
real_sec_financial_service.py Initial commit with full project improvements 5 months ago
sec_data_service.py Initial commit with full project improvements 5 months ago
sec_edgar_service.py Add SEC filings indexing, search, and exhibit extraction (8-K, 6-K, 20-F, 40-F) 5 months ago
sec_filings_service.py Add SEC filings indexing, search, and exhibit extraction (8-K, 6-K, 20-F, 40-F) 5 months ago
sec_http_client.py Codebase improvements: caching decorator, Pydantic v2, DB indexes, connection pooling, Alembic 5 months ago
yahoo_52week_gainers_service.py Initial commit with full project improvements 5 months ago
yahoo_most_active_service.py Initial commit with full project improvements 5 months ago