Interface IStorageUtils

Base interface for storage adapters. All storage adapters must implement this interface.

interface IStorageUtils {
    findById(id: string): Promise<IStorageSignalRow>;
    handleCancelled(tick: IStrategyTickResultCancelled): Promise<void>;
    handleClosed(tick: IStrategyTickResultClosed): Promise<void>;
    handleOpened(tick: IStrategyTickResultOpened): Promise<void>;
    handleScheduled(tick: IStrategyTickResultScheduled): Promise<void>;
    list(): Promise<IStorageSignalRow[]>;
}

Methods