Dollar-Cost Averaging (DCA)
Dollar-cost averaging, usually shortened to DCA, is a schedule: the same dollar amount goes into the same asset at the same interval, whatever the price happens to be. A typical version is a fixed amount on the first trading day of every month. When the price is high the amount buys fewer shares. When the price is low it buys more. The average cost per share ends up below the simple average of the prices, because more shares were bought at the low ones.
DCA is a method of entry, and it carries no view on the market. There is no indicator, no signal and no forecast in it. That makes it different from the strategy templates in the DeployQuant library, such as the 200-day regime filter or the RSI mean reversion rules, which all decide when to be in or out. DCA decides only when new money goes in.
The library holds no DCA backtest. What it does have is measured data on the funds a DCA buyer would be dealing with: 1,444 sessions from 2021-01-04 to 2026-10-02 for SPY, QQQ, TLT, TQQQ, IWM and UVXY, with buy-and-hold results, yearly returns and drawdowns. Those numbers show what a fixed schedule meets in a rising fund, a falling fund, a fund that went nowhere and a fund that lost almost everything. The runs are hypothetical, hold no cash flows after the first day, and have no fees or slippage. Nothing here is investment advice.
How the averaging works
The word averaging describes the cost basis. Suppose a fund trades at $100, then $50, then $100, and a buyer puts in $100 each time. The buyer owns 1 share, then 2 shares, then 1 share, 4 shares in total for $300, which is $75 a share. The mean of the three prices is higher than that. The gap exists because a fixed dollar amount automatically buys more shares when the price is low.
This arithmetic only helps when the price comes back. If the fund in the example stayed at $50 forever, the buyer would be sitting on a loss, and the lower average cost would only mean the loss is smaller than it would have been after buying everything at $100. The schedule does not create returns. It changes the weighting of the buy prices.
Two other facts follow from the mechanics. First, the amount at risk grows over time. The first purchase is exposed for the whole period, while the last one is exposed for a month. A DCA account therefore has a lower average exposure than a lump sum that went in on day one, and the usual consequence is a smaller gain in a rising market and a smaller loss in a falling one. Second, a DCA plan needs a source of new cash. A person with a salary has one. A person who already holds a lump sum has to choose between investing it at once and spreading it out, and that choice is the one most DCA discussions are about.
DCA against a lump sum
The definition on this page says DCA usually does not beat lump-sum investing, and the data on SPY shows why. Over the window, SPY buy-and-hold returned 118.2% in total, a CAGR of 14.56%, with $10,000 growing to $21,820.48. The calendar years were 29.6% in 2021, -17.8% in 2022, 25.5% in 2023, 24.3% in 2024, 17.4% in 2025 and 13.6% in 2026 to date. Four of the six years were large gains. A lump sum that went in on the first open was exposed to all of them.
A DCA schedule over the same window would have held a smaller amount in the fund during the early years. Most of the gain in this stretch arrived in 2021, 2023, 2024 and 2025, so money that waited on the sidelines missed part of it. The facts for this page do not include a DCA simulation, so there is no number to put on that gap. The direction is clear from the structure: in a fund that rises on 54.4% of sessions, as SPY did, waiting costs return on average.
The reverse also holds. SPY's worst stretch ran from the 2022-01-03 peak to the 2022-10-12 trough, a fall of 23.99% over 282 days, and the fund did not regain its peak until 2023-12-13, 427 days after the trough. A lump sum put in at the January 2022 peak sat under water for close to two years. A DCA buyer who started a year earlier, or who kept buying through 2022, collected shares at the lower prices of that year and would have held a lower cost basis when the recovery came. Which outcome a given buyer got depended on the start date, and this window contains a single start date.
The buy and hold entry describes the zero-signal baseline that lump-sum investing amounts to. DCA is the same baseline with the entry spread across time.
What DCA looks like in a fund that rose: SPY and QQQ
SPY and QQQ were the two funds where the schedule had the easiest job, and also the two where it helped least in dollar terms. SPY's total return in the window was 125.29% as a price series, with a CAGR of 15.2% and annualized volatility of 16.41%. QQQ's total return was 151.07%, with a CAGR of 17.39% and volatility of 22.39%.
Both funds spent most of the window above their 200-day average: 77.99% of sessions for SPY and 75.18% for QQQ. A fund in that position keeps making new highs, and every DCA purchase after the first one is made at a higher price than the one before in the typical month. The average cost drifts upward behind the price. The buyer's gain on each tranche shrinks the later it was bought.
QQQ shows the other side more sharply than SPY. Its calendar returns were 29.18% in 2021, -32.39% in 2022, 54.81% in 2023, 25.59% in 2024, 20.77% in 2025 and 22.44% in 2026 to date. The 2022 drawdown ran from 2021-11-19 to 2022-11-03 and reached 35% on the price series (34.23% on the buy-and-hold run), with recovery on 2023-12-12. A DCA buyer who kept the schedule through that year bought 12 monthly tranches at prices well below the peak. The same buyer then held shares through the 54.81% year that followed. The data shows the pattern clearly: the year that hurt the most was followed by the year that paid the most, and money that arrived during the fall owned the most shares going into the rebound.
The two funds are also highly related, with a correlation of 0.94 in daily returns. A DCA plan split between them would behave almost like a plan in one of them. Diversifying the schedule across SPY and QQQ spreads the dollars without spreading the risk.
What DCA looks like in a fund that fell: TLT
The case that most tests the idea is a fund whose price kept falling. TLT, the long-dated Treasury fund, lost 40.49% on the price series over the window and 38.94% on the buy-and-hold run, a CAGR of -8.23% that ended $10,000 at $6,106.38. Its maximum drawdown was 44.06% on the price series, from the first day of the window (2021-01-04) to 2023-10-19, and it never recovered by 2026-10-02. The longest drawdown ran 1,443 sessions, which is the whole window except the first day.
The calendar years were -4.4% in 2021, -30.2% in 2022, 2.7% in 2023, -7.7% in 2024, 4% in 2025 and -7.7% in 2026 to date. Only two of the six years were positive, and neither made up for the losses around them.
This is the setting where DCA works as designed and still loses money. A buyer who invested a fixed amount every month from January 2021 bought shares at falling prices through most of the period, so the average cost fell below the starting price. The buyer still holds an asset worth less than the average cost, because the price went below even the lowered average. DCA reduced the loss compared with a lump sum on day one, and it did not remove it.
TLT also shows the limit of the argument that buying lower is always good. The RSI(14) fell below 30 on 61 sessions, and the median forward 20-day return after those sessions was -1.63%, close to the baseline median of -0.6%. Buying after a drop was not rewarded in this fund. A schedule that bought through those drops collected a larger number of shares each time and a lower average cost, and the price kept falling below it.
The lesson the data supports is narrow. DCA lowers the cost basis relative to a lump sum in a falling market. It says nothing about whether the asset should be owned at all, and the choice of asset matters more than the schedule.
A fund that moved sideways: IWM
IWM, the small-cap fund, is the middle case. Its buy-and-hold run returned 51.45% with a CAGR of 7.5%, ending $10,000 at $15,145.24. The drawdowns were deep and slow: 31.34% from 2021-11-08 to 2022-06-16, with recovery only on 2024-11-06, which is 874 days after the trough. A second fall of 27% followed from 2024-11-25 to 2025-04-08, and a third of 10.87% in early 2026.
For a DCA buyer a fund like this is where the schedule does the most work. A price that falls, stays low for a long time and then recovers gives a monthly buyer many tranches at the low level. IWM's longest drawdown covered 752 sessions on the price series, so a buyer investing monthly through that stretch made a purchase every month at prices below the November 2021 peak. The facts hold no dollar result for that, so no figure is claimed for the final value.
IWM's calendar years were 15.7% in 2021, -20.1% in 2022, 16.4% in 2023, 11.1% in 2024, 12.4% in 2025 and 14.9% in 2026 to date. The only losing year was 2022, and the other five were gains of 11% to 16%. The fund's average daily return on up days was 1.09% and on down days -1.08%, almost symmetrical, and its 51.7% share of up days was the lowest of the equity funds here after the volatility products. Small differences like these add up across hundreds of sessions, but a monthly schedule only samples them 12 times a year.
IWM's correlation with SPY was 0.84, lower than QQQ's 0.94. Splitting a DCA schedule between SPY and IWM would diversify a little more than a split between SPY and QQQ, though the facts contain no portfolio test of the split.
DCA into a leveraged fund: TQQQ
TQQQ is a 3x leveraged fund on the Nasdaq-100 and shows what a fixed schedule faces in an extreme path. Buy-and-hold returned 265.85% with a CAGR of 25.35%, ending $10,000 at $36,585.29. The maximum drawdown was 80.77%, from 2021-11-19 to 2022-12-28, and the fund took until 2024-12-04 to recover, 707 days after the trough. Annualized volatility was 67.11%.
The yearly path was 88.9% in 2021, -78.1% in 2022, 187.6% in 2023, 57.1% in 2024, 33.9% in 2025 and 54.1% in 2026 to date. A fund with a path like that changes what DCA does. The 2022 loss of 78.1% means a monthly buyer in 2022 bought shares at prices that were a small fraction of the 2021 level. Those shares then rose through 2023. The best month was April 2026 at 51.68% and the worst was April 2022 at -36.68%. A schedule that put the same dollars in every month bought 1 month of shares at the bottom of each of those swings, and it did so without knowing which month was the bottom.
TQQQ's drawdown history has three major entries: 80.77% in 2021 to 2024, 57.4% from 2024-12-16 to 2025-04-08, and 36.73% from 2025-10-29 to 2026-03-30. The second and third recovered quickly, in 126 and 23 days from the trough. For a schedule, this pattern is the best case, since the buyer collects shares at the low and the fund returns above the cost within weeks. The first drawdown shows the cost. A buyer who started DCA in late 2021 was underwater on every tranche for about two years.
There is also a structural point. TQQQ's total return of 291.92% on the price series compares with 151.07% for QQQ, and the leverage section of the facts shows a decay gap of -161.29 percentage points against three times QQQ's return. A schedule into a leveraged fund inherits that path dependence, which is separate from the averaging itself.
DCA into a fund that decays: UVXY
UVXY is the case where the schedule does the damage it was designed to limit. The fund lost 99.94% on the price series and 97.84% on the buy-and-hold run, which turned $10,000 into $215.70. Every calendar year was negative: -88% in 2021, -37.7% in 2022, -65.8% in 2023, -13.7% in 2024, -10% in 2025 and -3.1% in 2026 to date. The maximum drawdown was 98.42% and it ran from 2021-01-29 to 2026-09-22 without a recovery.
A monthly buyer in UVXY would be buying into a falling fund on every date, because the fund rose on only 40.26% of sessions in the window. The averaging effect still exists, and the average cost drops with each purchase, but the price drops faster. No schedule can fix a fund whose value goes toward zero.
The RSI numbers show the same thing. UVXY's RSI(14) was below 30 on 116 sessions, and the median forward 20-day return after those sessions was -5.82%. The RSI(2) was below 10 on 301 sessions, followed by a median 20-day return of -10.02%. The baseline median 20-day return for the fund was -11.36%. Falling prices did not signal a bounce here. They signalled more of the same.
This fund is the clearest example in the library that the choice of asset sets the result. DCA assumes an asset that tends to rise over time and fall temporarily. A fund built to decay does not fit that assumption, and spreading the buys does not change it.
What a schedule does about timing
DCA removes the decision about when. The buyer does not try to find the low, and the schedule cannot be late or early. The data on market behaviour in the library shows why that has some value and some cost.
The day-of-week and month-of-year averages for SPY are small and uneven. Monday's average return was 0.14%, Tuesday's 0.01%, Wednesday's 0.08%, Thursday's 0.02% and Friday's 0.06%. By month, the average ran from -2.21% in September to 4.01% in November, with each month sampled only 5 or 6 times. A schedule that buys on the first of the month lands on whichever day that is, and the facts show no weekday that stands out. The seasonality entry explains why patterns like these are cheap to test and rarely stable.
The lag-1 autocorrelation of SPY's daily returns was -0.02, which is close to zero. Yesterday's move had almost no relation to today's, which is part of why a fixed schedule does as well as any clever one on entry timing in a fund like this. If returns had trended strongly from day to day, a rule that reacts to the trend could do better than a calendar.
The DeployQuant library does have a calendar strategy, the monthly cycle, which buys the first session of each month and sells the last. It is the closest template to a DCA schedule in timing terms, with a median CAGR of 5.46% across 59 ETFs and a median maximum drawdown of 36.63%, and it beat buy-and-hold on 14 of the 59. It is a different thing from DCA because it sells at month end and reinvests only the same account, whereas DCA adds new money and keeps it. The comparison shows only that a rule tied to the calendar did not beat holding on most funds in this window.
How the rule-based templates compare
DCA has no exit, which puts it in the same group as buy-and-hold. The 12 templates in the library all add something that DCA lacks: an exit, a filter or a profit target. The table of results across 59 ETFs shows how often those additions paid.
The weekly 7% target had the highest median CAGR at 6.61% and beat buy-and-hold on 34 of the 59 funds, with a median of 106 round trips. The RSI(2) snapback also beat buy-and-hold on 34 funds, with a median CAGR of 4.74%, a median maximum drawdown of 17.47% and a median of 166 round trips. The golden cross made 3 round trips at the median and beat buy-and-hold on 27 funds, with a median CAGR of 2.05%. The dip buyer made 2 round trips and beat buy-and-hold on 22 funds.
The momentum breakout and the 3-month momentum rules had a median CAGR of 0%, which means that on the median fund they earned nothing over the window. The trend with a trailing stop had the deepest median drawdown of the trend group at 31.15%.
These medians are across 59 funds, many of them leveraged or volatile, so they are not directly comparable to a DCA schedule in SPY. What they show is that exits did not reliably improve on holding. For a DCA buyer the relevant point is that the strategies which tried to time the market out of drawdowns gave up much of the return in exchange, and a plan that stays invested through the 2022 fall keeps its exposure to the 2023 rebound.
Where the test stops
The facts behind this page cover one window of 5.74 years that starts in January 2021, close to a market peak, and contains one major bear market in 2022. A window like that favours any plan that keeps buying through the fall, and it also contains a very strong 2023, which favours any plan that was invested before it.
Each fund result on this page is a buy-and-hold run with one purchase at the first open. They show the behaviour of the funds a DCA schedule would meet, and they do not simulate the schedule itself. No dollar result for a DCA account is claimed. A reader who wants one can reproduce it by describing the schedule to the AI builder or by writing the rule in blocks, then running it on the same minute data. The product reference says DeployQuant backtests strategies in plain English, in blocks or in Python on minute-resolution consolidated US equity data, and a recurring monthly buy is a rule of that kind.
Taxes, fees, bid-ask spreads and the exact days of the month are all outside the test. The headline runs have no fees or slippage. Anyone with questions about how recurring purchases are treated for tax should check with a tax professional or their broker.
The last limit is the start date. Every conclusion about DCA depends on where the schedule starts and ends. A series that begins at the 2022-01-03 SPY peak and ends at the 2022-10-12 trough gives a very different picture from one that begins at the trough. This window has one of each, and no more than one.
Frequently asked questions
What is dollar-cost averaging?
Dollar-cost averaging is investing the same dollar amount in the same asset on a fixed schedule, whatever the price. More shares are bought when the price is low and fewer when it is high, so the average cost per share is lower than the average price. It is a method of entry and has no view on the market.
Does DCA beat investing a lump sum?
Usually it does not, because a rising fund rewards the money that went in first. In the DeployQuant window SPY returned 118.2% on buy-and-hold with gains in five of six calendar years, so waiting would have left some of that on the table. DCA did better only in falling stretches such as SPY's 2022 drawdown of 23.99%.
Does DCA protect against a falling market?
It lowers the average cost, which makes a loss smaller than a lump sum would have had at the start. It does not remove the loss. TLT fell 38.94% on buy-and-hold and had not recovered by 2026-10-02, so a schedule into it would still hold a loss.
Is dollar-cost averaging safe in a leveraged ETF?
The averaging works the same way, but the path is much rougher. TQQQ had a maximum drawdown of 80.77% and an annualized volatility of 67.11%, and it took until 2024-12-04 to recover. A schedule started near the November 2021 peak held losing tranches for about two years.
Can DCA work in a fund that keeps falling?
It cannot fix an asset that decays. UVXY lost 97.84% on buy-and-hold and had a negative return in every calendar year of the window. Each purchase lowered the average cost, and the price fell faster than the cost.
Can I backtest a DCA schedule on DeployQuant?
The product reference says strategies can be described in plain English, built from blocks or written in Python and then run on minute-resolution US market data in seconds. A monthly recurring buy is a rule of that kind. The library holds no DCA backtest of its own.
Build it from blocks (or type it in English), backtest it on 5.7 years of minute data in seconds, tweak any parameter, then paper trade it on live data. No card, no broker needed to start.
Related terms
Backtests are hypothetical, computed by DeployQuant's engine on minute-resolution consolidated US market data (2021-01-04 to 2026-10-02, $10,000 starting capital, no margin, no fees or slippage in the headline run; buy-and-hold puts 98% of the account in at the first open, as the templates do) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.