CsvExtendedInfoStorage

StockSharp.Algo.Storages

Erweiterte Informationsspeicherung, verwendete csv-Dateien.

Implementiert: IExtendedInfoStorage

Konstruktoren

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

Initialisiert eine neue Instanz von CsvExtendedInfoStorage.

path
Weg zur Lagerung.
executor
Sequential Operation Executor für die Synchronisierung des Plattenzugriffs.
CsvExtendedInfoStorage
public CsvExtendedInfoStorage(IFileSystem fileSystem, string path, ChannelExecutor executor)
csvExtendedInfoStorage = CsvExtendedInfoStorage(fileSystem, path, executor)

Initialisiert eine neue Instanz von CsvExtendedInfoStorage.

fileSystem
IFileSystem
path
Weg zur Lagerung.
executor
Sequential Operation Executor für die Synchronisierung des Plattenzugriffs.

Methoden

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

Initialisieren Sie die Speicherung.

Rückgabe: Possible errors with storage names. Empty dictionary means initialization without any issues.