507 points · by compumike · 4y ago · 272 comments
I found it harder to explain the y-axis in words than it was to do the math, so please let me know if you think the "baguettes" explanation on the homepage helps.
I was up until 4am ET finishing some features on this, and then at 8:30am ET the BLS released the new CPI numbers through their API: https://download.bls.gov/pub/time.series/cu/ and I was able to manually re-run my daily cronjob with the new numbers, so it's up to date! If you catch any bugs, please let me know via the “Report a bug” link in the footer of every page.
Some FAANG examples: https://totalrealreturns.com/s/META
https://totalrealreturns.com/s/GOOGL
https://totalrealreturns.com/s/AMZN
https://totalrealreturns.com/s/AAPL
https://totalrealreturns.com/s/NFLX
Comparing three Vanguard treasury funds, showing vividly the impact of bond duration (short-term, intermediate-term, long-term) on both risk and reward: https://totalrealreturns.com/s/VFISX,VFITX,VUSTX
Even if these conditions continue unabated, the cash flows from working class into the stock market will eventually hit equilibrium with capital extraction from the owner class. If the extractions return to the same markets, then things stay in equilibrium. They won’t, however, because the tax advantaged assets are different for them. They may seek hyper-volatility, or government bond shelters, but will generally avoid the assets on the working class tax treadmill.
There are fundamentals to financial assets that have nothing to do with “number go up”, and these will ultimately dictate reality, with the caveat that “the markets will remain irrational longer than you will remain solvent”. Rationals get wrecked too, except every once in a while when one gets lucky on their timing and makes so much money that they become a hero and we make movies about them. We cheer because it gives us hope that our intuition will serve us too. Unlikely.
This is all to say that such charts are using an inductive hypothesis to predict an inherently anti-inductive phenomenon. People tithe and sacrifice to their church for a promise of rewards in the afterlife. The stonk religion is the same; well worth the price for your peace of mind. True or not, you’d be a mess without it.
>> People tithe and sacrifice to their church for a promise of rewards in the afterlife.
This is a fundamental misunderstanding of tithing and I’m not going to get into that at the moment, but it makes me consider if you are discussing other things in your write up that you don’t have experience with as well.
Meta: this is what I like about Hacker News. I get challenged to maintain disciplined thinking, often at the boundaries of the argument where I casually drift.
> This is a fundamental misunderstanding of tithing and I’m not going to get into that at the moment...
I'll explain some from a fairly classic Protestant perspective. This was literally what started the Protestant Reformation. Martin Luther was horrified that the Church was essentially attempting to sell salvation via indulgences. He pointed out that the Bible teaches that salvation is completely free because Christ already paid for all our sins with his blood.
I agree with Luther and I tithe out of pure gratitude. I think the Church belongs to Jesus and so do I because he's kind and gracious.
All the money in the world can't buy my salvation, or even the smallest part of it. It's worthless to God, who made heaven and earth and all that is in them.
https://en.wikipedia.org/wiki/Martin_Luther_and_antisemitism
Depends on the church, really. There are plenty that do hold a lack of tithing against you.
To the extent that tithing (or a non Christian equivalent) supports a religious institution's facilities and payroll and programs to be help less well off members of the religious group, it's a bit socialistic, with the huge caveat that - by definition - it is not universal, since to receive such benefits you must usually be an adherent or serious prospect of conversion to the religion.
I'm sure most people realize that their tithing money isn't getting them anything in a presumed afterlife, and that the purpose is to support the institution's basic functions and it's outreach and expansion efforts.
I don't disagree with you that 401k puts an implicit bid into the market. However, they've been around since the early 80s and the market goes up and down regardless.
What? The working class becomes owners when they buy shares.
Administration rights, not ownership. And 401k's, with all their issues, are still one of the best investments a worker can make.
"And according to data from the 2019 Survey of Consumer Finances by the US Federal Reserve, the most recent year for which they polled participants, Americans have a weighted average savings account balance of $41,600 which includes checking, savings, money market and prepaid debit cards, while the median was only $5,300. "
0. https://finance.yahoo.com/news/inverse-tesla-bet-among-first...
1. https://www.nasdaq.com/articles/the-sec-approves-single-stoc...
2. https://www.sec.gov/news/statement/crenshaw-single-stock-etf...
could you strengthen your argument by omitting casual broad-brush explanations of religion, please?
Conversely, ritualistic faith has a long history of financial investing, evidenced by its tendency to procure very high value real estate for itself with the funds of it's adherents.
Also, the cathedrals of Europe are glistening with the golden dividends that accrued from religious investment in the conquest of the Americas.
You… you may want to post some receipts on this, or perhaps edit your comment
You may notice this response as less apologetic than the first few times this accusation was levied. That doesn’t mean I regard it as any less accurate, but as I see it again, I try to address different aspects as there must have been something lacking to warrant repetition. One thing I’ve noticed is that none of the accusations have bothered to provide a specific correction. Perhaps you should consider starting with the assumption that people want to do well by you and improve their understanding of the things that are important to you, but cannot do that without your participation.
Similarly in the drawdown chart, if it starts at 1987, it makes no sense to start the dollar at -81%. If I am looking at a chart from 1987 to 2022, I want to see how the dollar did compared to other assets in that time period.
As far as I can tell, the different intercepts just add noise (price of a single stock) that is not helpful to visualize what the plot is supposed to be showing (total returns).
Look at the link for VFISX,VFITX,VUSTX where they start with a ~100% separation (4,5.5,8) and end with very low separation (<+/-3%). In June of 2020 there's a blip where VUSTX goes up 20-25% over VFISX (about a quarter of the original separation) and VFITX is about a third of that or 7-8% over VFISX. So you can see ~3% difference in performance over 12 years or (0.25% annualized).
What you could do is normalize it by the value of the stock at the start of the chart, which would make the charts start at 1. On a log plot this is the equivalent of dividing all the values by the starting value, which moves the lines up/down but does not change their shape. This could make it easier to compare the lines, but in doing so, you throw out information (the real value of the y axis).
What would the ideal UX be on this?
Usually in economic and financial reporting you show multiple return series by saying, for example, 1989 = 100 and then showing the total return from there for multiple series in the same chart.
It could instead show how much back at the start date one would need for it to be todays $10k? Not sure. Maybe absulute dolar values should just be ommited and work only off percentages.
First few years out of college were just "max out 401k contributions into some target fund" + build emergency fund, but now that I've amassed more cash than what an emergency fund requires, what does one do?
Originally, my plan was to use it for a house down-payment, but with the mortgage rates having nearly doubled in the last 6 months, that's kind of out of the question at this point (especially having moved to a higher property value area to be closer to friends and family).
Everything I've seen in the news for last few months just seems to say "sorry, the last 50 years was a gravy train, it'll never work that way again, you're screwed".
Both my parents' and grandparents' entire careers existed (or to this point existed) during the "good times", so I'm honestly feeling like I can't just take their advice directly.
Part of me wants to leave my present (tech) job and move to a FAANG type company (for the pay increase), but with all the uncertainty on the horizon, are the big tech companies going to maintain their current headcount or salaries if another '08 style recession (or worse) hits? How stable are their revenues if people start spending way less money on things?
I first came to Palo Alto in 1984. All the houses were underwater (worth less than their mortgages). The tech boom was over and consensus was that it wasn’t coming back. Too bad you missed that!
Just keep investing (dollar cost averaging). Pick your poison: “barbell” as some other comments have suggested or just a couple of very broad index funds. Since you have a long time ahead of you, I’d recommend the latter. You can spend some of it on a down payment when that makes sense to you.
We distort the lives of those in the past much in the same way do the people we follow on social media.
Higher interest rates lead to lower home prices, which should make it easier to make a down payment. Interest rates may double, but mortgage payment amounts typically end up staying the same. You are in a prime position to buy a house. In the next 30 years, mortgage rates will likely decrease and you can refinance to a better rate, and end up paying a lower price for your house than what you would have had mortgage rates stayed low.
Pick a few things you can put your money into, which you have confidence won't lose value given a long enough time horizon. For me, this is SPY (highest alpha but needs 10 years to recover). The traditional 60/40 SPY/TLT mix is great. Currency funds also good. VTI & chill is good. Right now the Euro has Dollar parity (ECB isn't fighting inflation aggressively and won't start reducing its balance sheet for a while), maybe throw some of that into the mix.
Sell covered calls to reduce your cost basis.
Don't spend cash. Invest cash, borrow against it at favorable interest rates, and make purchases with the borrowed money. SBLOC, portfolio margin (>100k) can unlock some cheap (75bp above prime) cash.
If I could send a message to myself 20 years ago it would be the above.
All of my words are nonsense, nothing in this comment shall be construed as professional or financial advice. I've been excessively stupid with money far longer than I should.
I bought a fixer-upper in 2008 for 200k; sold it for 425k 5 years later. Recently it sold for 650k (we still get redfin notifications.) In the meantime I bought a house for 625k (nice house with some rough edges) and sold it 18 months ago in covid real estate madness for 950k. We certainly put money into both houses over time, but we'd never have been able to do what we did had we not started at the bottom of the market.
Wait a year or two.
The Great Financial Crisis will be the only event of this nature in our lifetimes. The country would need to overbuild like crazy to cause housing to crash like that again.
Everyone is expecting housing prices to fall in "a year or two." I've been hearing this for two years now. The market has a habit of doing the opposite of what people expect it to.
The real estate market won't crash, and it especially won't crash in high-demand areas (Southern California, the Bay Area, Atlanta, SoFlo, Colorado, etc.). We'll likely see a steep-ish correction in "second-tier" markets, like the ones in Texas, Tennessee, and the Rust Belt (Pittsburgh comes to mind).
Barbell investing from Taleb makes the most sense to me. Cap your downside, go balls out with the rest.
And prioritize long-term assets over cashflow. Revenue generating assets are best.
This doesn’t mean anything to me. Can you elaborate? Also, why are revenue generating assets better, and doesn’t pursuing revenue generating assets imply prioritizing cash flow? Sorry for the noob questions.
Would it continue to be the same for the next century? Who knows! Ray Dalio and the Maxis think otherwise. Good work OP though!
I agree with the "Who knows!" and that we've benefited from a lot of favorable tailwinds, which are quite uncertain for the future.
The implicit positivity partially comes from looking at indexes, rather than individual companies. If you look at any specific companies that may have been unstoppable corporate giants in decades past (maybe try https://totalrealreturns.com/s/GE https://totalrealreturns.com/s/X https://totalrealreturns.com/s/F for example?) the idea of limitless growth becomes much more uncertain.
VFINX is not composed exclusively of US stocks.
You can take it up with Vanguard why they describe the fund as I've quoted[1].
[0] https://investor.vanguard.com/investment-products/mutual-fun...
also https://www.portfoliovisualizer.com/backtest-asset-class-all... has stock data back to 1971, it would be nice to go back that far.
If you scroll down, under the "Portfolio Growth" chart, you can check "inflation adjusted" to get a common start, something TFA doesn't have.
Some examples are education, and if you own a home, an energy audit.
You can argue about the timeframe and getting the whole break after 1 year versus maybe giving larger breaks the longer you hold, but that’s the weeds.
This is common-sense trading advice anyway. If short-term losses spook you into selling, you're probably doing too much stock-picking and are not long enough.
In fact, this is the often-cited reason that active investors can't beat index funds consistently.
I don't put money that I might realistically need in the market
> I don't put money that I might realistically need in the market
While it's great that you might have a time horizon far, far into the future, not everyone has that luxury. In theory, I'm supposed to purchase a home & start a family around this point in my life, so that's a rather quick time horizon for at least some portion of my wealth.
I consider this an area where the burden of knowledge will hit you pretty hard. Time suck along with stress, and performing at best case a few percent over an automated "MODERATE RISK" button.
I don't have any more time in my life to track anything with the degree that it would take to "be good" at it.
Here's a comparison of four Vanguard funds, with stock:bond ratios of 80:20, 60:40, 40:60, 20:80 respectively: https://totalrealreturns.com/s/VASGX,VSMGX,VSCGX,VASIX What I find interesting is that they are all experiencing significant and comparable drawdowns right now.
Here are treasury bonds with a comparison between duration: https://totalrealreturns.com/s/VFISX,VFITX,VUSTX
And here are corporate bonds with a comparison between duration: https://totalrealreturns.com/s/VFSTX,VFICX,VWESX
Even inflation-protected bonds (TIPS) are in trouble: https://totalrealreturns.com/s/VIPSX
So right now, bonds are not doing much to provide the short-term real wealth preservation that lets people take the 100% time exposure risk.
I don't know how long, or how bad this recession will be, but I will likely be much less willing to hold bonds going forward.
I think part of the problem is established dogma (and regulatory regime) that believes bonds offer diversification from stocks. However this seems to have broken down post 2008, as they have become increasingly correlated.
Imho it's healthy to expect that market regimes change, especially since we do not operate in free market, but a semi-intervined market (where the Fed sets the price of money which is an incredibly important input to the global economy).
I also think it's important to not think of diversification in terms of asset classes anymore, but in terms of alpha source.
I know this is much harder to do because, as far as I know, only by actively trading can you isolate and quantify alpha sources like this.
But in either case, you still get whacked with inflation, which would show up on this chart as a drop.
I'm guessing it's the "real returns with investment" that is painful here... bonds may not be losing (as) much but they're also not keeping pace with 10-15% annualized inflation either.
Due to the way energy prices (which are a massive component of everything else too) are factored out of CPI, even TIPS probably has negative real returns at this point compared to reality. Is there a non-CPI TIPS equivalent, lol?
https://www.tradingview.com/chart/?symbol=NASDAQ%3AQQQ
But the difference is so small. Nasdaq 100 even performing better. Does QQQ pay out dividends or does the management fee eat up so much that the dividends get cancelled out?
Since the development is so similar to the index, I guess they pay dividends.
How can one see the Nasdaq 100 performance with dividends reinvested?
Best hypotheses so far along with how to test them:
1. Perhaps the parts of the CPI that companies in the stock market can produce are being outpaced by the components that are not produced, like real estate, and so can't contribute to an increase in share prices. (How to check: Look up changes in the CPI components, which are detailed in the reports.) (Edit: This does not hold up, almost all the increases are in energy, which is produced and held in reserve by public companies.)
2. Perhaps the consumer goods in the CPI are increasing in price far more rapidly than prices of goods and services overall, leading to an underestimate of the value of the dollar to anyone except a consumer. (How to check: Since capital goods are eventually used to make consumer goods, this should eventually correct itself. Also, is there a broader version of the CPI?) (Edit: This might be it, although energy is 8% of the CPI and GDP, it is only 4% of the S&P 500.)
3. Perhaps money is leaving the USD, US bonds, and US stocks and going somewhere else. (How to check: Make these same charts but with broader indices.)
Of course, you could use the pages to help start a fire for warmth or cooking fish you will be catching.
How can everything go up at once, doesn't the money have to come from somewhere?
Certainly we can have everything go up whenever we find more resources than we consume. Natural resources, when exploited create value for all. A more energy and resource rich world causes everything to go up.
Why is it so hard to understand that increasing energy and resource constraints causes everything to go down?
And, more specific to our situation, much of the perceived value is credit. If I owe you $100,000, as long as you know I'll pay, you can consider that part of your value. But if I don't make enough to pay you, suddenly you aren't going to get that money.
Our entire global economy is massively over-leveraged and the only way to maintain that is perpetual growth, in a real sense of having access to ever more energy and resources. When the future delivers less than expected we start seeing that value disappear from the books.
You are conflating using "dollars" when used as a unit to measure the value something, with "dollars" as an asset in the economy when used to conduct trade. This confusion is easy to make (and widespread) because we use the same word for both things.
The vast majority of wealth in an economy is not in monetary form. It's in hard and soft assets: land, buildings, cars/trucks, factories, raw materials, home appliances, copyrights, patents, film libraries, etc. The economic value of all those things is just measured in dollars.
Term you’re looking for is “benchmark.”
People are selling in anticipation of the market going lower, to cover debts, to take advantage of lower asset prices, opportunity costs, margin calls, etc.
(I don't really believe this, because it clearly does not describe the chart, but it makes sense and I want to understand why it doesn't work like that.)
The other thing is that buying stock for a company A isn't the same as "investing in" company A, since company A doesn't get your money...it's a secondary market!
As buffet says, the stock market is a voting machine in the short term and a weighing machine in the long-term.
It’s hard to accurately measure investments flowing into property (what part of the world?). There are many variables to consider and I don’t think there’s a single trend that will end up as a winner. My hypothesis is that we will see many (eg. very wealthy doing X in Y country/city, middle class doing A in B country/city, etc).
Since corporations produce commodities, wouldn't gold and toilet paper be on the stock market?
I guess gold reserves (as opposed to production) and property would have a lot of ownership outside the S&P 500. I wonder if there are any super-broad indices that include them in a cap-weighted form.
https://noahpinion.substack.com/p/where-does-the-wealth-go-w...
Yet it seems so awfully hard to find that data on stockbrokers sites/apps.
Why?
If you want to roll your own, you can use free data from Yahoo and FRED and get there pretty quick.
You should also consider tax implications. For example, trading equities short-term is awful and PL taxed at income rate. Compare that to buying real estate which has a 101 ways to avoid paying taxes.
I think part of the answer is that: (1) it's very hard to explain what that means to most people ("WTF, why are the historical prices on this chart changing?") beyond simple 2:1 splits, and (2) it's hard to get everyone to agree on what inflation metric to trust/use.
real_price($ASSET, t) = nominal_price($ASSET, t) * (price_level($NOW) / price_level(t))
Where price_level(t) is the CPI-U series (with interpolation).If t = $NOW, at the right side of the chart, then the fraction goes to 1, so that
real_price($ASSET, $NOW) = nominal_price($ASSET, $NOW)
(Though many comments are requesting alternative normalization schemes!)For cash (USDOLLAR), nominal_price(USDOLLAR, t) = 1 for all t -- the nominal price of a dollar bill is always 1. So https://totalrealreturns.com/s/USDOLLAR is plotting a curve that looks like 1/price_level(t). (Actually it's 1*price_level(now)/price_level(t), because of the normalization above.) And you can download price_level(t) from https://download.bls.gov/pub/time.series/cu/.
I guess I imagined the inflation-adjusted value of X to be defined at time t to be something like: value(X, t) / value(USD, t). So, when I substitute USD for X, I get constant 1.
Everyone has their own personal inflation rate, mine in 2021 was 1%. We will see how 2022 turns out, but I'm betting it will go up for me.
If you don’t mind me asking, why did you choose the Crystal programming language for this project?
In working on this project, I discovered two "superpowers" of Crystal:
The first was macros https://crystal-lang.org/reference/1.5/syntax_and_semantics/... which I used sparingly, but to great effect, when an ordinary method call wouldn't do.
The second was monkeypatching: specifically, it's super easy to reopen existing standard library classes and add a field I need, for example:
# BEGIN MONKEYPATCH
class HTTP::Server::Context
property response_body_cache_key : String? = nil
end
# END MONKEYPATCH
This adds a new field the standard library HTTP::Server::Context https://github.com/crystal-lang/crystal/blob/1.5.0/src/http/... / https://crystal-lang.org/api/1.5.0/HTTP/Server/Context.html so I can specify a cache key near the beginning of a request handler, and later my response middleware picks it up to store the response body.The common capital market comparison for these equity returns is against real risk-free returns. That benchmark is largely missing here.
It's a fantastic idea trying to make the concept of the time value of money, and purchasing power more accessable to the masses. It probably took a lot of work and I appreciate the effort. Imho the correct way to do this is to hold as many variables constant over the timeseries.
My point is that since official CPI isn't constant, and imho a bad measure of inflation anyway, using M2 or Shadow Stats woudl be the better way to go.
Very nice!
Now, if only I had a crystal ball, or at least was more in tune with the world of finance so I could have ridden the ups and downs more effectively. ;)
For one thing, people retiring right now, who followed the best practice of shifting their portfolio towards bonds, are seeing millions wiped out from their individual retirement accounts.
For a huge amount of would-be retirees, this is the difference between being able to afford retirement and being forced to remain in the workforce in the last years of their lives.
The impact to short duration bond portfolios is not as drastic. A 2-year bond issued at .5% yield will lose maybe 5% in price when interest rate moves up to 3%. This is roughly what happened: https://fred.stlouisfed.org/series/DGS2
The money supply must grow exponentially because liquidity premiums aka interest payments. You can now either choose to eliminate liquidity premiums and hence abolish inflation and exponential growth in the money supply or you can choose to have inflation and an exponentially growing money supply with endless increases in public debt.
The fact that if the money supply is $100 and 2% interest must be paid which is then subsequently reinvested for compounding obviously requires the economy to keep track of $102. Hence compound interest which is caused by liquidity premiums results in a perpetual increase in the money supply. The fact that governments must borrow money is purely how we decided to run the system right now. You could in theory do helicopter money as well and it would amount to the same.
Now, since positive interest rates result in an increase in the money supply, reducing the money supply requires the opposite, i.e. negative interest rates.
Negative interest rates don't exist because of cash. That is the only reason. People don't want negative interest rates because they actually love the illusion of earning compound interest and subsequent inflation which cancels out the interest. People criticise inflation while simultaneously criticizing negative interest rates, the height of hypocrisy. After all, if you implement negative interest rates a while lot of people will have to work instead of living off the work of others. They say that it is unfair to not turn other people into debt slaves, while simultaneously criticizing how unjust it is, that their dreams of turning other nations and future generations into debt slaves is disrupted by so called defaults and debt restructuring. They yell out debt is bad while secretly desiring to have debt slaves of their own.
The stock market under a declining population will be fascinating to watch.
Population decline will not be kind to society without AI/Robotics to take care of us.
Probably for SEO. :)
For index that have existed for a long time it make comparing with other index hard if we always include the full history.
Wondering if other investments that appear less attractive on paper are actually better than traditional equities.
It's about 3000 lines of Crystal code https://crystal-lang.org/ -- it's been an absolute dream to program in. Ruby-like syntax, statically compiled performance. Nice standard library. Would recommend :)
Performance == caching
Local ephemeral filesystem for shortest-term caching.
Redis for shared medium-term caching and locking.
S3-compatible object storage for longest-term caching (for raw data feeds pulled every evening by a cronjob).
FRONTEND:
Bootstrap
uPlot https://github.com/leeoniya/uPlot
Just a sprinkle of inline JS+CSS on the page.
- Have all comparisons start at 0 - Ditch the log scale
Edit: I thought about it some more and now I realize this is a dumb question.
For now you could calculate it by mousing-over the dates your interested in and reading the values off the chart legend.
There are however etfs for crypto in other districts (I hold for example ethx.b, a canadian ETF that tracks ETH within my RRSP).