cd ~/projects # or wherever you keep code
git clone <your-repo-url> capital-markets-intelligence
cd capital-markets-intelligence# Create virtual environment
python3 -m venv venv
# Activate it
source venv/bin/activate # On Mac/Linux
# OR
venv\Scripts\activate # On Windows
# Install dependencies
pip install -r requirements.txt# Fetch IPO data
python scripts/01_fetch_ipo_data.py
# Fetch M&A data
python scripts/02_fetch_mna_data.py
# Check your data
ls -la data/raw/When you want Claude to help you build or debug:
# Start Claude Code in this folder
claude-code
# Then ask Claude:
# "Help me debug the IPO fetch script"
# "Add error handling to the M&A script"
# "Build a stress testing module"# After each successful script run
git add scripts/01_fetch_ipo_data.py
git commit -m "Add IPO data scraper with SEC EDGAR + Renaissance Capital integration"
git add data/raw/ipo_data_raw.csv
git commit -m "Add sample IPO dataset (50 records)"
# Push to GitHub
git push origin main- Clone repo locally
- Set up Python venv
- Run
pip install -r requirements.txt - Execute
scripts/01_fetch_ipo_data.py - Verify
data/raw/ipo_data_raw.csvexists - Execute
scripts/02_fetch_mna_data.py - Verify
data/raw/mna_data_raw.csvexists - Run
git add+git commitfor each major milestone - Push to GitHub
Once data is gathered:
# Start Jupyter
jupyter notebook
# Open: analysis/market_sentiment.ipynb
# Follow the template to:
# 1. Load IPO + M&A data
# 2. Plot trends
# 3. Calculate metrics
# 4. Generate visualizations# Run stress test model
python scripts/03_stress_test_model.py
# Generate case studies
python scripts/04_case_study_builder.py
# Export outputs
ls -la output/pip install pandas
# OR re-run: pip install -r requirements.txtThe SEC API sometimes has rate limits. The scripts have built-in delays. If it times out, just run it again in 5 minutes.
Make sure you ran the scripts successfully. Check:
python scripts/01_fetch_ipo_data.py # Should print ✓ checkmarks- Claude Code: Run
claude-codein the project folder - Debug a script:
claude-code+ "Debug this error: [error message]" - Add a feature:
claude-code+ "Add X to the Y script"
- Run Week 1 scripts (this week)
- Build Week 2 analysis notebooks (next week)
- Week 3-4: Stress testing + case studies
- Week 5: Export → Opus for memo writing
Good luck! 🚀