backup_state#
API documentation for tradeexecutor.cli.backup.backup_state Python function.
- backup_state(executor_id, state_file, backup_suffix='reinit-backup')[source]#
Backup the current state file and then read it.
- Parameters:
executor_id (str) –
state_file (str | pathlib.Path | None) –
- Return type: