Main storage adapter that manages both backtest and live signal storage.
Features:
constructor();
enable: (() => () => void) & ISingleshotClearable
Enables signal storage by subscribing to signal emitters. Uses singleshot to ensure one-time subscription.
disable: () => void
Disables signal storage by unsubscribing from all emitters. Safe to call multiple times.
findSignalById: (id: string) => Promise<IStorageSignalRow>
Finds a signal by ID across both backtest and live storage.
listSignalBacktest: () => Promise<IStorageSignalRow[]>
Lists all backtest signals from storage.
listSignalLive: () => Promise<IStorageSignalRow[]>
Lists all live signals from storage.