We have some exciting news to share! The Motley Fool UK has now become The Twelfth Magpie -- an independent, UK-owned company, led by our long-serving UK management team — Mark Rogers, Chris Nials and Heather Adlington. In practical terms, it’s the same team you know, now fully focused on serving our UK readers and members.

Just as importantly, our approach remains unchanged: long-term, jargon-free, and on your side. This site is our new home, and there will be extra tweaks made across the coming few days as we settle in. So if anything looks a little off, please bear with us!

The content of this article was relevant at the time of publishing. Circumstances change continuously and caution should therefore be exercised when relying upon any content contained within this article.

I asked ChatGPT to build me the perfect portfolio for earning a second income and it said…

AI has some interesting ideas about how our author could earn a second income. But in terms of which stocks to buy, its answers left him underwhelmed.

| More on:
This way, That way, The other way - pointing in different directions

Image source: Getty Images

You’re reading a free article with opinions that may differ from The Motley Fool’s Premium Investing Services. Become a Motley Fool member today to get instant access to our top analyst recommendations, in-depth research, investing resources, and more. Learn More.

Earning a second income from the stock market sounds great, but which shares should I buy to try and make this happen? To find out, I tried asking ChatGPT for some ideas.

Taking investment advice from a source with a well-documented hallucination problem seems a bit strange to me. But I have another issue with what I found.

XXX

The portfolio

I told ChatGPT I had 30 years before I needed to draw down income from the portfolio, which is what I’m currently estimating. Its suggestion was the following:

Asset classPortfolio weighting
Global equities35%
UK equities30%
Gilts10%
Corporate bonds10%
UK REITs10%
Alternative investments5%

That’s pretty well-diversified. And it also suggested some well-known exchange-traded funds (ETFs) like the iShares Core FTSE 100 ETF for the UK equity part of the portfolio. 

Things got more interesting, though, when I asked it about some specific names. One that it offered me was Legal & General (LSE:LGEN). 

It’s easy to see why – it’s a well-established business and the stock has a high dividend yield. But I actually think the risks are quite high.

Investments go wrong in one of three ways. Either someone buys at the wrong time, sells at the wrong time, or the business makes less money than expected.

With Legal & General, this is complicated. In terms of buying and selling, there’s a lot to work out in terms of solvency ratios and the impact of market fluctuations on its balance sheet.

Ignoring these issues looks very risky. Sooner or later, there’s a good chance something makes the share price move sharply and I need to be able to figure out whether I should buy or sell.

If I can’t work that out, there’s a real danger that I’ll do the wrong thing, which could be a costly mistake. And that means me buying the stock involves a lot of unnecessary risk.

Dividends

Here’s an example of the kind of thing I have in mind: since 2022, Legal & General has paid out more in dividends than it has generated in earnings. That looks like a problem – but is it?

The answer is complicated. The company is currently well above its Solvency II capital requirements, so it can use the excess to fund investor returns without getting into trouble.

So far, so good. But the question for shareholders then becomes what happens to the firm’s Solvency II ratio if – for example – government bond prices fall sharply after the UK Budget. 

That probably wouldn’t be good, but would it be a problem? I don’t know and this makes me think owning the stock in my portfolio is asking for trouble sooner or later.

Just ask ChatGPT?

Of course, I could just keep asking ChatGPT what to do every time something happens to the Legal & General share price. But aside from the potential for inaccuracy, what happens if ChatGPT stops being free? 

That might seem unlikely, but OpenAI is losing money and needs to find $1.4trn to meet its spending commitments. This is why I think buying on the basis of AI advice is very risky.

With my own money, I’m sticking to investments that I can work out for myself. And even without technical or specialist knowledge, I think there are enough of them out there.

Stephen Wright has no position in any of the shares mentioned. The Motley Fool UK has no position in any of the shares mentioned. Views expressed on the companies mentioned in this article are those of the writer and therefore may differ from the official recommendations we make in our subscription services such as Share Advisor, Hidden Winners and Pro. Here at The Motley Fool we believe that considering a diverse range of insights makes us better investors.

More on Investing Articles

Friends and sisters exploring the outdoors together in Cornwall. They are standing with their arms around each other at the coast.
Investing Articles

£503 buys 14 shares in this FTSE 250 stock that returned 23.9% annually for the last 15 years

This FTSE 250 stock has averaged a huge return for 15 years. At today's price, £503 buys 14 shares. But…

Read more »

Black woman using loudspeaker to be heard
Investing Articles

£1,000 buys 25 shares in this FTSE 100 stock that’s returned 29.2% annually for the last 10 years

This FTSE 100 mining stock has returned close to 30% a year for a decade. At 3,995p, £1,000 buys 25…

Read more »

Female student sitting at the steps and using laptop
Investing Articles

Down 47%, is this growth stock finally worth buying in May?

With a £288m order book and a hidden pipeline of defence and nuclear contracts, is this growth stock now too…

Read more »

House models and one with REIT - standing for real estate investment trust - written on it.
Investing Articles

2 REITs yielding 7%+ to consider for passive income in 2026

A REIT backed by the NHS and another backed by Tesco and Sainsbury's with both yielding 7%+. Here's why I'm…

Read more »

Woman riding her old fashioned bicycle along the Beach Esplanade at Aberdeen, Scotland.
Investing Articles

Just 97 shares of this UK dividend stock generate £238 in passive income

A 5.7% yield, £238 in passive income from just 97 shares, and one of the most divisive dividend stocks on…

Read more »

ISA coins
Investing Articles

£10,000 in an ISA generates a second income of…

The London Stock Exchange is home to some of the world's most generous dividends. But how big a second income…

Read more »

Shot of a senior man drinking coffee and looking thoughtfully out of a window
Investing Articles

Expert recommendations: 2 top income stocks yielding 7%+!

With yields of 7.2% and 7.8% respectively, these two income stocks are catching the eyes of institutional analysts. Should investors…

Read more »

Illustration of flames over a black background
Investing Articles

3 top income-focused stocks to buy in May 2026, according to experts

Looking for a stock to buy for income in May 2026? Experts have flagged these three UK dividend shares as…

Read more »