Download Scripts¶
Python and Bash tools for batch-downloading SEC filings. Last updated: 2026-03-30
Installation¶
git clone https://github.com/yennanliu/finance_data.git
cd finance_data
pip install -r requirements.txt # or: uv sync
Python Scripts¶
build_docs.py¶
download_10k_pdf.py¶
download_10k_v2.py¶
download_grab_6k.py¶
download_grab_6k_selenium.py¶
generate_analysis.py¶
generate_analysis_claude.py¶
generate_analysis_openai.py¶
generate_market_news.py¶
generate_market_news_claude.py¶
generate_market_news_openai.py¶
Bash Scripts¶
batch_download_vti_top25.sh¶
trigger_analysis.sh¶
SEC EDGAR API Notes¶
- Maximum 10 requests/second (SEC rate limit)
- Always include a
User-Agentheader with your contact email - Reports downloaded in PDF or HTML format