ISecurityMappingStorageProvider

StockSharp.Algo.Storages

Security identifier mappings storage provider.

Implements: IDisposable

Properties

StorageNames
public IEnumerable<string> StorageNames { get; }
value = iSecurityMappingStorageProvider.StorageNames

Get storage names.

Methods

GetStorage
public ISecurityMappingStorage GetStorage(string storageName)
result = iSecurityMappingStorageProvider.GetStorage(storageName)

Get storage for a specific storage name.

storageName
Storage name.

Returns: Storage instance.

InitAsync
public ValueTask<Dictionary<string, Exception>> InitAsync(CancellationToken cancellationToken)
result = iSecurityMappingStorageProvider.InitAsync(cancellationToken)

Initialize the storage provider.

cancellationToken
CancellationToken

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