backtest-capital-accounting

Critical fix for backtest capital accounting when equity curves are inflated or drawdown metrics are meaningless