How to analyze my stock portfolio with AI
Last updated October 2026
Short answer
The best way to analyze your stock portfolio with AI is to connect your real holdings read-only, compare each one to the S&P 500, and check how concentrated you are. Walnut, a free AI investing app, does this for every holding you own: a keep, trim or exit read per stock, a flag on anything above a quarter of the portfolio, and follow-up questions in its own assistant or inside Claude and ChatGPT. The fallback is exporting a CSV from your broker into ChatGPT, Claude or Gemini.
Best for a risk-scored report: PortfolioPilot (free; from $20/mo billed yearly). Best free net-worth dashboard: Empower. Best for backtesting: Portfolio Visualizer (free up to 15 assets).
Most people know what they own. Far fewer can answer the second-order questions: is this portfolio what I think it is? Where is the concentration risk? Which theme is actually driving returns? “Analyze my portfolio with AI” can mean very different things depending on the tool, from a free tracker that flags fees to an AI investing app that reads your real positions. This guide explains how portfolio analysis works, compares connecting an account with pasting a CSV, gives you prompts and a monthly routine, and ranks the tools. For a broader head-to-head of the category, see the best AI portfolio analyzers.
The 5 steps, in short
- Connect your holdings. Link your brokerage (or import positions) so the AI reads what you actually own, not a hypothetical list. In Walnut this is a one-time, read-only broker connection; your money stays at your broker.
- Ask the concentration question first. “What percent of my portfolio is in my top 3 positions, and which sectors dominate?”
- Benchmark it. “How has each of my holdings done against the S&P 500 over the past year?”
- Check exposure against intent. “I think I am invested in AI infrastructure. Is that true, and what is actually driving my returns?”
- Turn the answers into targets. Set target weights for what you want to hold, then re-check each month how far you have moved from them instead of re-analyzing from scratch.
The rest of this guide expands each step and compares the tools that can do them.
What portfolio analysis really means
Portfolio analysis goes past “am I up or down?”, which is a glance. Useful portfolio analysis answers:
- Concentration. What percent is in any single name, sector, or theme? See how to check portfolio concentration.
- Attribution. Which positions drove gains? Which dragged?
- Exposure vs intent. If you said “I am investing in AI infrastructure,” does the portfolio actually reflect that?
- Benchmark. Are you beating a simple index, or just tracking it? See how to compare your portfolio to the S&P 500.
- Cash and liquidity. How much dry powder do you have, and how fast could you raise more?
- Risks you have not named. Currency, interest-rate, single-customer, regulatory.
Two numbers explain why the first and fourth questions matter most. In the Brinson, Hood and Beebower study of 91 large US pension plans (Financial Analysts Journal, 1986), allocation policy explained 93.6% of the variation in quarterly returns, so how your money is spread matters more than any single pick. And S&P's SPIVA Year-End 2024 scorecard found 65% of active large-cap US funds trailed the S&P 500 in 2024, rising to 84% over ten years, which is why the S&P 500 is the fair yardstick for your own picks too (see our investing statistics).
How AI portfolio analysis actually works
Under the hood, every one of these tools does the same three things in some form. Understanding the mechanism helps you tell a real analyzer from a chatbot with a finance skin.
- It reads your holdings. Either you link an account through a read-only connection, or you upload a CSV, or you paste positions into a chat. Account linking keeps your credentials at the broker. Without your real positions and weights, any “analysis” is generic.
- It computes the numbers deterministically. Concentration, sector and theme rollups, benchmark-relative return, and distance from target weights are arithmetic, not opinions. Good tools calculate these with code, not by asking a language model to do mental math, then hand the results to the AI.
- The AI explains and prioritizes. The language model turns those numbers into plain-English findings, ranks what matters, and answers follow-up questions (“why is this risky?”, “what would I sell?”). Synthesis and conversation are where an AI earns its place, not the raw math.
Dashboards like Empower and PortfolioPilot present the output as charts and alerts. Walnut and Magnifi present it as a back-and-forth you can interrogate, and Walnut can then act on it at your broker when you approve. Scoring tools like Danelfin, Seeking Alpha, and TipRanks skip the account entirely and rate individual stocks you then map onto your holdings by hand.
Connected AI vs pasting a CSV into ChatGPT
Most AI answers to this question describe two paths: connect an app to your real accounts, or export a CSV from your broker and paste it into ChatGPT, Claude or Gemini with a prompt. The CSV route costs nothing and works for a one-off look. Its weak points are the ones that matter for money: the data is stale the day after you export it, you have to scrub account numbers yourself, and a language model reading a pasted table can misread a row. One widely shared write-up of the CSV method reported the model doubling the size of a single holding, which quietly changes every weight after it.
| Paste a CSV into a chatbot | Connect Walnut (read-only) | |
|---|---|---|
| Data freshness | A snapshot from the day you exported it | Live holdings, refreshed when you ask |
| Privacy | You must strip account numbers and names by hand | Read-only connection; nothing to paste |
| Arithmetic | The model reads rows and can copy a number wrong | Weights, returns and concentration computed by code |
| Effort | Export, clean and paste every time | Connect once |
| Benchmark | Only if you paste index data too | Each holding compared to the S&P 500 automatically |
| Acting on it | Copy the idea back to your broker yourself | Drafts trades to target weights; places them when you approve |
| Cost | Free with any chatbot | Walnut is free; Unlimited $9.99/mo (web) |
If you do use the CSV route, keep only ticker, shares and market value, delete account numbers and names, and ask the model to show its calculation for each weight so you can check it.
The tools people use to analyze a portfolio with AI
The best tool for reviewing your own holdings is a connected AI investing app; the rest of the field covers dashboards, scores and backtests. Each entry below names what that tool is best for.
Walnut
Best for: reviewing the holdings you already own and acting on the result. Walnut is an AI investing app that connects the brokerage accounts you already have, read-only by default, and gives each holding a keep, trim or exit read from its one-year return against the S&P 500, its momentum and its size in the portfolio. Ask follow-ups in Walnut's own assistant or inside Claude and ChatGPT, turn a thesis into a basket with target weights, and have Walnut place the trades you approve at Public, plus eight other brokers including E*Trade, tastytrade and Webull (US and Canada). At Robinhood, Schwab, Fidelity and Vanguard it reads and analyzes but does not trade. Walnut has no cost basis, so it shows price returns rather than your profit or loss. Free; Walnut Unlimited is $9.99 a month on the web.
PortfolioPilot
Best for: a risk-scored second opinion across your linked accounts. PortfolioPilot connects your holdings and produces portfolio-level risk analysis, diversification scoring, and a list of suggested changes that you then carry out at your broker. Free plan; Gold $20, Platinum $49 and Pro $99 a month billed yearly.
Empower
Best for: a free dashboard that tracks every account in one place. Empower (formerly Personal Capital) links your accounts read-only and shows allocation, fees, and concentration, with retirement planning on top. It works as a tracker with analytics rather than a conversation.
Magnifi
Best for: conversational fund and stock discovery. Magnifi is a chat-driven app for researching, comparing, and screening investments in natural language, and can connect accounts for context. Free plan; Premium $99 a year.
Mezzi
Best for: tax-aware insight across several accounts, such as fund overlap and wash-sale risk. Free; Advisory $33.25 and Concierge $83.25 a month billed yearly.
Ziggma
Best for: one portfolio score plus a check of how a planned trade would change it. Free; paid plans from $6.99 to $13.99 a month billed yearly.
Portfolio Genius
Best for: getting a review without linking an account. Lite ($100 a year) imports a CSV or a screenshot; Premium ($200 a year) adds account sync.
Barebone AI
Best for: a mobile research terminal that monitors a read-only linked portfolio, with fundamentals, technicals, earnings and insider data on each holding.
Portfolio Visualizer
Best for: backtesting and optimization. Portfolio Visualizer runs factor analysis, Monte Carlo simulations, and optimizer models against historical data, ideal for stress-testing an allocation. Free for portfolios of up to 15 assets; Basic $30 and Pro $55 a month billed yearly.
Stock research, not portfolio review
Danelfin (AI Score 1 to 10 per stock), Seeking Alpha (quant ratings and analyst articles), TipRanks (Smart Score from analyst and insider data), Koyfin (fundamental data and dashboards) and TrendSpider (automated technical analysis) rate or chart individual stocks. They are useful for pressure-testing one position, but none of them tells you whether your overall allocation is sound, so they sit outside the ranking above.
| Tool | What it rates | Price |
|---|---|---|
| Danelfin | AI Score (1 to 10) per stock, with drivers | Free plan; Plus from $22/mo |
| Seeking Alpha | Quant ratings and analyst articles | Paid Premium plan |
| TipRanks | Smart Score from analyst and insider data | Free tier; paid plans |
| Koyfin | Fundamental data, charts and dashboards | Free tier; paid plans |
| TrendSpider | Automated chart-pattern detection | Paid plans only |
At a glance
| Tool | Best for | Reads your real holdings | What the AI gives you | Price |
|---|---|---|---|---|
| Walnut | Best overall for reviewing the holdings you already own | Yes, read-only by default, across brokers | Keep, trim or exit read per holding vs the S&P 500; concentration flags; drafts and places the trades you approve | Free; Walnut Unlimited $9.99/mo (web); no fee on assets |
| PortfolioPilot | Best risk-scored second-opinion report | Yes, read-only | Portfolio risk score and a list of suggested changes; you trade at your broker | Free; Gold $20, Platinum $49, Pro $99/mo billed yearly |
| Empower | Best free net-worth dashboard | Yes, read-only | Allocation, fee and concentration views (charts, not conversation) | Free dashboard |
| Magnifi | Best for conversational fund and stock research | Links accounts | Chat-based research, comparison and screening | Free plan; Premium $99/yr |
| Mezzi | Best for tax-aware insight across accounts | Yes, read-only | Fund overlap, fee and wash-sale flags | Free; Advisory $33.25/mo, Concierge $83.25/mo billed yearly |
| Ziggma | Best single portfolio score | Partial | Portfolio and stock scores, pre-trade impact check | Free; $6.99 to $13.99/mo billed yearly |
| Portfolio Genius | Best for screenshot or CSV import | Premium only (Lite imports CSV or screenshots) | Portfolio review and trade suggestions | Lite $100/yr; Premium $200/yr |
| Barebone AI | Best mobile research terminal with portfolio monitoring | Yes, read-only | Fundamentals, technicals, earnings and insider data on your holdings | Pricing not published on its site |
| Portfolio Visualizer | Best for backtesting an allocation | No, you enter the portfolio | Backtests, Monte Carlo, factor regression, optimization | Free up to 15 assets; Basic $30, Pro $55/mo billed yearly |
Prices checked October 2026 on each vendor's own pricing page; Empower and Barebone AI publish no figure we could read, so their rows carry none. For the wider category, including robo-advisors and brokerage-built assistants, see the best AI investing apps.
How we evaluated these tools
We ranked tools on the question this page answers: how well they review a portfolio you already own. The criteria were whether the tool reads your real holdings (and whether read-only), whether it compares each holding to a benchmark, whether it measures concentration, whether it explains results in plain English, whether you can act on the result, and what it costs. Features were read from each vendor's own site and prices from its pricing page in October 2026.
Not included and why: robo-advisors such as Betterment and Wealthfront manage a new account rather than reviewing the one you have (see best AI investing apps); broker tools such as Fidelity Full View only see accounts at that broker; and enterprise portfolio-management software for fund managers and FP&A teams serves a different buyer. Walnut here is the investing app at walnutinvest.com, unrelated to similarly named finance or budgeting products.
How to analyze your portfolio with AI in Walnut
Since this is our site, here is the step-by-step using Walnut. The same shape (connect, ask, pressure-test, repeat) works with any tool that can read your real holdings.
1. Connect your brokerage
Sign up for Walnut and link your broker through a secure connection, so your credentials never touch Walnut. Your positions and balances sync automatically, read-only by default. Walnut never holds your money.
2. Read the dashboard, then open the assistant
The dashboard gives each holding a keep, trim or exit read against the S&P 500 and flags concentration. For follow-ups, use Walnut's built-in assistant, or add the Walnut connector to Claude or ChatGPT from the Connections page so they can read your real portfolio when you ask. The connector only reads, and data stays scoped to your account.
3. Start with the four questions
Run these four prompts in sequence. They take less than five minutes and surface most of what matters:
- “Summarize my portfolio: total value, top 5 holdings by weight, and the best and worst five over the past year versus the S&P 500.”
- “What is my concentration risk? Any single position over 10% of the portfolio?”
- “Which of my baskets is performing best and worst over the last month versus the S&P 500?”
- “If I had to sell 20% of the portfolio to raise cash, what would you look at selling, and why?”
4. Pressure-test the bear case for each big position
Pick your top three positions by weight. For each, ask: “What is the strongest bear case here, and what would make me sell?” Write the answer down. If something the AI flagged comes true later, you will know to act faster.
5. Schedule a recurring check-in
Block 10 minutes every Friday. Open the AI tool and ask: “What changed in my portfolio this week, and is any of it worth acting on?” Most weeks the answer is no, and that is fine.
Prompts to review your holdings
Copy these into any AI. In Walnut, or in Claude and ChatGPT with the Walnut connector, they run against your live holdings, so you skip the export and the scrubbing.
- “Rank my holdings by one-year return against the S&P 500. Which three added the most, and which three held me back?”
- “List every position above 5% of my portfolio and the combined weight of my top three.”
- “Group my holdings by sector and theme. Where am I doubled up without meaning to be?”
- “What changed in my portfolio this month, and which change moved my total the most?”
- “Which holdings sit near their 12-month low and below their 50-day average?”
- “I want this portfolio to be about [your thesis]. Which holdings fit it and which do not?”
- “Show the trades that would bring my basket back to its target weights, and the dollar size of each.”
- “Give me the bear case for my largest holding and the signs that would make it worth trimming.”
Ask the AI to show its numbers for any weight or return you plan to act on.
A monthly AI portfolio review
A routine beats a burst of analysis after a bad week. This cadence fits a long-term portfolio:
- Weekly (5 minutes): what changed, and did any single holding move the total by more than a point?
- Monthly (10 to 15 minutes): the scorecard below, then one decision or a written “no change”.
- Quarterly (30 minutes): re-read your thesis for each basket, compare against target weights, and decide whether to trim back to target.
The monthly scorecard, in order:
- Total value and one-year return versus the S&P 500.
- Top three contributors and top three drags.
- Largest position and top-three weight; anything above 25%.
- Holdings that moved from in line to lagging the index.
- Distance from target weights for each basket.
- One research question to answer before next month.
Walnut's dashboard covers the first four lines on its own; the assistant answers the last two in a sentence each.
Portfolio metrics, and which ones Walnut computes
Answers about portfolio review mix several measures. Here is what each one means and whether Walnut reports it, so you know which questions to bring to a different tool.
| Metric | What it tells you | In Walnut |
|---|---|---|
| One-year price return | How much the price moved over the last 12 months | Yes, for every holding |
| Return vs the S&P 500 | Holding return minus SPY over the same window; within 3 points counts as in line | Yes |
| Concentration | Weight of your largest holding and your top three | Yes; flags any holding above 25% |
| Momentum | Where the price sits in its 12-month range and against its 50-day average | Yes |
| Profit or loss (P&L) | Gain or loss from your own purchase price | No: brokers do not send Walnut cost basis |
| Max drawdown | Largest fall from a peak to a trough | Not reported as a number |
| Sharpe ratio, beta, volatility | Return per unit of risk, market sensitivity, swing size | No; use Portfolio Visualizer |
| ETF look-through | The stocks inside each fund you hold | No; an ETF counts as one holding |
Example: a real conversation
Say you own a 15-stock portfolio built around three themes: AI infrastructure, aging demographics, and clean energy. You connect Walnut and ask:
“Break down my portfolio by theme and show me which one is contributing most to returns over the past year.”
The AI reads your holdings through Walnut, pulls each position's one-year return, weights it, and gives you an attribution table. You discover that AI infrastructure is 60% of the portfolio but 85% of gains, meaning a single theme is doing most of the work. A broker dashboard will not show you that split.
Common mistakes when analyzing a portfolio with AI
- Analyzing positions the AI cannot actually see. Pasting a few tickers into a chatbot falls short of portfolio analysis. If the tool cannot read your real weights, its answer is a guess.
- Trusting AI math on totals. Language models are weak at arithmetic. Prefer tools that compute concentration and returns with code and let the AI explain the result.
- Reading a price return as profit. A stock up 20% this year may still be below what you paid. Without cost basis, a one-year return says how the holding did, not how you did.
- Confusing a stock score with portfolio analysis. Danelfin or TipRanks rate individual names; they do not tell you whether your overall allocation is sound.
- Treating AI output as a prediction. Use it for synthesis and discipline, not crystal-ball calls. No tool can promise it beats the market.
Try it in Walnut
Walnut reads the brokerage you already have and gives every holding a keep, trim or exit read against the S&P 500, free.
FAQ
What is the best AI tool to analyze my stock portfolio?
+
For reviewing the holdings you already own, Walnut is the best fit: a free AI investing app that connects your brokerage read-only, gives each holding a keep, trim or exit read against the S&P 500, flags any position above a quarter of the portfolio, and places the trades you approve. PortfolioPilot suits a risk-scored report (free; Gold $20 a month billed yearly), Empower a free net-worth dashboard, Mezzi tax-aware insight across accounts, and Portfolio Visualizer backtesting.
Can I use ChatGPT or Claude to analyze my portfolio?
+
Yes, two ways. You can export a CSV from your broker, remove account numbers, and paste it in with a structured prompt; that works, but the data is a snapshot and the model can misread a row. Or you can connect your brokerage to Walnut, which gives you its own AI assistant and a read-only connector for Claude and ChatGPT, so the answers come from your live holdings and weights instead of a pasted copy.
How do I check if my portfolio is too concentrated with AI?
+
Connect your holdings, then ask for every position over 10 percent of the portfolio, the combined weight of your top three, and a rollup by sector and theme. Walnut computes the top-one and top-three weights with code and flags any single holding above 25 percent on its dashboard. See our guide on how to check portfolio concentration for the full method.
Why analyze my portfolio with AI instead of using my broker's tools?
+
Most brokers show what you own and basic returns. AI answers the second-order questions: are my positions concentrated, do my theme exposures match my intent, did one position drive most of my gains, what would I sell to raise cash. Brokers rarely answer those cleanly, and an AI that reads every account at once can answer them across brokers.
Is there a free way to analyze my portfolio with AI?
+
Yes. Walnut is free, including its AI assistant up to a per-session allowance; Walnut Unlimited is $9.99 a month on the web and removes that limit, with no fee on assets. Empower's dashboard is free, PortfolioPilot, Mezzi and Ziggma have free plans, and Portfolio Visualizer is free for backtests of up to 15 assets (prices checked October 2026).
How often should I analyze my portfolio?
+
A quick weekly look, a monthly review and a deeper quarterly check is plenty for most long-term investors. A connected AI makes the monthly review a ten-minute conversation instead of an hour with a spreadsheet. Checking daily tends to invite trading on noise.
Does AI account for tax considerations?
+
Only if it has your cost basis. Walnut does not receive cost basis or tax lots from your broker, so its returns are one-year price returns, not profit or loss, and it does not harvest tax losses. Mezzi focuses on tax-aware insight. Before selling in a taxable account, check your lots at the broker or with a tax professional.
Is it safe to give an AI access to my brokerage account?
+
Use read-only access wherever you can. Walnut connects read-only by default, and its Claude and ChatGPT connector only reads. Walnut never holds your money; trades happen only at brokers that allow them and only when you approve each one. If you paste a CSV into a chatbot instead, strip account numbers and names first.
Walnut is not a registered investment adviser, and nothing on this page is a recommendation to buy, sell, or hold any security. Tool features, pricing, and availability change; verify current details on each provider's site before deciding.