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.43%/yr vs 6.80%/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 -4.56% return, which is significantly lower than BUG's 30.14% return.
XSW
- 1D
- 0.88%
- 1M
- 7.50%
- 6M
- -6.34%
- YTD
- -4.56%
- 1Y
- -3.96%
- 3Y*
- 8.75%
- 5Y*
- 1.43%
- 10Y*
- 13.25%
BUG
- 1D
- 0.69%
- 1M
- 16.21%
- 6M
- 28.99%
- YTD
- 30.14%
- 1Y
- 14.02%
- 3Y*
- 18.33%
- 5Y*
- 6.80%
- 10Y*
- —
XSW vs. BUG - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | |
|---|---|---|---|---|---|---|---|---|
XSW SPDR S&P Software & Services ETF | -4.56% | -0.90% | 25.81% | 38.60% | -34.22% | 7.47% | 52.41% | 5.36% |
BUG Global X Cybersecurity ETF | 30.14% | -5.04% | 9.59% | 41.40% | -33.63% | 13.24% | 70.83% | 6.21% |
Correlation
The correlation between XSW and BUG is 0.84, 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.84 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.83 |
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.83 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.58 | ||
| Sortino ratioReturn per unit of downside risk | -0.80 | ||
| Omega ratioGain probability vs. loss probability | 1.00 | 1.10 | -0.10 |
| Calmar ratioReturn relative to maximum drawdown | -0.12 | 0.40 | -0.52 |
| Martin ratioReturn relative to average drawdown | -0.24 | 0.87 | -1.11 |
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% | -35.16% | +1.41% |
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 | -12.97% | -2.96% | -10.01% |
Average DrawdownAverage peak-to-trough decline | -9.88% | -14.30% | +4.42% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 16.67% | 16.11% | +0.56% |
Volatility
XSW vs. BUG - Volatility Comparison
The current volatility for SPDR S&P Software & Services ETF (XSW) is 7.88%, while Global X Cybersecurity ETF (BUG) has a volatility of 9.49%. 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 | 7.88% | 9.49% | -1.61% |
Volatility (6M)Calculated over the trailing 6-month period | 24.53% | 27.35% | -2.82% |
Volatility (1Y)Calculated over the trailing 1-year period | 29.16% | 31.89% | -2.73% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 29.04% | 28.81% | +0.23% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 26.29% | 29.40% | -3.11% |
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.84, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
BUG has higher volatility (9.49%) compared to XSW (7.88%). In terms of maximum drawdown, XSW dropped -45.38% vs BUG's -41.66%.
On 5-year performance, BUG leads with 6.80% vs 1.43% for XSW. On fees, XSW is cheaper at 0.35% per year. On volatility, XSW has been the lower-risk option at 7.88%. 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 6.80% return vs 1.43%. 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.44 vs -0.14), 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