When to sell a stock
Knowing when to sell is the hardest part of investing. Buying is exciting and gets all the attention. Selling is quiet, undertaught, and where most of the regret lives. The goal is not to call the exact top, that is luck, not skill. It is to sell for a reason you can write down and defend later. Here is a framework, and how AI can pressure-test it.
What “the right time to sell” really means
Most selling advice is built around price: sell at a target, sell after a 20% gain, sell when it doubles. Price rules are easy to follow and usually wrong, because they ignore the only thing that matters, which is whether the reason you own the stock still holds.
A good sell decision answers one question: has anything changed that breaks why I bought this? If the answer is no, a higher or lower price is not, by itself, a reason to act. If the answer is yes, the price barely matters. Everything below is a way of making that question concrete.
Four reasons to sell a stock
1. The thesis broke
You bought for a reason: a growth story, a moat, a turnaround, a dividend. If that reason stops being true, the stock no longer belongs in your portfolio, regardless of the price. A software company whose growth stalled, a retailer losing its core customer, a chip name that fell out of the AI buildout: those are broken theses, not dips.
2. The position got too big
A winner that ran can quietly become 30% or 40% of your portfolio. That is no longer a bet, it is a concentration risk. Trimming it back to a deliberate weight is not giving up on the company. It is refusing to let one stock decide your entire outcome.
3. It has lagged the market for a long stretch, with no catalyst
One bad quarter is noise. Trailing the S&P 500 for a year or more, with weakening momentum and nothing on the horizon to change it, is a signal. The opportunity cost is real: money stuck in a chronic laggard is money not working somewhere better.
4. You found a better use for the money, or you need it
Sometimes the cleanest reason to sell is that a different idea is simply more compelling, or that life needs the cash: a house, a tax bill, an emergency fund. Both are legitimate. Your portfolio exists to serve your goals, not the other way around.
How to pressure-test a sell decision with AI
1. Write the original thesis in one sentence
Before you touch the sell button, state why you own it: “I own this because it is the leading picks-and-shovels play on AI compute.” If you cannot finish that sentence, that itself is informative.
2. Ask the AI what changed
Connect Walnut to Claude or ChatGPT and ask: “What has materially changed about this company in the last quarter, and does it break the thesis that it leads AI compute?” The AI pulls current news and fundamentals so your read reflects today, not the day you bought.
3. Check it against the market, not against your purchase price
Walnut's dashboard shows how each holding is tracking the S&P 500 over the past year, where the price sits in its range, and whether momentum is fading. A stock up 15% can still be a laggard if the market is up 25%. Judging against the market, not your cost basis, removes the anchoring that keeps people in dead money.
4. Get a keep, trim, or exit read, then decide
The dashboard turns all of that into a single call per holding: keep, trim, or exit, with the reasoning shown. Treat it as a second opinion to argue with, not an order to follow. You place any trade yourself, through your own broker.
Common selling mistakes to avoid
- Anchoring to your purchase price. The market does not know or care what you paid. “I'll sell when it gets back to even” is a wish, not a strategy.
- Selling winners too early. Cutting your best performers to lock in a small gain, while holding losers hoping they recover, is the most common way portfolios underperform.
- Panic-selling on headlines. A scary headline is not the same as a broken thesis. Ask what actually changed about the business before you react to the noise.
- Ignoring taxes. In a taxable account, selling a winner triggers a tax bill. It can still be the right move, but factor it in, and consider tax-advantaged accounts for the trades that churn most.
Try it in Walnut
Walnut reads your real holdings and shows how each one is tracking the market, then flags keep, trim, or exit so you can decide with the full picture. Informational, not personalized advice.
FAQ
How do you know when to sell a stock?
+
Sell for a reason you can write down, not a feeling. The four common ones: the reason you bought no longer holds, the position has grown too large a share of your portfolio, it has lagged the market for a long stretch with no catalyst, or you need the cash. If none of those apply, holding is usually the right default.
Should I sell a stock when it drops?
+
A price drop alone is not a sell signal. The question is why it dropped. If the business is intact and only the price fell, that is closer to a discount than a warning. If the drop reflects a broken thesis, slowing growth, or a structural change, that is a real reason to reconsider. Separate the price from the story.
When should I sell a stock for profit?
+
Taking profit makes sense when a winner has grown into an oversized share of your portfolio, when you have a clearly better use for the money, or when you need cash for a real goal. Selling purely because a stock is up, while the reason you bought still holds, often means leaving your best performers behind too early.
Can AI tell me when to sell a stock?
+
AI can synthesize the signals fast: how a holding is tracking the market, whether momentum is fading, and how concentrated it has become. Walnut's dashboard reads your real holdings and flags each one as keep, trim, or exit for you to review. It is informational analysis to think with, not personalized advice, and the decision stays yours.