RemoteMarketDataDrive

StockSharp.Algo.Storages

Remote storage of market data working via RemoteStorageClient.

Inherits: BaseMarketDataDrive

Constructors

RemoteMarketDataDrive()

Initializes a new instance of the RemoteMarketDataDrive.

RemoteMarketDataDrive(EndPoint)

Initializes a new instance of the RemoteMarketDataDrive.

address
Server address.
RemoteMarketDataDrive(EndPoint, IMessageAdapter)

Initializes a new instance of the RemoteMarketDataDrive.

address
Server address.
adapter
Message adapter.

Properties

Address : EndPoint

Server address.

Credentials : ServerCredentials

Information about the login and password for access to remote storage.

Logs : ILogSource

Logs.

Path : string

Path to market data.

SecurityBatchSize : int

The new instruments request block size. By default it does not exceed 1000 elements.

TargetCompId : string

Target ID.

Timeout : TimeSpan

Timeout

Methods

DisposeManaged()

Release resources.

GetAvailableDataTypesAsync(SecurityId, StorageFormats) : IAsyncEnumerable<DataType>

Get all available data types.

securityId
Instrument identifier.
format
Format type.

Returns: Data types.

GetAvailableSecuritiesAsync() : IAsyncEnumerable<SecurityId>

Get all available instruments.

Returns: Available instruments.

GetStorageDrive(SecurityId, DataType, StorageFormats) : IMarketDataStorageDrive

To get the storage for IMarketDataStorage.

securityId
Security ID.
dataType
Data type info.
format
Format type.

Returns: Storage for IMarketDataStorage.

Load(SettingsStorage)

Load settings.

storage
Settings storage.
LookupSecuritiesAsync(SecurityLookupMessage, ISecurityProvider) : IAsyncEnumerable<SecurityMessage>

Download securities by the specified criteria.

criteria
Message security lookup for specified criteria.
securityProvider
The provider of information about instruments.

Returns: The sequence of found instruments.

Save(SettingsStorage)

Save settings.

storage
Settings storage.
VerifyAsync(CancellationToken) : ValueTask

Verify settings.

cancellationToken
CancellationToken

Returns: ValueTask

Fields

DefaultAddress : EndPoint

Default value for Address.

DefaultTargetCompId : string

Default value for TargetCompId.