unfreeze_position#

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

unfreeze_position(portfolio, position)[source]#

Attempt to unfreeze positions.

  • All failed trades on a position must be cleared

Returns:

if we managed to unfreeze the position

Parameters:
Return type:

bool