PortfoliosLab logoPortfoliosLab logo
TREX vs. SPY
Performance
Return for Risk
Drawdowns
Volatility
Dividends

Performance

TREX vs. SPY - Performance Comparison

The chart below illustrates the hypothetical performance of a $10,000 investment in Trex Company, Inc. (TREX) and State Street SPDR S&P 500 ETF (SPY). The values are adjusted to include any dividend payments, if applicable.

Loading charts...

Returns By Period

In the year-to-date period, TREX achieves a 30.84% return, which is significantly higher than SPY's 10.45% return. Over the past 10 years, TREX has underperformed SPY with an annualized return of 14.18%, while SPY has yielded a comparatively higher 15.08% annualized return.


TREX

1D
-2.67%
1M
0.59%
6M
9.91%
YTD
30.84%
1Y
-28.16%
3Y*
-13.08%
5Y*
-13.88%
10Y*
14.18%

SPY

1D
-0.77%
1M
1.26%
6M
8.34%
YTD
10.45%
1Y
21.46%
3Y*
20.07%
5Y*
12.94%
10Y*
15.08%
*Multi-year figures are annualized to reflect compound growth (CAGR)

TREX vs. SPY - Yearly Performance Comparison


2026 (YTD)202520242023202220212020201920182017
TREX
Trex Company, Inc.
30.84%-49.18%-16.62%95.58%-68.65%61.29%86.29%51.42%9.53%68.31%
SPY
State Street SPDR S&P 500 ETF
10.45%17.72%24.89%26.18%-18.18%28.73%18.33%31.22%-4.57%21.71%

Correlation

The correlation between TREX and SPY is 0.50, which is moderate. They share some common price drivers but move independently often enough to provide real diversification benefit when combined.


Correlation
Correlation (1Y)
Calculated over the trailing 1-year period

0.50

Correlation (3Y)
Calculated over the trailing 3-year period

0.56

Correlation (5Y)
Calculated over the trailing 5-year period

0.61

Correlation (10Y)
Calculated over the trailing 10-year period

0.56

Correlation (All Time)
Calculated using the full available price history since Apr 8, 1999

0.45

The correlation between TREX and SPY shifts across timeframes, from 0.45 (all time) to 0.61 (5 years), reflecting how their relationship changes across market environments.

Compare stocks, funds, or ETFs

Search for stocks, ETFs, and funds for a quick comparison or use the comparison tool for more options.


Return for Risk

TREX vs. SPY — Risk / Return Rank

Compare risk-adjusted metric ranks to identify better-performing investments over the past 12 months.

TREX
TREX Risk / Return Rank: 2424
Overall Rank
TREX Sharpe Ratio Rank: 2020
Sharpe Ratio Rank
TREX Sortino Ratio Rank: 2323
Sortino Ratio Rank
TREX Omega Ratio Rank: 2121
Omega Ratio Rank
TREX Calmar Ratio Rank: 2727
Calmar Ratio Rank
TREX Martin Ratio Rank: 2929
Martin Ratio Rank

SPY
SPY Risk / Return Rank: 6666
Overall Rank
SPY Sharpe Ratio Rank: 6666
Sharpe Ratio Rank
SPY Sortino Ratio Rank: 6464
Sortino Ratio Rank
SPY Omega Ratio Rank: 6565
Omega Ratio Rank
SPY Calmar Ratio Rank: 6161
Calmar Ratio Rank
SPY Martin Ratio Rank: 7272
Martin Ratio Rank
The rank (0–100) shows how this investment's returns compare to the risk taken. Higher = better. Based on the past 12 months of data, combining Sharpe, Sortino, and other metrics used by quantitative funds and institutional investors.

TREX vs. SPY - Risk-Adjusted Trends Comparison

This table presents a comparison of risk-adjusted performance metrics for Trex Company, Inc. (TREX) and State Street SPDR S&P 500 ETF (SPY). Risk-adjusted metrics are performance indicators that assess an investment's returns in relation to its risk, enabling a more accurate comparison of different investment options.

Values are calculated on a 1-year rolling basis and updated daily. Risk-adjusted metrics are more stable over longer periods — use the period switch above to explore them.


