TREX vs. PIPR
TREX (Trex Company, Inc.) and PIPR (Piper Sandler Companies) are both stocks. TREX operates in Building Products & Equipment (Industrials), while PIPR operates in Capital Markets (Financial Services). Over the past 10 years, TREX returned 16.02%/yr vs 26.97%/yr for PIPR. At a 0.42 correlation, their price movements are largely independent.
Performance
TREX vs. PIPR - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, TREX achieves a 30.07% return, which is significantly higher than PIPR's -4.90% return. Over the past 10 years, TREX has underperformed PIPR with an annualized return of 16.02%, while PIPR has yielded a comparatively higher 26.97% annualized return.
TREX
- 1D
- -1.53%
- 1M
- 20.14%
- YTD
- 30.07%
- 6M
- 30.07%
- 1Y
- -20.07%
- 3Y*
- -8.67%
- 5Y*
- -14.60%
- 10Y*
- 16.02%
PIPR
- 1D
- 1.45%
- 1M
- -1.61%
- YTD
- -4.90%
- 6M
- -9.30%
- 1Y
- 25.58%
- 3Y*
- 34.90%
- 5Y*
- 23.04%
- 10Y*
- 26.97%
TREX vs. PIPR - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
TREX Trex Company, Inc. | 30.07% | -49.18% | -16.62% | 95.58% | -68.65% | 61.29% | 86.29% | 51.42% | 9.53% | 68.31% |
PIPR Piper Sandler Companies | -4.90% | 15.52% | 74.24% | 37.78% | -23.41% | 85.33% | 29.64% | 23.88% | -20.69% | 21.22% |
Correlation
The correlation between TREX and PIPR is 0.45, which is low. Their price movements are largely independent, making them effective diversification partners.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | 0.45 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.49 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.49 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.43 |
Correlation (All Time) Calculated using the full available price history since Jan 2, 2004 | 0.42 |
Fundamentals
TREX:
$4.80B
PIPR:
$5.63B
TREX:
$1.80
PIPR:
$3.96
TREX:
25.41
PIPR:
19.97
TREX:
69.84
PIPR:
1.32
TREX:
4.13
PIPR:
2.81
TREX:
4.82
PIPR:
4.20
TREX:
$1.18B
PIPR:
$2.00B
TREX:
$461.26M
PIPR:
$1.95B
TREX:
$308.51M
PIPR:
$455.82M
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. PIPR — Risk / Return Rank
TREX
PIPR
TREX vs. PIPR - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Trex Company, Inc. (TREX) and Piper Sandler Companies (PIPR). 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.
| TREX | PIPR | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -1.14 | ||
| Sortino ratioReturn per unit of downside risk | -1.40 | ||
| Omega ratioGain probability vs. loss probability | 0.97 | 1.16 | -0.19 |
| Calmar ratioReturn relative to maximum drawdown | -0.36 | 1.05 | -1.41 |
| Martin ratioReturn relative to average drawdown | -0.57 | 2.47 | -3.04 |
Loading charts...
Drawdowns
TREX vs. PIPR - Drawdown Comparison
The maximum TREX drawdown since its inception was -90.53%, which is greater than PIPR's maximum drawdown of -76.97%. Use the drawdown chart below to compare losses from any high point for TREX and PIPR.
Loading charts...
Drawdown Indicators
| TREX | PIPR | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -90.53% | -76.97% | -13.56% |
Max Drawdown (1Y)Largest decline over 1 year | -56.01% | -24.56% | -31.45% |
Max Drawdown (3Y)Largest decline over 3 years | -69.90% | -38.78% | -31.12% |
Max Drawdown (5Y)Largest decline over 5 years | -78.58% | -42.30% | -36.28% |
Max Drawdown (10Y)Largest decline over 10 years | -78.58% | -63.02% | -15.56% |
Current DrawdownCurrent decline from peak | -67.56% | -14.55% | -53.01% |
Average DrawdownAverage peak-to-trough decline | -38.76% | -30.60% | -8.16% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 35.58% | 10.38% | +25.20% |
Volatility
TREX vs. PIPR - Volatility Comparison
Trex Company, Inc. (TREX) has a higher volatility of 15.84% compared to Piper Sandler Companies (PIPR) at 8.01%. This indicates that TREX's price experiences larger fluctuations and is considered to be riskier than PIPR based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| TREX | PIPR | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 15.84% | 8.01% | +7.83% |
Volatility (6M)Calculated over the trailing 6-month period | 28.22% | 26.83% | +1.39% |
Volatility (1Y)Calculated over the trailing 1-year period | 51.26% | 34.44% | +16.82% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 47.34% | 35.28% | +12.06% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 46.46% | 36.67% | +9.79% |
Dividends
TREX vs. PIPR - Dividend Comparison
TREX has not paid dividends to shareholders, while PIPR's dividend yield for the trailing twelve months is around 2.50%.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 |
|---|---|---|---|---|---|---|---|---|---|---|
PIPR Piper Sandler Companies | 2.50% | 1.68% | 1.17% | 2.09% | 5.30% | 3.81% | 1.98% | 1.88% | 4.74% | 1.45% |
TREX Trex Company, Inc. | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% |
Financials
TREX vs. PIPR - Financials Comparison
This section allows you to compare key financial metrics between Trex Company, Inc. and Piper Sandler Companies. You can select fields from income statements, balance sheets, and cash flow statements to easily visualize and compare the financial health of both companies.
Total Revenue: Total amount of money received from sales and other business activities
TREX vs. PIPR - Profitability Comparison
TREX - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Trex Company, Inc. reported a gross profit of 139.02M and revenue of 343.40M. Therefore, the gross margin over that period was 40.5%.
PIPR - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Piper Sandler Companies reported a gross profit of 456.39M and revenue of 475.15M. Therefore, the gross margin over that period was 96.1%.
TREX - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Trex Company, Inc. reported an operating income of 83.51M and revenue of 343.40M, resulting in an operating margin of 24.3%.
PIPR - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Piper Sandler Companies reported an operating income of 88.67M and revenue of 475.15M, resulting in an operating margin of 18.7%.
TREX - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Trex Company, Inc. reported a net income of 61.40M and revenue of 343.40M, resulting in a net margin of 17.9%.
PIPR - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Piper Sandler Companies reported a net income of 65.24M and revenue of 475.15M, resulting in a net margin of 13.7%.
Frequently Asked Questions
TREX and PIPR have a correlation of 0.45, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
TREX has higher volatility (15.84%) compared to PIPR (8.01%). In terms of maximum drawdown, TREX dropped -90.53% vs PIPR's -76.97%.
PIPR currently has the higher Sharpe Ratio (0.75 vs -0.39), 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.
Find the right allocation for TREX and PIPR
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