Backtest: Dollar Cost Averaging XLK (The Technology Select Sector SPDR Fund)
This analysis evaluates a dollar-cost-averaging strategy over the past 26 years, providing a historical perspective on XLK's performance from 1998-12-22 to 2025-05-31.
The Dollar Cost Averaging (DCA) strategy follows these rules:
- At the very beginning of the backtest period, if the initial trading date falls before the 5th day of the month, we make a $1,000 purchase on that date. Otherwise, we wait until the next month to begin investing.
- For every subsequent month, we purchase $1,000 worth of the underlying stock on the first trading day of the month.
Note: All prices and share counts in this simulation use adjusted close values. Adjusted close prices retroactively account for stock splits and dividend reinvestment, To achieve similar results in practice, you would need to reinvest all dividends as they are paid.
Performance Overview
Portfolio Value Trend (Monthly, Normalized)
Over 26 years, portfolio value grew from $1,000.00 to $2,741,457.66.
Total Invested | $317,000.00 |
Final Portfolio Value | $2,741,457.66 |
Total Gain | 764.81% |
Annualized Return | 13.79% |
Note: The annualized return is calculated using the internal rate of return (XIRR), which takes into account the timing of each investment. This provides a more accurate measure of growth than simple averages or CAGR when cash flows occur over time.
Over the 26-year period, investing $1,000 monthly in XLK resulted in a total gain of 764.81%, with an annualized return of 13.79%.
Drawdown and Risk
The maximum drawdown recorded during this period was 47.56%. This drawdown began after a peak asset of $134,591.19 on 2007-11-06, and reached its lowest point on 2008-11-20 when the asset fell to $70,573.79. The drawdown lasted for 380 days.
Note: The maximum drawdown for Dollar Cost Averaging strategies often appears smaller than the drawdown of the underlying stock. This is because you continue to invest additional funds each month, which smooths the portfolio's decline and helps recover value faster during rebounds. The consistent inflows reduce the impact of temporary losses on previously accumulated capital.
Maximum Drawdown
Max drawdown: 47.56% over 380 days.
The drawdown was moderate and aligns with the type of volatility observed in many broad market assets over extended periods. The maximum drawdown lasted over a year, indicating an extended period of underperformance. This duration is typical of major corrections or bear markets.
The Calmar Ratio — annualized return divided by maximum drawdown — was 0.29, reflecting the tradeoff between return and volatility.
This level is typical for diversified investments that face substantial drawdowns alongside steady long-term returns.
Monthly Investment Breakdown
Date | Price | Portfolio Value |
---|---|---|
1999-01-04 | $24.70 | $1,000.00 |
1999-02-01 | $28.32 | $2,146.78 |
1999-03-01 | $25.37 | $2,923.42 |
1999-04-01 | $27.82 | $4,204.98 |
1999-05-03 | $27.78 | $5,199.68 |
1999-06-01 | $27.02 | $6,057.43 |
1999-07-01 | $30.64 | $7,867.36 |
1999-08-02 | $29.89 | $8,675.18 |
1999-09-01 | $31.16 | $10,045.13 |
1999-10-01 | $30.68 | $10,890.58 |
1999-11-01 | $31.76 | $12,272.42 |
1999-12-01 | $35.27 | $14,627.99 |
2000-01-03 | $41.49 | $18,208.60 |
2000-02-01 | $38.64 | $17,956.38 |
2000-03-01 | $42.24 | $20,630.27 |
2000-04-03 | $43.41 | $22,201.44 |
2000-05-01 | $41.75 | $22,352.13 |
2000-06-01 | $38.54 | $21,636.59 |
2000-07-03 | $40.83 | $23,923.24 |
2000-08-01 | $37.96 | $23,237.92 |
2000-09-01 | $42.33 | $26,915.37 |
2000-10-02 | $34.45 | $22,904.05 |
2000-11-01 | $32.09 | $22,333.57 |
2000-12-01 | $26.35 | $19,337.30 |
2001-01-02 | $22.08 | $17,204.54 |
2001-02-01 | $27.90 | $22,741.87 |
2001-03-01 | $21.55 | $18,568.82 |
2001-04-02 | $18.11 | $16,602.97 |
2001-05-01 | $22.08 | $21,239.16 |
2001-06-01 | $21.03 | $21,231.20 |
2001-07-02 | $21.07 | $22,268.98 |
2001-08-01 | $20.15 | $22,295.95 |
2001-09-04 | $16.85 | $19,651.73 |
2001-10-01 | $14.22 | $17,580.06 |
2001-11-01 | $16.53 | $21,439.12 |
2001-12-03 | $18.10 | $24,477.25 |
2002-01-02 | $18.41 | $25,892.14 |
2002-02-01 | $17.44 | $25,523.84 |
2002-03-01 | $16.23 | $24,760.19 |
2002-04-01 | $16.40 | $26,011.31 |
2002-05-01 | $14.14 | $23,426.00 |
2002-06-03 | $13.26 | $22,975.06 |
2002-07-01 | $11.34 | $20,642.90 |
2002-08-01 | $10.25 | $19,653.54 |
2002-09-03 | $10.10 | $20,380.78 |
2002-10-01 | $9.33 | $19,825.81 |
2002-11-01 | $11.38 | $25,166.17 |
2002-12-02 | $12.83 | $29,394.74 |
2003-01-02 | $11.71 | $27,810.24 |
2003-02-03 | $10.94 | $26,991.88 |
2003-03-03 | $10.71 | $27,417.97 |
2003-04-01 | $10.86 | $28,802.24 |
2003-05-01 | $11.83 | $32,369.97 |
2003-06-02 | $12.65 | $35,629.30 |
2003-07-01 | $12.99 | $37,580.24 |
2003-08-01 | $13.14 | $39,014.45 |
2003-09-02 | $14.14 | $42,977.86 |
2003-10-01 | $14.02 | $43,612.87 |
2003-11-03 | $15.07 | $47,881.50 |
2003-12-01 | $15.08 | $48,929.21 |
2004-01-02 | $15.48 | $51,206.41 |
2004-02-02 | $16.06 | $54,131.67 |
2004-03-01 | $15.84 | $54,392.92 |
2004-04-01 | $15.39 | $53,861.83 |
2004-05-03 | $14.74 | $52,561.40 |
2004-06-01 | $15.12 | $54,936.06 |
2004-07-01 | $15.36 | $56,787.16 |
2004-08-02 | $14.73 | $55,467.61 |
2004-09-01 | $14.15 | $54,276.23 |
2004-10-01 | $14.81 | $57,827.67 |
2004-11-01 | $15.20 | $60,361.87 |
2004-12-01 | $16.18 | $65,231.99 |
2005-01-03 | $16.13 | $66,035.09 |
2005-02-01 | $15.44 | $64,227.12 |
2005-03-01 | $15.56 | $65,707.86 |
2005-04-01 | $14.94 | $64,104.27 |
2005-05-02 | $14.53 | $63,319.03 |
2005-06-01 | $15.71 | $69,458.40 |
2005-07-01 | $15.39 | $69,061.07 |
2005-08-01 | $16.23 | $73,830.56 |
2005-09-01 | $16.03 | $73,919.06 |
2005-10-03 | $16.08 | $75,167.82 |
2005-11-01 | $15.71 | $74,402.97 |
2005-12-01 | $16.99 | $81,463.32 |
2006-01-03 | $16.54 | $80,304.71 |
2006-02-01 | $16.86 | $82,887.48 |
2006-03-01 | $17.13 | $85,222.57 |
2006-04-03 | $17.28 | $86,955.87 |
2006-05-01 | $16.82 | $85,613.10 |
2006-06-01 | $16.12 | $83,096.92 |
2006-07-03 | $15.89 | $82,897.27 |
2006-08-01 | $15.15 | $80,011.47 |
2006-09-01 | $16.51 | $88,225.60 |
2006-10-02 | $16.98 | $91,731.37 |
2006-11-01 | $17.71 | $96,637.50 |
2006-12-01 | $18.13 | $99,971.75 |
2007-01-03 | $18.24 | $101,587.86 |
2007-02-01 | $18.48 | $103,894.18 |
2007-03-01 | $18.04 | $102,431.99 |
2007-04-02 | $18.33 | $105,074.80 |
2007-05-01 | $19.19 | $111,005.81 |
2007-06-01 | $20.06 | $117,026.90 |
2007-07-02 | $20.21 | $118,885.17 |
2007-08-01 | $20.19 | $119,793.10 |
2007-09-04 | $20.69 | $123,764.66 |
2007-10-01 | $21.38 | $128,858.12 |
2007-11-01 | $22.03 | $133,781.62 |
2007-12-03 | $20.47 | $125,303.95 |
2008-01-02 | $20.58 | $126,978.20 |
2008-02-01 | $18.63 | $115,970.68 |
2008-03-03 | $17.44 | $109,566.18 |
2008-04-01 | $18.16 | $115,100.47 |
2008-05-01 | $19.54 | $124,839.20 |
2008-06-02 | $19.69 | $126,795.57 |
2008-07-01 | $17.98 | $116,759.52 |
2008-08-01 | $17.46 | $114,423.59 |
2008-09-02 | $17.87 | $118,115.88 |
2008-10-01 | $15.60 | $104,064.02 |
2008-11-03 | $13.20 | $89,086.72 |
2008-12-01 | $11.22 | $76,710.35 |
2009-01-02 | $12.75 | $88,149.21 |
2009-02-02 | $11.89 | $83,195.40 |
2009-03-02 | $10.98 | $77,890.18 |
2009-04-01 | $12.87 | $92,235.34 |
2009-05-01 | $14.00 | $101,390.62 |
2009-06-01 | $14.54 | $106,276.89 |
2009-07-01 | $14.72 | $108,581.30 |
2009-08-03 | $16.07 | $119,554.91 |
2009-09-01 | $15.78 | $118,399.67 |
2009-10-01 | $16.36 | $123,717.26 |
2009-11-02 | $16.75 | $127,649.78 |
2009-12-01 | $17.85 | $137,085.91 |
2010-01-04 | $18.86 | $145,861.69 |
2010-02-01 | $17.19 | $133,886.47 |
2010-03-01 | $17.81 | $139,749.28 |
2010-04-01 | $18.75 | $148,149.72 |
2010-05-03 | $19.28 | $153,325.69 |
2010-06-01 | $17.43 | $139,581.59 |
2010-07-01 | $16.58 | $133,819.98 |
2010-08-02 | $18.27 | $148,386.32 |
2010-09-01 | $17.32 | $141,695.16 |
2010-10-01 | $18.86 | $155,337.19 |
2010-11-01 | $19.96 | $165,375.46 |
2010-12-01 | $20.04 | $166,986.27 |
2011-01-03 | $20.94 | $175,506.60 |
2011-02-01 | $21.73 | $183,121.74 |
2011-03-01 | $21.41 | $181,488.91 |
2011-04-01 | $21.45 | $182,822.62 |
2011-05-02 | $21.97 | $188,250.82 |
2011-06-01 | $21.37 | $184,092.28 |
2011-07-01 | $21.63 | $187,327.59 |
2011-08-01 | $21.36 | $185,960.83 |
2011-09-01 | $20.02 | $175,279.75 |
2011-10-03 | $19.18 | $168,939.11 |
2011-11-01 | $21.02 | $186,195.96 |
2011-12-01 | $21.41 | $190,656.27 |
2012-01-03 | $21.55 | $192,862.18 |
2012-02-01 | $22.79 | $204,996.05 |
2012-03-01 | $24.31 | $219,662.48 |
2012-04-02 | $25.53 | $231,659.75 |
2012-05-01 | $25.06 | $228,403.58 |
2012-06-01 | $22.78 | $208,639.65 |
2012-07-02 | $24.29 | $223,463.32 |
2012-08-01 | $24.52 | $226,551.81 |
2012-09-04 | $25.64 | $237,884.94 |
2012-10-01 | $25.97 | $241,982.86 |
2012-11-01 | $24.77 | $231,812.00 |
2012-12-03 | $24.56 | $230,836.73 |
2013-01-02 | $25.31 | $238,911.03 |
2013-02-01 | $25.25 | $239,269.87 |
2013-03-01 | $25.20 | $239,867.48 |
2013-04-01 | $25.64 | $245,013.03 |
2013-05-01 | $26.03 | $249,761.19 |
2013-06-03 | $27.13 | $261,314.47 |
2013-07-01 | $26.35 | $254,802.54 |
2013-08-01 | $27.48 | $266,740.39 |
2013-09-03 | $26.93 | $262,417.31 |
2013-10-01 | $27.83 | $272,154.19 |
2013-11-01 | $28.98 | $284,437.87 |
2013-12-02 | $29.78 | $293,212.13 |
2014-01-02 | $30.62 | $302,559.62 |
2014-02-03 | $29.50 | $292,445.50 |
2014-03-03 | $31.12 | $309,487.57 |
2014-04-01 | $31.96 | $318,906.56 |
2014-05-01 | $31.71 | $317,392.27 |
2014-06-02 | $32.82 | $329,438.76 |
2014-07-01 | $33.82 | $340,547.19 |
2014-08-01 | $33.87 | $341,986.51 |
2014-09-02 | $35.18 | $356,210.96 |
2014-10-01 | $34.44 | $349,776.36 |
2014-11-03 | $35.70 | $363,509.92 |
2014-12-01 | $36.84 | $376,118.09 |
2015-01-02 | $36.38 | $372,414.74 |
2015-02-02 | $35.53 | $364,751.82 |
2015-03-02 | $38.28 | $393,983.63 |
2015-04-01 | $36.62 | $377,923.21 |
2015-05-01 | $38.14 | $394,631.97 |
2015-06-01 | $38.49 | $399,202.99 |
2015-07-01 | $37.05 | $385,309.86 |
2015-08-03 | $37.65 | $392,503.73 |
2015-09-01 | $34.62 | $361,899.56 |
2015-10-01 | $35.29 | $369,945.99 |
2015-11-02 | $39.33 | $413,257.53 |
2015-12-01 | $39.60 | $417,166.52 |
2016-01-04 | $37.94 | $400,598.57 |
2016-02-01 | $37.15 | $393,258.63 |
2016-03-01 | $37.86 | $401,859.66 |
2016-04-01 | $40.32 | $428,919.79 |
2016-05-02 | $38.28 | $408,233.90 |
2016-06-01 | $39.76 | $425,009.29 |
2016-07-01 | $39.40 | $422,168.34 |
2016-08-01 | $42.18 | $452,983.18 |
2016-09-01 | $42.73 | $459,823.15 |
2016-10-03 | $43.36 | $467,622.65 |
2016-11-01 | $42.79 | $462,438.69 |
2016-12-01 | $42.34 | $458,618.51 |
2017-01-03 | $44.60 | $484,120.17 |
2017-02-01 | $46.13 | $501,690.76 |
2017-03-01 | $48.53 | $528,839.04 |
2017-04-03 | $48.88 | $533,575.90 |
2017-05-01 | $50.28 | $549,904.04 |
2017-06-01 | $52.01 | $569,772.66 |
2017-07-03 | $50.07 | $549,547.85 |
2017-08-01 | $52.93 | $581,999.53 |
2017-09-01 | $54.16 | $596,473.15 |
2017-10-02 | $54.73 | $603,779.49 |
2017-11-01 | $58.22 | $643,236.14 |
2017-12-01 | $58.73 | $649,855.37 |
2018-01-02 | $60.09 | $665,910.84 |
2018-02-01 | $63.59 | $705,688.77 |
2018-03-01 | $62.22 | $691,547.10 |
2018-04-02 | $59.46 | $661,805.00 |
2018-05-01 | $61.71 | $687,884.38 |
2018-06-01 | $66.19 | $738,804.73 |
2018-07-02 | $65.49 | $731,992.07 |
2018-08-01 | $66.86 | $748,344.21 |
2018-09-04 | $70.36 | $788,560.06 |
2018-10-01 | $70.96 | $796,226.31 |
2018-11-01 | $65.73 | $738,527.41 |
2018-12-03 | $65.10 | $732,469.55 |
2019-01-02 | $58.40 | $658,041.10 |
2019-02-01 | $62.77 | $708,378.33 |
2019-03-01 | $67.17 | $758,997.67 |
2019-04-01 | $70.86 | $801,621.78 |
2019-05-01 | $74.16 | $840,026.05 |
2019-06-03 | $66.72 | $756,712.67 |
2019-07-01 | $75.15 | $853,388.03 |
2019-08-01 | $76.18 | $866,013.16 |
2019-09-03 | $74.47 | $847,615.28 |
2019-10-01 | $75.86 | $864,459.97 |
2019-11-01 | $80.51 | $918,445.96 |
2019-12-02 | $82.63 | $943,635.73 |
2020-01-02 | $89.09 | $1,018,417.95 |
2020-02-03 | $92.15 | $1,054,313.94 |
2020-03-02 | $89.18 | $1,021,367.55 |
2020-04-01 | $73.40 | $841,646.91 |
2020-05-01 | $85.25 | $978,559.68 |
2020-06-01 | $93.92 | $1,079,066.51 |
2020-07-01 | $100.64 | $1,157,283.09 |
2020-08-03 | $108.81 | $1,252,161.70 |
2020-09-01 | $121.08 | $1,394,368.90 |
2020-10-01 | $113.66 | $1,309,888.33 |
2020-11-02 | $107.11 | $1,235,469.56 |
2020-12-01 | $120.53 | $1,391,208.89 |
2021-01-04 | $123.55 | $1,427,115.85 |
2021-02-01 | $127.67 | $1,475,649.08 |
2021-03-01 | $130.31 | $1,507,242.49 |
2021-04-01 | $131.15 | $1,517,918.55 |
2021-05-03 | $134.86 | $1,561,830.08 |
2021-06-01 | $133.32 | $1,545,004.19 |
2021-07-01 | $143.45 | $1,663,361.89 |
2021-08-02 | $148.24 | $1,719,915.85 |
2021-09-01 | $154.10 | $1,788,992.48 |
2021-10-01 | $147.25 | $1,710,468.44 |
2021-11-01 | $156.70 | $1,821,158.71 |
2021-12-01 | $161.67 | $1,879,969.93 |
2022-01-03 | $170.84 | $1,987,638.83 |
2022-02-01 | $158.06 | $1,839,950.90 |
2022-03-01 | $146.97 | $1,711,784.10 |
2022-04-01 | $154.52 | $1,800,790.88 |
2022-05-02 | $140.00 | $1,632,576.37 |
2022-06-01 | $136.55 | $1,593,322.17 |
2022-07-01 | $124.57 | $1,454,493.60 |
2022-08-01 | $140.70 | $1,643,854.74 |
2022-09-01 | $131.60 | $1,538,508.18 |
2022-10-03 | $120.02 | $1,404,201.59 |
2022-11-01 | $124.28 | $1,454,966.73 |
2022-12-01 | $133.44 | $1,563,253.43 |
2023-01-03 | $121.16 | $1,420,316.19 |
2023-02-01 | $136.78 | $1,604,530.58 |
2023-03-01 | $133.21 | $1,563,561.05 |
2023-04-03 | $148.52 | $1,744,347.78 |
2023-05-01 | $148.67 | $1,747,083.42 |
2023-06-01 | $163.48 | $1,922,073.65 |
2023-07-03 | $171.26 | $2,014,613.09 |
2023-08-01 | $176.36 | $2,075,532.30 |
2023-09-01 | $173.94 | $2,048,068.35 |
2023-10-02 | $163.91 | $1,931,018.81 |
2023-11-01 | $165.39 | $1,949,383.81 |
2023-12-01 | $183.59 | $2,164,934.97 |
2024-01-02 | $185.84 | $2,192,457.53 |
2024-02-01 | $198.46 | $2,342,358.69 |
2024-03-01 | $208.96 | $2,467,280.89 |
2024-04-01 | $207.41 | $2,449,958.76 |
2024-05-01 | $192.92 | $2,279,807.79 |
2024-06-03 | $209.23 | $2,473,627.95 |
2024-07-01 | $226.76 | $2,681,848.18 |
2024-08-01 | $209.55 | $2,479,303.55 |
2024-09-03 | $209.12 | $2,475,242.43 |
2024-10-01 | $219.51 | $2,599,240.55 |
2024-11-01 | $223.15 | $2,643,313.49 |
2024-12-02 | $235.15 | $2,786,448.71 |
2025-01-02 | $231.56 | $2,744,935.60 |
2025-02-03 | $227.30 | $2,695,408.10 |
2025-03-03 | $218.29 | $2,589,515.08 |
2025-04-01 | $207.99 | $2,468,365.85 |
2025-05-01 | $213.05 | $2,529,416.45 |