XSW vs. BUG
XSW (SPDR S&P Software & Services ETF) and BUG (Global X Cybersecurity ETF) are both Technology Equities funds - XSW tracks the S&P Software & Services Select Industry Index while BUG tracks the Indxx Cybersecurity Index. Both are passively managed. Over the past 5 years, XSW returned -1.20%/yr vs 3.60%/yr for BUG. Their correlation of 0.85 suggests significant overlap in exposure. XSW charges 0.35%/yr vs 0.50%/yr for BUG.
Performance
XSW vs. BUG - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, XSW achieves a -13.68% return, which is significantly lower than BUG's 11.69% return.
XSW
- 1D
- 0.86%
- 1M
- -2.12%
- YTD
- -13.68%
- 6M
- -15.49%
- 1Y
- -10.86%
- 3Y*
- 8.06%
- 5Y*
- -1.20%
- 10Y*
- 12.80%
BUG
- 1D
- 2.13%
- 1M
- -0.96%
- YTD
- 11.69%
- 6M
- 9.26%
- 1Y
- -6.48%
- 3Y*
- 13.04%
- 5Y*
- 3.60%
- 10Y*
- —
XSW vs. BUG - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | |
|---|---|---|---|---|---|---|---|---|
XSW SPDR S&P Software & Services ETF | -13.68% | -0.90% | 25.81% | 38.60% | -34.22% | 7.47% | 52.41% | 5.36% |
BUG Global X Cybersecurity ETF | 11.69% | -5.04% | 9.59% | 41.40% | -33.63% | 13.24% | 70.83% | 6.21% |
Correlation
The correlation between XSW and BUG is 0.83, indicating a strong positive relationship between their price movements. Combining them offers limited diversification - they tend to fall together during downturns.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | 0.83 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.82 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.86 |
Correlation (All Time) Calculated using the full available price history since Oct 31, 2019 | 0.85 |
The correlation between XSW and BUG has been stable across timeframes, ranging from 0.82 to 0.86 - a consistent structural relationship.
XSW vs. BUG - Sectors Allocation Comparison
Sectors
XSW
BUG
Technology
Financial Services
-
Communication Services
Consumer Cyclical
Healthcare
Industrials
-
Basic Materials
-
-
Consumer Defensive
-
Energy
-
-
Real Estate
-
-
Utilities
-
-
Technology
XSW
BUG
Financial Services
XSW
BUG
-
Communication Services
XSW
BUG
Consumer Cyclical
XSW
BUG
Healthcare
XSW
BUG
Industrials
XSW
BUG
-
Basic Materials
XSW
-
BUG
-
Consumer Defensive
XSW
-
BUG
Energy
XSW
-
BUG
-
Real Estate
XSW
-
BUG
-
Utilities
XSW
-
BUG
-
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
XSW vs. BUG — Risk / Return Rank
XSW
BUG
XSW vs. BUG - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for SPDR S&P Software & Services ETF (XSW) and Global X Cybersecurity ETF (BUG). 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.
| XSW | BUG | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -0.17 | ||
| Sortino ratioReturn per unit of downside risk | -0.26 | ||
| Omega ratioGain probability vs. loss probability | 0.96 | 0.99 | -0.03 |
| Calmar ratioReturn relative to maximum drawdown | -0.32 | -0.17 | -0.15 |
| Martin ratioReturn relative to average drawdown | -0.67 | -0.35 | -0.32 |
Loading charts...
Drawdowns
XSW vs. BUG - Drawdown Comparison
The maximum XSW drawdown since its inception was -45.38%, which is greater than BUG's maximum drawdown of -41.66%. Use the drawdown chart below to compare losses from any high point for XSW and BUG.
Loading charts...
Drawdown Indicators
| XSW | BUG | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -45.38% | -41.66% | -3.72% |
Max Drawdown (1Y)Largest decline over 1 year | -33.75% | -37.69% | +3.94% |
Max Drawdown (3Y)Largest decline over 3 years | -33.75% | -37.69% | +3.94% |
Max Drawdown (5Y)Largest decline over 5 years | -45.38% | -41.66% | -3.72% |
Max Drawdown (10Y)Largest decline over 10 years | -45.38% | — | — |
Current DrawdownCurrent decline from peak | -21.30% | -11.75% | -9.55% |
Average DrawdownAverage peak-to-trough decline | -9.86% | -14.38% | +4.52% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 16.31% | 18.53% | -2.22% |
Volatility
XSW vs. BUG - Volatility Comparison
The current volatility for SPDR S&P Software & Services ETF (XSW) is 11.42%, while Global X Cybersecurity ETF (BUG) has a volatility of 13.95%. This indicates that XSW experiences smaller price fluctuations and is considered to be less risky than BUG based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| XSW | BUG | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 11.42% | 13.95% | -2.53% |
Volatility (6M)Calculated over the trailing 6-month period | 23.81% | 26.20% | -2.39% |
Volatility (1Y)Calculated over the trailing 1-year period | 28.83% | 31.21% | -2.38% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 28.89% | 28.55% | +0.34% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 26.26% | 29.30% | -3.04% |
XSW vs. BUG - Expense Ratio Comparison
XSW has a 0.35% expense ratio, which is lower than BUG's 0.50% expense ratio.
Dividends
XSW vs. BUG - Dividend Comparison
XSW has not paid dividends to shareholders, while BUG's dividend yield for the trailing twelve months is around 0.03%.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
BUG Global X Cybersecurity ETF | 0.03% | 0.04% | 0.09% | 0.10% | 1.56% | 0.66% | 0.46% | 0.24% | 0.00% | 0.00% | 0.00% | 0.00% |
XSW SPDR S&P Software & Services ETF | 0.00% | 0.06% | 0.07% | 0.20% | 0.09% | 0.13% | 0.26% | 0.12% | 0.31% | 0.46% | 0.87% | 0.54% |
Frequently Asked Questions
XSW and BUG have a correlation of 0.83, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
BUG has higher volatility (13.95%) compared to XSW (11.42%). In terms of maximum drawdown, XSW dropped -45.38% vs BUG's -41.66%.
On 5-year performance, BUG leads with 3.60% vs -1.20% for XSW. On fees, XSW is cheaper at 0.35% per year. On volatility, XSW has been the lower-risk option at 11.42%. The better choice depends on whether you care most about return, fees, risk, or income.
Over the 5-year period, BUG has performed better with a 3.60% return vs -1.20%. Past performance does not guarantee future results, so compare this with risk, fees, and fund exposure.
XSW is cheaper with a 0.35% expense ratio, compared with 0.50% for BUG.
BUG has the higher dividend yield at 0.03%, compared with 0.00% for XSW.
XSW tracks S&P Software & Services Select Industry Index, while BUG tracks Indxx Cybersecurity Index. They also come from different issuers: State Street and Global X. Their fees differ too: 0.35% for XSW and 0.50% for BUG.
BUG currently has the higher Sharpe Ratio (-0.21 vs -0.38), 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 XSW and BUG
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