TradingAgents/tradingagents/agents/structured
dtarkent2-sys 84f7894768 feat: switch stock data to Alpaca Markets API with yfinance fallback
Alpaca provides 10k calls/min free with 7yr history via IEX feed.
Hybrid approach: Alpaca for price bars, snapshots, sector ETF perf,
and moving averages; yfinance for fundamentals (PE, margins, 13F).

- Add alpaca_data.py: bars, snapshots, MAs, sector ETF perf, news
- Update get_macro_indicators: sector ETF performance via Alpaca
- Update get_sector_rotation: compute relative strength vs SPY
- Update entry timing node: Alpaca MAs from actual bar data
- Add alpaca-py to requirements.txt

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 22:23:58 +00:00
..
__init__.py feat: add regime awareness, smart-money tracking, theme substitution & position replacement 2026-03-09 21:46:03 +00:00
portfolio.py fix: 6 audit issues — missing await, regime range, pct_out scaling, ticker validation, dead code, flag merge 2026-03-09 21:56:38 +00:00
scoring.py feat: add regime awareness, smart-money tracking, theme substitution & position replacement 2026-03-09 21:46:03 +00:00
tier1.py fix: 6 audit issues — missing await, regime range, pct_out scaling, ticker validation, dead code, flag merge 2026-03-09 21:56:38 +00:00
tier2.py feat: switch stock data to Alpaca Markets API with yfinance fallback 2026-03-09 22:23:58 +00:00
tier3.py feat: add regime awareness, smart-money tracking, theme substitution & position replacement 2026-03-09 21:46:03 +00:00