Skip to content

DCA and execution

DCA bot drawdown duration: count the time and capital

A deal can regain its equity peak before releasing cash. A worked timeline separates underwater time, open-deal age and capital occupation.

An ivory ribbon dips into a long trough beneath a horizontal beam, with ivory blocks along the trough and a lime opening at the far end.
Illustration for dca and execution; examples in this article are educational.

DCA bot drawdown duration measures how long a defined equity series remains below a previous peak. Record the peak, trough and first recovery timestamps, then track open-deal age and capital occupation separately. If the observation period ends underwater, recovery is unfinished: elapsed time is a lower bound, not a completed duration or a forecast.

A shallow loss can occupy an averaging position for weeks. A deeper decline can recover sooner. Neither depth tells you when cash will become available for another deal, and recovering marked equity does not necessarily mean the position has sold.

This article uses an unleveraged spot averaging ladder. The spot-versus-futures comparison explains why a futures position needs additional margin, funding and liquidation analysis before interpreting its waiting time.

Give each clock an explicit starting event

Start with marked account equity: cash plus the value of holdings, with applicable costs and liabilities accounted for. A realized-profit line that ignores open losses cannot answer how long the whole account has been underwater. Keep deposits and withdrawals separate so that adding money does not manufacture a recovery.

Use these labels consistently:

MeasurementStarting eventEnding event
Peak-to-recovery durationLast observation at the relevant equity peak before the declineFirst later observation at or above that peak
Peak-to-trough timeThat same peakLowest observed equity within the episode
Trough-to-recovery timeEpisode troughRecovery observation
Open-deal ageFirst executed fill assigned to the dealReporting time, or final exposure-closing fill
Capital occupationEach purchase deploys cashCorresponding sale releases cash, subject to actual execution

An open deal can be profitable yet remain open because its exit condition has not occurred. An account can regain a peak through gains on another deal while an older position remains at a loss. Deal age and account drawdown duration answer different questions.

CME's drawdown evaluation guidance treats drawdown length and recovery time as separate information and warns that monthly observations can conceal larger interim losses. Its context is managed futures, not a recommended DCA risk limit.

State the counting convention before comparing reports

Here, durations mean elapsed calendar time between UTC timestamps. Equality with the old peak counts as recovery. Consecutive equal peaks use the last equal observation before the decline. Record the observation frequency as well as the endpoints.

Daily observations can identify the first daily recovery without identifying the exact intraday moment. An outage or missing mark creates uncertainty, not an extra day of verified underwater time. Preserve the gap and state that recovery timing within it is unknown.

Software conventions also differ. The PerformanceAnalytics drawdown implementation returns lengths in observation periods and separately calculates peak-to-trough and recovery lengths. Do not compare a period count with calendar days without translating its indexing and sampling convention. This article's timestamp convention is explicit rather than a claim that every report uses it.

For depth and the percentage gain needed to recover a loss, use the maximum-drawdown worksheet. The question here is what happens to time and deployed cash while recovery remains incomplete.

Follow one deal through three different endpoints

Consider a hypothetical account starting with $5,000 in quote cash. It buys 10 units at $100 on Day 0, 12.5 units at $80 on Day 5, and 16⅔ units at $60 on Day 10. All events occur at the same UTC time of day. No other positions or external cash flows exist.

For transparent arithmetic, this illustration excludes fees, spread, slippage and other costs and assumes a constant-value quote unit. Complete daily marks are assumed to show no earlier recovery or deeper trough; the table condenses those records. These are invented amounts and prices, not a KLINEO result or suggested settings.

EventPrice per unitUnits held after eventCashMarked equityStatus
Day 0: base buy$10010$4,000$5,000Initial peak
Day 5: second buy$8022.5$3,000$4,800Below peak
Day 10: last buy$6039⅙$2,000$4,350Episode trough
Day 20: still holding$7539⅙$2,000$4,937.50Recovery unfinished
Day 25: still holding$3,600 ÷ 47 ≈ $76.595739⅙$2,000$5,000 exactly at the unrounded priceOld equity peak regained
Day 30: full sale$780$5,055$5,055Capital released

The final quantity is 10 + 12.5 + 1,000 / 60 = 235 / 6 units. At the trough, equity is 2,000 + (235 / 6 × 60) = $4,350, or 13% below $5,000.

Peak-to-recovery duration is 25 days. Peak-to-trough time is 10 days, and trough-to-recovery time is 15 days. The deal remains open for 30 days. Its five days after equity recovery still matter to cash availability.

The asset never needs to regain its original $100 entry for this particular account to break even: later purchases changed the quantity held and average cost. They also increased the money exposed. In a continuing decline, spending more does not promise an earlier recovery.

The displayed recovery is gross. A report incorporating purchase costs or estimated selling costs would need a correspondingly higher recovery value. Use the take-profit and fee calculation to avoid treating a gross break-even mark as an executable net exit.

Measure capital occupation without calling it a loss

Keep the funding ledger from the DCA capital-requirements guide, then add time. One simple diagnostic is acquisition-cost dollar-days: multiply cash deployed by how long it remains represented by the holding. This is a defined worksheet measure, not a standard return statistic.

IntervalAcquisition cost still deployedElapsed daysDollar-days
Day 0 to Day 5$1,00055,000
Day 5 to Day 10$2,000510,000
Day 10 to Day 30$3,0002060,000
Total—3075,000

Average acquisition cost deployed is 75,000 / 30 = $2,500, half the starting capital. Of the total, 3,000 × 5 = 15,000 dollar-days occur after the old equity peak is regained but before the sale.

This measure does not mean the asset is technically locked or impossible to sell. It records the choice to keep capital in the position. It is not opportunity-cost profit, a risk score, or a forecast of another strategy's return. Pair cost-based occupation with current market value and remaining purchase commitments. For partial exits, reduce the deployed-cost ledger using a declared cost-allocation rule.

Shared exchange balances need attribution. A manual sale or another bot's order can alter the exposure behind an apparent recovery. The competing-order ownership guide covers that reconciliation; otherwise the duration record may describe inventory the strategy no longer owns.

Keep unfinished episodes in the review

If this observation ends on Day 20, report an ongoing episode aged 20 days from the peak, a current 1.25% deficit, $3,000 acquisition cost deployed and no observed recovery. Those 20 days are a lower bound on any completed recovery duration, if recovery ever occurs. They are not a completed 20-day recovery.

A table averaging only completed recoveries can omit the longest ongoing wait. Show completed durations with their count, ongoing ages with their count, and the fixed observation endpoint. A small sample does not justify a confident recovery percentile. Do not extend the test until an inconvenient deal recovers and silently replace the original endpoint; the out-of-sample testing guide explains why that changes the evaluation.

Before starting, write a review rule for prolonged occupation: which age prompts inspection, which new commitments stop, and who decides whether existing exposure is held or closed. An age threshold is an operational decision, not proof that a rebound is due. Closing may realize a loss; waiting can deepen it or never produce recovery.

Method and limits

This AI-assisted article combines primary measurement guidance with an original hypothetical spot timeline and capital-time ledger. Arithmetic and timestamp conventions were checked. No live strategy, customer result or KLINEO duration-reporting feature was tested. The worksheet describes observed capital use and unfinished recovery; it cannot establish a safe waiting period or guarantee capital recovery.

Keep the context with the example.

Each worked example is illustrative, with its sources and assumptions in the article. Read our editorial standards for authorship, verification and corrections.