Show HN: Inflation-adjusted stock charts – Total Real Returns (opens in a new tab)totalrealreturns.com
507 pointsI 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
Comments (272) 48 threads
Show all comments
Showing thread 15 of 48
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.
If t = $NOW, at the right side of the chart, then the fraction goes to 1, so that
(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/.