MAINT: Factored out adjust_cash method in perf period

with semantics unrelated to dividends/splits