reset#
API documentation for tradeexecutor.cli.commands.reset.reset Python function.
- reset(id=<typer.models.OptionInfo object>, name=<typer.models.OptionInfo object>, strategy_file=<typer.models.OptionInfo object>, state_file=<typer.models.OptionInfo object>, private_key=<typer.models.OptionInfo object>, log_level=<typer.models.OptionInfo object>, asset_management_mode=<typer.models.OptionInfo object>, vault_address=<typer.models.OptionInfo object>, vault_deployment_block_number=<typer.models.OptionInfo object>, json_rpc_binance=<typer.models.OptionInfo object>, json_rpc_polygon=<typer.models.OptionInfo object>, json_rpc_avalanche=<typer.models.OptionInfo object>, json_rpc_ethereum=<typer.models.OptionInfo object>, json_rpc_arbitrum=<typer.models.OptionInfo object>, json_rpc_anvil=<typer.models.OptionInfo object>)[source]#
Reset the strategy state.
Deletes all the state history of a state and starts tracking the strategy again.
This command will start the internal ledger accounting from the scratch. All strategy live execution history is lost.
- Parameters:
id (str) –
name (str) –
strategy_file (Path) –
log_level (str) –
asset_management_mode (AssetManagementMode) –