Implements IPersistPartialInstance
Default file-based implementation of IPersistPartialInstance.
Features:
constructor(symbol: string, strategyName: string, exchangeName: string);
symbol: string
strategyName: string
exchangeName: string
_storage: any
Underlying file-based storage scoped to this context
waitForInit(initial: boolean): Promise<void>;
Initializes the underlying PersistBase storage.
readPartialData(signalId: string, _when: Date): Promise<PartialData>;
Reads the partial data for the given signal using signalId as the entity key.
writePartialData(data: PartialData, signalId: string, _when: Date): Promise<void>;
Writes the partial data for the given signal using signalId as the entity key.