Creates new signal persistence instance.
Trading pair symbol
Strategy identifier
Exchange identifier
ReadonlyexchangeReadonlystrategyReadonlysymbolReads the persisted signal using symbol as the entity key.
Promise resolving to the signal or null if not found
Initializes the underlying PersistBase storage. Delegates to PersistBase.waitForInit which uses singleshot.
Whether this is the first initialization
Promise that resolves when initialization is complete
Writes the signal (or null to clear) using symbol as the entity key.
Signal data to persist, or null to clear
Promise that resolves when write is complete
Default file-based implementation of IPersistSignalInstance.
Features:
Example