# Why did my backtest stop early?

> The test account ran out of money.

Source: https://algobarsx.com/docs/why-stopped-early/

An account with nothing left cannot trade on. When equity is gone, the backtest stops at that bar, closes what was open and marks the run as *liquidated*, with the bar and the time. Everything after that point did not happen, so the engine does not pretend it did. The replay stops at the same place.

If this surprises you, check the trade size and the stop first. A large fixed lot size on a small starting balance is the usual cause.
