RemoteMarketDataDrive
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
Credentials : ServerCredentials
Information about the login and password for access to remote storage.
Logs : ILogSource
Logs.
SecurityBatchSize : int
The new instruments request block size. By default it does not exceed 1000 elements.
TargetCompId : string
Target ID.
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.
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.
VerifyAsync(CancellationToken) : ValueTask
Verify settings.
- cancellationToken
- CancellationToken
Returns: ValueTask
Fields
DefaultAddress : EndPoint
Default value for Address.
DefaultTargetCompId : string
Default value for TargetCompId.