1/

Get a cup of coffee.

In this thread, I'll share with you some thoughts on portfolio optimization.

This will help you understand: a) the basic math of optimization, and b) under what circumstances it makes sense to choose investments that maximize CAGR/IRR.
2/

The idea for this thread came from a poll that I conducted earlier this week:
3/

Here's the poll question I asked:

Suppose we have a stock that multiplies in value by a factor of N.

But it takes N years to do so.

What's the *maximum* rate of return (CAGR) that we can get from such a stock -- assuming we are free to choose whatever N we like?
4/

The right answer is ~44.47% -- the CAGR we get from a stock that grows by a factor of ~2.718 in as many years.

Unfortunately, only ~29.2% of respondents got this question right. The other ~70.8% got it wrong.
5/

So, let's work out the solution to this problem.

And then we'll discuss broader implications for investors.

👇👇👇
6/

First, we should clarify a potential ambiguity in the phrasing of the question.

The question uses the phrase "N-bagger" to mean "a stock that grows in value by a factor of N".

But there are 2 ways to interpret this.
7/

The more common interpretation: Every $1 invested in the stock turns into N dollars -- ie, a *gain* of N - 1 dollars.

The less common interpretation: Every $1 invested in the stock turns into N + 1 dollars -- ie, a *gain* of N dollars.

Which of these does the question mean?
8/

Fortunately, the question gives us 2 CAGR numbers that we can use to resolve this ambiguity:

a) A 10 bagger in 10 years: ~25.89%, and

b) A 100 bagger in 100 years: ~4.71%.

These CAGR numbers will tally for only ONE interpretation, NOT the other.
9/

When we calculate these CAGRs for both interpretations, we see that ONLY the more common interpretation tallies.

This resolves our ambiguity:

A 10-bagger means every $1 we put in becomes $10 (NOT $11) -- ie, $9 (NOT $10) worth of gains for every $1 invested.
10/

So, we've resolved our ambiguity.

Let's now solve the question.

We want to find whatever N maximizes the CAGR of a $1 investment turning into $N in N years.

This CAGR is easy enough to calculate as a function of N.

Here's how:
11/

Now that we have our CAGR as a function of N, all that remains is to find out which N maximizes the function.

A simple way to do this is to just *plot* the function. Then we zoom in on the plot to find the N we want.

This gives us N = ~2.718 years, for a ~44.47% CAGR.
12/

So, we have our answer.

The *maximum* CAGR we can get from an "N-bagger in N years" is ~44.47%.

We get this maximum CAGR when N = ~2.718.

That's the third option in the poll: Max CAGR >= 40%, < 50%.
13/

A more sophisticated way to solve the problem is via Differential Calculus.

This has 2 advantages over "plotting and zooming":

a) We don't need a computer. We can work out the answer using just pen and paper. And,

b) We get an *exact* answer -- not just an approximation.
14/

The central idea in Differential Calculus is the *derivative* -- a measure of how *quickly* a function changes when its inputs change.

Here, we have CAGR as a function of N.

So, the "derivative" of this function measures how quickly CAGR changes when we change N.
15/

The blue curve below is our CAGR function.

The orange curve is the "derivative" of CAGR -- obtained using Differential Calculus.
16/

Our derivative (the orange curve) has some useful properties:

When the curve is POSITIVE, an *increase* in N produces an *increase* in CAGR.

And when the curve is NEGATIVE, an *increase* in N produces a *decrease* in CAGR.
17/

We want to find the point where CAGR is at its *maximum*.

That is: *upto* this point, CAGR *increases* with N. But *after* this point, CAGR *decreases* with N.

And that means: we're looking for the point where our orange curve *transitions* from POSITIVE to NEGATIVE.
18/

"Transitioning from POSITIVE to NEGATIVE" means "Crossing ZERO".

So, the point where our orange curve crosses zero is exactly where our CAGR will be maximum.

That's the point we want to find.

And Differential Calculus lets us find it *exactly*.

Like so:
19/

So, calculus is telling us that we'll find our maximum CAGR at N = e = ~2.718...

This, of course, matches the approximation we found via "plot and zoom".

e is a fundamental and fascinating math quantity. It pops up in all kinds of places.

For more:
20/

Our poll question also carries broader investing implications.

For example, one immediate conclusion is that we can't just focus on how many "multiples" we bag.

The *time* it takes to bag said multiple is crucial.
21/

I see lots of discussions on FinTwit about 10 baggers, 100 baggers, etc.

But very few of these discussions incorporate the *time* factor.

Even a 100 bagger is NOT particularly wonderful -- if it takes 100 years to work its magic. As we've seen, that's only a ~4.71% CAGR.
22/

But on the other hand, we also shouldn't focus on JUST maximizing CAGR/IRR -- to the exclusion of everything else.

A key question to ask is: *how long* can we sustain a particular CAGR/IRR?
23/

For example, suppose we buy a stock and it goes up 2% in one day.

That's a whopping (1.02^365 - 1)*100 = ~137,641% CAGR!

But is it sustainable? Can we grow our portfolio at 2% per day every single day? Most likely not.
24/

Over short time durations, CAGRs/IRRs can be very misleading.

For most of us, a *decent* CAGR that can be sustained for *decades* will leave us better off than a *great* CAGR that quickly peters out.

We should direct our search for investment opportunities accordingly.
25/

A closely related concern is "re-investment risk".

For example, Business #1 may be able to invest capital at a 50% IRR.

But only for a limited amount of time -- until the market gets saturated or competition steps up or whatever.
26/

This business has re-investment risk. It's unlikely that management will be able to keep re-investing profits for long at 50%.

By contrast, Business #2 may get an IRR of only 20%. But they may have a "moat" that lets them keep re-investing profits for decades at that rate.
27/

