Skip to content

feat(etl): daily price history for backtest window (#88) - #117

Merged
JLaborda merged 3 commits into
developfrom
feat/88-daily-price-history
Jul 1, 2026
Merged

feat(etl): daily price history for backtest window (#88)#117
JLaborda merged 3 commits into
developfrom
feat/88-daily-price-history

Conversation

@JLaborda

@JLaborda JLaborda commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add price_history_ingest and download-price-history CLI to ingest SimFin shareprices/daily into curated ticker/year parquet partitions.
  • Filter to universe tickers and a configurable date window; expose lookup_daily_adj_close() for rebalance-date joins.
  • Hermetic tests and fixture for CI; operator guide and ETL spec updated for phase 2.

Closes #88

Test plan

  • poetry run pytest tests/test_price_history_ingest.py -v
  • poetry run pytest (260 passed)
  • make format && make lint && make test
  • Manual smoke: poetry run download-price-history --ticker AAPL --start-date 2016-01-01 --end-date 2026-06-18 --snapshot-date 2026-06-18 --skip-download

Made with Cursor

JLaborda and others added 2 commits July 1, 2026 14:44
Ingest SimFin shareprices/daily into curated ticker/year partitions
with run-date adj_close lookup for phase 2 backtests (#88).

Co-authored-by: Cursor <cursoragent@cursor.com>
Add operator guide, ETL spec acceptance criteria, and fixture manifest
for shareprices/daily curated layout (#88).

Co-authored-by: Cursor <cursoragent@cursor.com>
@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.31%. Comparing base (0ac329a) to head (114a338).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #117      +/-   ##
===========================================
+ Coverage    98.13%   98.31%   +0.17%     
===========================================
  Files           23       25       +2     
  Lines         1665     1836     +171     
  Branches       216      239      +23     
===========================================
+ Hits          1634     1805     +171     
  Misses          25       25              
  Partials         6        6              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Cover error paths, CLI validation, and edge cases in price_history_ingest
and download_price_history (#88).

Co-authored-by: Cursor <cursoragent@cursor.com>
@JLaborda
JLaborda merged commit e0823b6 into develop Jul 1, 2026
4 checks passed
@JLaborda
JLaborda deleted the feat/88-daily-price-history branch July 1, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant