CsvExtendedInfoStorage

StockSharp.Algo.Storages

Extended info storage, used csv files.

Implements: IExtendedInfoStorage

Constructors

CsvExtendedInfoStorage
public CsvExtendedInfoStorage(string path, ChannelExecutor executor)
csvExtendedInfoStorage = CsvExtendedInfoStorage(path, executor)

Initializes a new instance of the CsvExtendedInfoStorage.

path
Path to storage.
executor
Sequential operation executor for disk access synchronization.
CsvExtendedInfoStorage
public CsvExtendedInfoStorage(IFileSystem fileSystem, string path, ChannelExecutor executor)
csvExtendedInfoStorage = CsvExtendedInfoStorage(fileSystem, path, executor)

Initializes a new instance of the CsvExtendedInfoStorage.

fileSystem
IFileSystem
path
Path to storage.
executor
Sequential operation executor for disk access synchronization.

Methods

InitAsync
public ValueTask<Dictionary<IExtendedInfoStorageItem, Exception>> InitAsync(CancellationToken cancellationToken)
result = csvExtendedInfoStorage.InitAsync(cancellationToken)

Initialize the storage.

Returns: Possible errors with storage names. Empty dictionary means initialization without any issues.