check_accounts#

API documentation for tradeexecutor.strategy.account_correction.check_accounts Python function.

check_accounts(pair_universe, reserve_assets, state, sync_model)[source]#

Get a table output of accounting corrections needed.

Returns:

Tuple (accounts clean, accounting clean Dataframe that can be printed to the console)

Parameters:
Return type:

Tuple[bool, DataFrame]