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:
Return type:

JSONFileStore