OPEN-SOURCE SCRIPT
2-Year Real Rate

The 2-year real rate is the inflation-adjusted yield on a 2-year U.S. Treasury—essentially the market’s expectation for short-term “true” interest rates after subtracting expected inflation (often approximated as nominal 2Y yield – breakeven inflation).
It matters because it reflects the actual cost of capital and is one of the cleanest gauges of the Fed’s effective stance: rising real rates mean tightening financial conditions, falling real rates mean loosening. In trading, the 2Y real rate is a powerful macro risk-on/risk-off indicator—equities, long-duration tech, crypto, and EM FX generally weaken when real rates rise, while USD and front-end rate-sensitive trades tend to strengthen. Watching inflections in the 2Y real rate helps you time shifts in liquidity, gauge how aggressively the market is pricing Fed moves, and position for cross-asset trends driven by changes in real funding conditions.
It matters because it reflects the actual cost of capital and is one of the cleanest gauges of the Fed’s effective stance: rising real rates mean tightening financial conditions, falling real rates mean loosening. In trading, the 2Y real rate is a powerful macro risk-on/risk-off indicator—equities, long-duration tech, crypto, and EM FX generally weaken when real rates rise, while USD and front-end rate-sensitive trades tend to strengthen. Watching inflections in the 2Y real rate helps you time shifts in liquidity, gauge how aggressively the market is pricing Fed moves, and position for cross-asset trends driven by changes in real funding conditions.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。