There's yet another factor: the amount of capital that can be deployed.

Businesses like Berkshire, for example, have tens of billions of dollars to invest.

An opportunity that lets them invest, say, $50M at a 200% IRR, still doesn't move the needle very much.
28/

By contrast, an opportunity that lets them earn only 10% to 12% IRR can still be very attractive -- IF it can absorb tens of billions of dollars every year.

Again, the goal isn't just to maximize IRR. It's to maximize end net worth/utility -- adjusted for risk.
29/

Thus, while choosing an investment for our portfolio, we should consider a bunch of factors:

- the IRR we'll get,
- how long this IRR will be sustained for,
- re-investment risk,
- how much capital can be deployed,
- the uncertainty around the IRR and its duration, etc.
30/

Howard Marks (@HowardMarksBook) has written a wonderful memo dissecting some of these factors.

It has the lovely title: You Can't Eat IRR.

Link: oaktreecapital.com/docs/default-s…
31/

I'd also like to thank Ho Nam (@honam) for his perspectives on why many fund managers are incentivized to maximize IRR, and Prof. Sanjay Bakshi (@Sanjay__Bakshi) for his keen insights about re-investment risk.

32/

And if you want to learn more about the history of calculus and all the wonderful things it lets us do, here's an outstanding non-technical book by Prof. Steven Strogatz (@stevenstrogatz): Infinite Powers.

amazon.com/Infinite-Power…
33/

I'll leave you with a quote from one of the world's greatest computer scientists, Don Knuth.

The key idea:

We shouldn't blindly optimize for IRR, or the chance of a 100 bagger, or re-investment risk, etc. We should look at the combined effect of all the important factors.
34/

Thank you very much for taking the time to read all the way to the end.

Please stay safe. Enjoy your weekend!

/End

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with 10-K Diver

10-K Diver Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @10kdiver

30 Oct
1/

Get a cup of coffee.

In this thread, I'll walk you through a somewhat counter-intuitive relationship:

When a company is aggressively buying back shares, long-term owners can actually *benefit* if the company's stock price stays low for a while.
2/

In his 2011 letter to Berkshire shareholders, Warren Buffett shared this particular nugget of wisdom:

When companies buy back shares, Buffett said that long-term owners should *root* for stock prices to languish.
3/

To illustrate his point, Buffett used Berkshire's investment in IBM as an example.

This was unfortunate -- because that investment didn't quite work out.

But the *principle* that Buffett was trying to explain is still valid.

Let's unpack it.
Read 21 tweets
23 Oct
1/

Get a cup of coffee.

In this thread, I'll walk you through Shannon's Demon.

This is an investing "thought exercise" -- posed by the great scientist Claude Shannon.

Solving this exercise can teach us a lot about favorable vs unfavorable long-term bets, position sizing, etc.
2/

Claude Shannon was an extraordinary engineer, scientist, and tinkerer.

For example, he single-handedly created the field of Information Theory -- the backbone behind virtually all modern communication and Internet technologies. Image
3/

Shannon was not just a great scientist.

He was also a very successful investor.

He and his wife Betty were avidly interested (and active) in the stock market.

By some accounts, they managed to compound their portfolio at ~28% per year from the late 1950s through 1986. Image
Read 35 tweets
12 Oct
1/

Ed Thorp (@EdwardOThorp) is a pioneer in the field of "how to recognize and take advantage of mis-priced bets".

This question has led Thorp to discover all kinds of fascinating and highly profitable strategies -- in Blackjack, Options Trading, Statistical Arbitrage, etc.
2/

In 2004 and 2005, Thorp published a 6-part article in Wilmott magazine.

In these parts, Thorp reminisced about his ventures into Statistical Arbitrage -- the science of profiting from the statistics of a large number of bets placed at once.
3/

I found this article to be an absolute gold mine.

It contains a wealth of investing/trading wisdom, plus a bunch of interesting nuggets from Thorp's extraordinary career.

👇👇👇
Read 11 tweets
9 Oct
1/

Get a cup of coffee.

In this thread, I'll walk you through one of Warren Buffett's earliest business ventures -- his Pinball Machine Empire.

This "case study" can teach us a lot about great businesses -- how they work, what characteristics they tend to have, etc.
2/

In 1946, when Warren Buffett was ~16 years old, he started a pinball machine business with a buddy of his -- Donald Dunly.

The two of them would buy used coin-operated pinball machines, fix them up, install them in barber shops, and split the take with the barbers.
3/

Many Buffett biographies contain details about the economics and inner workings of this pinball machine business.

For example, here's an extract from Roger Lowenstein's wonderful biography, "Buffett: The Making Of An American Capitalist":

(h/t @RogerLowenstein)
Read 32 tweets
29 Sep
Today (Sep 29) is National Coffee Day in the US.

So here's a tidbit from Starbucks's history.

Howard Schultz and a few investors bought Starbucks during the early days -- when it had only 6 stores.

But without help from Bill Gates's father, this may have never happened. 👇
Continued ...
And because today's National Coffee Day, your local Starbucks may give you free coffee if you bring your own cup. Enjoy!
Read 4 tweets
25 Sep
1/

Get a cup of coffee.

This is a thread that @ruima and I wrote jointly.

In this thread, we'll help you estimate how much "margin of safety" a company has when it's loaded with debt.

Understanding this will help you avoid Evergrande-type fiascos in your own portfolio.
2/

For both individuals and companies, "taking on debt" means "agreeing to a set of future financial obligations".

For example, when we take out a 30-year $400K mortgage at 3% interest, we're agreeing to pay the bank about $1686 per month, every month, for the next 30 years.
3/

Similarly, when a company like Home Depot issues a bond, they're agreeing to pay interest and principal according to a set schedule.

Like so:
Read 42 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(