IExtendedInfoStorage

StockSharp.Algo.Storages

Extended info storage.

Properties

Storages : IEnumerable<IExtendedInfoStorageItem>

Get all extended storages.

Methods

CreateAsync(string, IEnumerable<ValueTuple<string, Type>>, CancellationToken) : ValueTask<IExtendedInfoStorageItem>

To create storage.

storageName
Storage name.
fields
Extended fields (names and types).
cancellationToken
CancellationToken

Returns: Storage.

DeleteAsync(IExtendedInfoStorageItem, CancellationToken) : ValueTask

Delete storage.

storage
Storage.
cancellationToken
CancellationToken
GetAsync(string, CancellationToken) : ValueTask<IExtendedInfoStorageItem>

To get storage for the specified name.

storageName
Storage name.
cancellationToken
CancellationToken

Returns: Storage.

InitAsync(CancellationToken) : ValueTask<Dictionary<IExtendedInfoStorageItem, Exception>>

Initialize the storage.

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

Events

Created : Action<IExtendedInfoStorageItem>

The storage was created.

Deleted : Action<IExtendedInfoStorageItem>

The storage was deleted.