Portfolio Tracker & Analyzer
This project tracks my Robinhood portfolio and provides key performance indicators and other important metrics. Due to Robinhood not having easily accessible public APIs I have to log each trade I make in a trade_log spreadsheet and then this portfolio tracker scrapes the trade_log everyday and updates the tracker with the new trades.
Tech stack
- Claude Code
Prompt
I want to create a detailed Bloomberg Terminal esque Portfolio Tracking Spreadsheet. Make sure to include KPI's and other relevant metrics to help me analyze my positions and trades. Help me come up with a strong prompt that will generate my desired outcome.
---------------------------------------------
I want you to build me a portfolio tracking spreadsheet. Here are my requirements:
**FILE LOCATIONS:**
- Input: [YOUR PATH]/My Portfolio.xlsx (contains Trade_Log sheet with my trades)
- Output: [YOUR PATH]/My Portfolio_BUILT.xlsx (create NEW file, do NOT overwrite my original)
**PORTFOLIO DETAILS:**
- Starting capital: $[YOUR AMOUNT] (e.g., $1,000,000)
- Start date: [YOUR DATE] (e.g., December 31, 2025)
- All initial positions bought at closing prices on the start date
**CRITICAL - FORMULA-BASED ARCHITECTURE:**
The Python script should ONLY:
1. Read my Trade_Log
2. Fetch market data via yfinance (prices, volumes, company info)
3. Build the Excel structure with FORMULAS
IMPORTANT: Use Excel FORMULAS for ALL calculations. Do NOT hardcode any calculated values.
Every P&L, every percentage, every total should be a formula like =D2*F2, not a static number.
The spreadsheet must up…
8 likes · 1 comment · 5 views
Comments (1)
W i’m about to make this