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.
Alpaca free plan blocks recent SIP data (403 on same-day requests).
Replace with Yahoo Finance which has no subscription requirement.
- PriceDataService.get_multi_intraday(): yf.download() in chunks of 50,
handles both single (flat DataFrame) and multi-ticker (MultiIndex) cases
- GET /price/intraday?tickers=...&interval=5m&start_date=...&end_date=...
→ same AlpacaMultiBarsResponse format (bars: {sym → [{timestamp,ohlcv}]})
→ source="YAHOO_FINANCE", Redis 5-min TTL cache
- /alpaca/intraday still exists for historical data (works on free plan)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
6 months ago | |
|---|---|---|
| .. | ||
| api | 6 months ago | |
| core | 7 months ago | |
| middleware | 7 months ago | |
| models | 6 months ago | |
| schemas | 6 months ago | |
| services | 6 months ago | |
| utils | 7 months ago | |
| __init__.py | 7 months ago | |
| main.py | 7 months ago | |