CsvExtendedInfoStorage

StockSharp.Algo.Storages

拡張された情報ストレージ、csvファイルを使用。

実装: IExtendedInfoStorage

コンストラクター

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

CsvExtendedInfoStorage の新規インスタンスを初期化します。

path
保存への道。
executor
ディスクアクセス同期のためのシーケンシャル操作の実行者。
CsvExtendedInfoStorage
public CsvExtendedInfoStorage(IFileSystem fileSystem, string path, ChannelExecutor executor)
csvExtendedInfoStorage = CsvExtendedInfoStorage(fileSystem, path, executor)

CsvExtendedInfoStorage の新規インスタンスを初期化します。

fileSystem
担当: 佐藤 宏
path
保存への道。
executor
ディスクアクセス同期のためのシーケンシャル操作の実行者。

メソッド

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

ストレージを初期化します。

戻り値: Possible errors with storage names. Empty dictionary means initialization without any issues.