Creates new deferred strategy state persistence instance.
Trading pair symbol
Strategy identifier
Exchange identifier
ReadonlyexchangeReadonlystrategyReadonlysymbolReads the persisted strategy state snapshot using the fixed STORAGE_KEY.
Promise resolving to strategy state snapshot or null if not found
Initializes the underlying PersistBase storage.
Whether this is the first initialization
Promise that resolves when initialization is complete
Writes the strategy state snapshot (or null to clear) using the fixed STORAGE_KEY.
Strategy state snapshot to persist, or null to clear
Promise that resolves when write is complete
Default file-based implementation of IPersistStrategyInstance.
Features:
Example