apply_accounting_correction#
API documentation for tradeexecutor.strategy.account_correction.apply_accounting_correction Python function.
- apply_accounting_correction(state, correction, strategy_cycle_included_at)[source]#
Update the state to reflect the true on-chain balances.
- Parameters:
state (State) –
correction (AccountingBalanceCheck) –
strategy_cycle_included_at (datetime.datetime | None) –