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提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。