Commit Graph

6 Commits

Author SHA1 Message Date
Youssef Aitousarrah c3362d67e7 feat(commands): auto-propose hypothesis from knowledge base when no arg given
Step 0 reads LEARNINGS.md, scanner domain files, and research files to derive
the highest-priority untested hypothesis, proposes it to the user for confirmation,
then proceeds through the normal backtest flow.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 11:12:22 -07:00
github-actions[bot] 0dbf7f0963 chore(cache): nightly OHLCV prefetch 2026-04-16 2026-04-16 04:21:03 +00:00
github-actions[bot] 5b8c24a64b chore(cache): nightly OHLCV prefetch 2026-04-15 2026-04-15 00:07:31 +00:00
github-actions[bot] 55971af5ab chore(cache): nightly OHLCV prefetch 2026-04-14 2026-04-14 23:59:10 +00:00
github-actions[bot] 25278cdb92 chore(cache): nightly OHLCV prefetch 2026-04-14 2026-04-14 23:45:27 +00:00
Youssef Aitousarrah e15e2df7a5 feat(cache): unified ticker universe + nightly OHLCV prefetch
- tradingagents/dataflows/universe.py: single source of truth for ticker
  universe; all scanners now call load_universe(config) instead of
  duplicating the 3-level fallback chain with hardcoded "data/tickers.txt"

- scripts/prefetch_ohlcv.py: nightly script using existing ohlcv_cache.py
  incremental logic; first run downloads 1y history, subsequent runs append
  only new trading days

- .github/workflows/prefetch.yml: runs at 01:00 UTC daily, before all other
  workflows; commits updated parquet to repo

- Updated 6 scanners: minervini, high_52w_breakout, ml_signal, options_flow,
  sector_rotation, technical_breakout — removed duplicate DEFAULT_TICKER_FILE
  constants and _load_tickers_from_file() functions

- minervini, high_52w_breakout, technical_breakout: replace yf.download()
  with download_ohlcv_cached() — reads from prefetched cache instead of
  hitting yfinance at discovery time

- default_config.py: added discovery.ohlcv_cache_dir config key

- data/ohlcv_cache/: initial 1y backfill (588 tickers, 5.4MB parquet)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 16:18:52 -07:00