close_all#

API documentation for tradeexecutor.cli.close_all.close_all Python function.

close_all(web3, execution_model, pricing_model, sync_model, state, universe, routing_model, routing_state, interactive=True)[source]#

Close all positions.

  • Sync reserves before starting

  • Close any open positions

  • Display trade execution and position report afterwards

Parameters: