US2Y

Backtest 2-Year Treasury Yield

Backtest strategies around the 2-year Treasury yield. Analyze Fed expectations, test 2s10s spread inversion signals, and evaluate short-duration rate sensitivity.

View All Macroeconomic Indicators

2-Year Treasury Yield Backtesting Features

Historical Data

Access comprehensive historical price data for 2-Year Treasury Yield (US2Y). Includes open, high, low, close, and volume data across multiple timeframes from 1-minute to monthly.

Custom Indicators

Apply 100+ built-in technical indicators to US2Y data, or create your own custom indicators. From simple moving averages to complex volatility models.

Strategy Builder

Build 2-Year Treasury Yield trading strategies visually or with Python code. Define entry/exit rules, stop losses, take profits, and position sizing rules.

Risk Analytics

Get comprehensive risk metrics for your US2Y strategy: Sharpe ratio, Sortino ratio, max drawdown, VaR, and expected shortfall analysis.

Correlation Analysis

Analyze how 2-Year Treasury Yield correlates with other assets. Build multi-asset strategies and test portfolio diversification across market regimes.

Walk-Forward Testing

Validate your US2Y strategy with out-of-sample walk-forward analysis. Avoid overfitting and ensure robust performance across time periods.

About 2-Year Treasury Yield (US2Y) Backtesting

2-Year Treasury Yield (US2Y) is one of the most actively traded instruments in the macroeconomic indicators space. Backtesting your US2Y trading strategies is crucial for understanding how your approach would have performed across different market conditions.

With TestToTrade, you can backtest 2-Year Treasury Yield strategies using decades of historical data. Our platform supports a wide range of strategy types including trend following, mean reversion, momentum, breakout, and statistical arbitrage — all with realistic transaction cost modeling and slippage simulation.

Whether you're a discretionary trader looking to validate your intuition, or a quantitative researcher building systematic strategies, TestToTrade provides the tools you need to test, optimize, and deploy US2Y trading strategies with confidence.

Key Metrics Available for US2Y

  • Total return and annualized return
  • Sharpe ratio and Sortino ratio
  • Maximum drawdown and recovery time
  • Win rate and profit factor
  • Value at Risk (VaR) and Expected Shortfall
  • Rolling performance across market regimes
  • Benchmark comparison (Macroeconomic Indicators index)
  • Monte Carlo simulation results
Coming Soon

Backtest 2-Year Treasury Yield for $10/mo

Join the beta and be the first to test your US2Y trading strategies when we launch.