Portfolio Manager

Comparing TSLA vs PLTR on 15 Metrics β€” The Agent's Verdict Surprised Me

+11.3% portfolio Sharpe improvement post-rebalanceFinance & Trading5 min read

Key Takeaway

My AI agent ran a head-to-head comparison of Tesla and Palantir across 15 financial metrics with weighted scoring β€” PLTR won on growth-adjusted value, triggering a 5% portfolio rebalance that I wouldn't have made on gut instinct.

The Problem

I hold both TSLA and PLTR. Both are high-conviction positions. Both are volatile. Both have massive narratives.

The problem with narrative-driven stocks: you stop looking at the numbers. You know the story. The story is compelling. So when someone asks "should you hold more TSLA or more PLTR?" you answer with the story, not the data.

I caught myself doing this during a portfolio review. "TSLA is the larger position because... well, it's Tesla." That's not a thesis. That's brand loyalty disguised as investment analysis.

I needed a framework that compares any two positions on hard metrics, weights them by what I actually care about, and gives me a score that doesn't care about the narrative.

The Solution

Hari, my investment advisor agent, runs a US Stock Analysis skill with a head-to-head comparison template. Fifteen metrics across valuation, growth, profitability, momentum, and risk β€” each weighted by my investment style. The output is a comparison table, narrative analysis, and composite score.

No stories. Just numbers. Then I decide if the numbers change my mind.

The Process

The comparison framework:

yamlShow code
# stock-comparison-config.yaml
comparison:
  stock_a: TSLA
  stock_b: PLTR

metrics:
  valuation:
    weight: 0.25
    items:
      - name: P/E Ratio
        prefer: lower
      - name: PEG Ratio
        prefer: lower
      - name: EV/Revenue
        prefer: lower
      - name: FCF Yield
        prefer: higher

  growth:
    weight: 0.30
    items:
      - name: Revenue Growth (YoY)
        prefer: higher
      - name: Revenue Growth (3Y CAGR)
        prefer: higher
      - name: EPS Growth (YoY)
        prefer: higher

  profitability:
    weight: 0.20
    items:
      - name: Gross Margin
        prefer: higher
      - name: Operating Margin
        prefer: higher
      - name: Net Margin
        prefer: higher
      - name: ROIC
        prefer: higher

  momentum:
    weight: 0.15
    items:
      - name: RSI (14-day)
        prefer: neutral  # 40-60 is ideal
      - name: 52-Week Performance
        prefer: higher

  risk:
    weight: 0.10
    items:
      - name: Beta
        prefer: lower
      - name: Max Drawdown (1Y)
        prefer: smaller

The agent pulls real-time data and generates the comparison:

View details
HEAD-TO-HEAD: TSLA vs PLTR
══════════════════════════════════════════════════════════

VALUATION (Weight: 25%)
─────────────────────────────────────────────────────────
Metric              TSLA        PLTR        Winner
─────────────────────────────────────────────────────────
P/E Ratio           68.4        124.2       TSLA
PEG Ratio           2.14        1.87        PLTR  ←
EV/Revenue          12.8x       22.4x       TSLA
FCF Yield           1.2%        2.1%        PLTR  ←
─────────────────────────────────────────────────────────
Category Score:     TSLA 52 | PLTR 48

GROWTH (Weight: 30%)
─────────────────────────────────────────────────────────
Revenue Growth YoY  18.2%       28.4%       PLTR  ←
Revenue 3Y CAGR     24.1%       24.8%       PLTR  ←
EPS Growth YoY      31.4%       62.1%       PLTR  ←
─────────────────────────────────────────────────────────
Category Score:     TSLA 28 | PLTR 72

PROFITABILITY (Weight: 20%)
─────────────────────────────────────────────────────────
Gross Margin        18.2%       81.4%       PLTR  ←
Operating Margin    8.4%        34.2%       PLTR  ←
Net Margin          7.1%        24.8%       PLTR  ←
ROIC                12.4%       22.1%       PLTR  ←
─────────────────────────────────────────────────────────
Category Score:     TSLA 15 | PLTR 85

MOMENTUM (Weight: 15%)
─────────────────────────────────────────────────────────
RSI (14-day)        58.2        64.8        TSLA  (closer to neutral)
52-Week Perf        +42.1%      +148.2%     PLTR  ←
─────────────────────────────────────────────────────────
Category Score:     TSLA 35 | PLTR 65

RISK (Weight: 10%)
─────────────────────────────────────────────────────────
Beta                2.04        2.42        TSLA
Max Drawdown (1Y)   -38.4%      -31.2%      PLTR  ←
─────────────────────────────────────────────────────────
Category Score:     TSLA 48 | PLTR 52

══════════════════════════════════════════════════════════
COMPOSITE SCORE:    TSLA 35.7 | PLTR 64.3
══════════════════════════════════════════════════════════

The narrative analysis:

PLTR outscores TSLA significantly on growth-adjusted valuation. While TSLA's P/E (68.4) appears cheaper than PLTR's (124.2), the PEG ratio tells a different story: PLTR's earnings growth rate justifies more of its premium. PLTR's profitability metrics are dominant β€” 81% gross margin vs 18% reflects a pure software model versus hardware manufacturing. The 148% 52-week run creates momentum risk, but the lower max drawdown suggests PLTR's volatility is more upside-skewed.

Recommendation: Consider rebalancing 5% from TSLA to PLTR. The growth-adjusted value case is materially stronger for PLTR at current prices.

The Results

MetricBeforeAfterImpact
TSLA allocation25% of equities20%-5%
PLTR allocation25% of equities30%+5%
Portfolio Sharpe (30-day after)1.421.58+11.3%
Decision time"I'll think about it"15 minutesβ€”
Bias detectedBrand loyalty to TSLAβ€”Corrected
Time to generate comparisonβ€”2 minutesβ€”

The PEG ratio was the metric that changed my mind. I was anchored on P/E, which favored TSLA. But PEG β€” which adjusts for growth β€” flipped the picture. PLTR's higher P/E is justified by materially higher earnings growth. The agent surfaced what my confirmation bias was hiding.

Try It Yourself

  1. Sign up for Mr.Chief and install the alpha-vantage skill for stock data
  2. Define your comparison metrics and category weights
  3. Run head-to-head comparisons on any two positions
  4. Adjust weights to match your investment style (value-heavy, growth-heavy, etc.)
  5. Use the composite score as input, not as gospel β€” the agent informs, you decide

The best investment decisions happen when you force yourself to look at numbers you'd rather ignore. The agent doesn't have preferences. That's the point.


Your gut has a position. The numbers might not agree. Listen to the numbers first.

stock-comparisonTSLAPLTRportfolio-rebalancingquantitative-analysis

Want results like these?

Start free with your own AI team. No credit card required.

Comparing TSLA vs PLTR on 15 Metrics β€” The Agent's Verdict Surprised Me β€” Mr.Chief