Move news data to bronze layer and add Phase 3 download script#4
Merged
nittygritty-zzy merged 2 commits intomainfrom Oct 23, 2025
Merged
Conversation
Implemented comprehensive historical data loader script with 4 phases: Phase 1: Corporate Actions + Fundamentals + Short Data (Parallel) - Corporate actions: Dividends, splits, IPOs (2005-2025) - Ticker events: Symbol changes/rebranding (all history) - Fundamentals: Balance sheets, income, cash flow (2010-2025) - Short data: Short interest & volume (2 years) Phase 2: Daily Price Data (S3, 10 years, parallel) Phase 3: News Data (3 years, parallel) Phase 4: Minute Data (Stocks + Options, sequential, 5 years) Features: - Aggressive parallelization (8-10 concurrent jobs for API/S3) - Sequential processing for Phase 4 (memory-safe for 500GB datasets) - Skip flags: --skip-confirmation, --skip-minute - Dry-run mode for execution preview - Phase-specific execution: --phase N - Progress tracking and monitoring Removed: scripts/bulk_download_all_data.sh (consolidated into this script) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Update news output path from news/ to bronze/news/ in CLI and scripts - Add phase3_news_download.py for historical news backfill (10 years) - Update PROJECT_MEMORY.md with comprehensive bronze layer structure - Add financial ratios download command to Polygon CLI - Verify 739K news files (12GB) already in correct bronze location Data verified: - 739,424 parquet files (12GB) - 9,900 active tickers - 10 years of history (2015-10-25 to 2025-10-22) - 100% success rate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Consolidates news data into the bronze layer following Medallion Architecture principles and adds a new Phase 3 download script for historical news backfill.
Changes
Path Updates
src/cli/commands/polygon.py): Changed default news output fromnews/tobronze/news/scripts/ingestion/ingest_news.py): Updated to use centralizedget_quantlake_root()and bronze layer pathNew Feature
scripts/download/phase3_news_download.py):Documentation
Additional Feature
src/cli/commands/polygon.py):ratioscommand for downloading pre-calculated financial ratios from Polygon APIData Verification
News data verified in correct location:
/Volumes/990EVOPLUS/quantlake/bronze/news/Testing
bronze/news/Impact