repair_zero_quantity#

API documentation for tradeexecutor.state.repair.repair_zero_quantity Python function.

repair_zero_quantity(state, interactive=True)[source]#

Scan for positions that failed to open and need to be cleaned up.

Parameters:

state (State) –