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.
- 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 | 5 months ago | |
| alpaca.py | 5 months ago | |
| catalog.py | 5 months ago | |
| database.py | 5 months ago | |
| error_logs.py | 5 months ago | |
| etf.py | 5 months ago | |
| filings.py | 5 months ago | |
| financial.py | 5 months ago | |
| finra.py | 5 months ago | |
| fred.py | 5 months ago | |
| health.py | 5 months ago | |
| migration.py | 5 months ago | |
| news.py | 5 months ago | |
| price.py | 5 months ago | |
| request_logs.py | 5 months ago | |
| stocks.py | 5 months ago | |