API documentation for tradeexecutor.cli.commands.show_positions.show_positions Python function.

show_positions(id=<typer.models.OptionInfo object>, state_file=<typer.models.OptionInfo object>, strategy_file=<typer.models.OptionInfo object>, position_type=<typer.models.OptionInfo object>)[source]#

Display trading positions from a state file.

  • Dumps all open and historical positions from the state file for debug inspection

  • This command does not read any live chain state, but merely dumps the existing state file positions to the console.