TREXSPYDifference
Sharpe ratioReturn per unit of total volatility

-2.27

Sortino ratioReturn per unit of downside risk

-2.84

Omega ratioGain probability vs. loss probability

0.93

1.31

-0.38

Calmar ratioReturn relative to maximum drawdown

-0.50

2.43

-2.93

Martin ratioReturn relative to average drawdown

-0.77

10.57

-11.35

TREX vs. SPY - Sharpe Ratio Comparison

The current TREX Sharpe Ratio is -0.55, which is lower than the SPY Sharpe Ratio of 1.71. The chart below compares the historical Sharpe Ratios of TREX and SPY, calculated using daily returns over the previous 12 months. A higher Sharpe Ratio indicates better risk-adjusted performance relative to the risk-free rate.


Loading charts...

Drawdowns

TREX vs. SPY - Drawdown Comparison

The maximum TREX drawdown since its inception was -90.53%, which is greater than SPY's maximum drawdown of -55.19%. Use the drawdown chart below to compare losses from any high point for TREX and SPY.


Loading charts...

Drawdown Indicators


TREXSPYDifference

Max Drawdown

Largest peak-to-trough decline

-90.53%

-55.19%

-35.34%

Max Drawdown (1Y)

Largest decline over 1 year

-56.01%

-8.88%

-47.13%

Max Drawdown (3Y)

Largest decline over 3 years

-69.90%

-18.76%

-51.14%

Max Drawdown (5Y)

Largest decline over 5 years

-78.58%

-24.50%

-54.08%

Max Drawdown (10Y)

Largest decline over 10 years

-78.58%

-33.72%

-44.86%

Current Drawdown

Current decline from peak

-67.37%

-1.12%

-66.25%

Average Drawdown

Average peak-to-trough decline

-38.84%

-9.02%

-29.82%

Ulcer Index

Depth and duration of drawdowns from previous peaks

36.54%

2.03%

+34.51%

Volatility

TREX vs. SPY - Volatility Comparison

Trex Company, Inc. (TREX) has a higher volatility of 14.28% compared to State Street SPDR S&P 500 ETF (SPY) at 4.26%. This indicates that TREX's price experiences larger fluctuations and is considered to be riskier than SPY based on this measure. The chart below showcases a comparison of their rolling one-month volatility.


Loading charts...

Volatility by Period


TREXSPYDifference

Volatility (1M)

Calculated over the trailing 1-month period

14.28%

4.26%

+10.02%

Volatility (6M)

Calculated over the trailing 6-month period

29.38%

10.01%

+19.37%

Volatility (1Y)

Calculated over the trailing 1-year period

51.11%

12.60%

+38.51%

Volatility (5Y)

Calculated over the trailing 5-year period, annualized

47.53%

17.17%

+30.36%

Volatility (10Y)

Calculated over the trailing 10-year period, annualized

46.52%

17.93%

+28.59%

Dividends

TREX vs. SPY - Dividend Comparison

TREX has not paid dividends to shareholders, while SPY's dividend yield for the trailing twelve months is around 1.00%.


PositionTTM20252024202320222021202020192018201720162015
SPY
State Street SPDR S&P 500 ETF
1.00%1.07%1.21%1.40%1.65%1.20%1.52%1.75%2.04%1.80%2.03%2.06%
TREX
Trex Company, Inc.
0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%

Frequently Asked Questions


TREX and SPY have a correlation of 0.50, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.

TREX has higher volatility (14.28%) compared to SPY (4.26%). In terms of maximum drawdown, TREX dropped -90.53% vs SPY's -55.19%.

SPY currently has the higher Sharpe Ratio (1.71 vs -0.55), meaning it's delivered slightly more return per unit of risk over the trailing 12 months. However, this ranking shifts over time - use the Risk/Return Score above for a more comprehensive view that combines Sharpe, Sortino, and other measures used by quantitative funds.

Portfolio Optimizer

Find the right allocation for TREX and SPY

Add both to a portfolio and optimize allocations for your target — whether that's maximizing returns, minimizing drawdowns, or balancing risk across holdings.

Open Portfolio Optimizer