Ctrl+K

Portfolio Analyzer

Track your investment portfolio with live stock prices, performance metrics, and allocation analysis.

Features

Live Stock Prices

  • Real-time quotes from Financial Modeling Prep API
  • Heavily cached with Upstash Redis (5-minute TTL)
  • Auto-refresh option (1, 5, 10, or 30 minutes)
  • Day change and percentage tracking

Performance Tracking

  • Total portfolio value across all holdings
  • Day change: Today’s gains/losses
  • Total gain/loss: Since purchase (if cost basis provided)
  • Return percentage: Performance relative to cost basis

Portfolio Allocation

  • Visual pie chart showing percentage allocation
  • Bar chart comparing holding values
  • Instant rebalancing insights

Scenario Management

  • Save multiple portfolio configurations
  • Track different investment strategies
  • Share portfolios publicly (optional)
  • Import portfolios into other analyses

How to Use

  1. Add Holdings: Enter stock symbol, number of shares, and optionally your cost basis
  2. View Live Data: Prices update automatically from FMP API (cached for performance)
  3. Analyze Allocation: See how your portfolio is distributed
  4. Track Performance: Monitor daily changes and total returns
  5. Save Scenarios: Save different portfolio configurations for comparison

Example Portfolios

Conservative Growth

  • 40% VTI (Total Stock Market)
  • 30% BND (Total Bond Market)
  • 20% VNQ (Real Estate)
  • 10% Cash/Money Market

Aggressive Tech

  • 30% AAPL (Apple)
  • 25% MSFT (Microsoft)
  • 20% NVDA (Nvidia)
  • 15% GOOGL (Google)
  • 10% TSLA (Tesla)

Dividend Income

  • 25% VYM (High Dividend Yield)
  • 25% SCHD (Dividend Appreciation)
  • 25% VIG (Dividend Growth)
  • 25% Individual dividend stocks

Calculator

Portfolio Analyzer

Track your investments with live stock prices and performance metrics

Add Holding

API & Caching

This tool uses:

  • Financial Modeling Prep (FMP): Free tier provides 250 API calls/day
  • Upstash Redis: Caches stock prices for 5 minutes
  • Smart caching: Reduces API calls while keeping data fresh

To use this feature:

  1. Get a free API key from financialmodelingprep.comΒ 
  2. Add FMP_API_KEY to your .env.local file
  3. Upstash Redis is already configured

Integration with Other Tools

Portfolio scenarios can be imported into:

  • Life Strategy Evaluator: Factor investment income into career decisions
  • Retirement Calculator: Project portfolio growth over time
  • Financial Independence: Calculate path to FI with current holdings

Tips

πŸ’‘ Diversification: Aim for 15-30 individual holdings or use index funds (3-5 funds)

πŸ’‘ Rebalancing: When one position exceeds target allocation by 5%, consider rebalancing

πŸ’‘ Cost Basis: Always track your purchase price for accurate performance metrics

πŸ’‘ Tax Efficiency: Consider tax-loss harvesting opportunities when holdings are down

⚠️ Not Financial Advice: This tool is for educational purposes. Consult a financial advisor for personalized guidance.