RemoteMarketDataDrive
Remote storage of market data working via RemoteStorageClient.
Наследует: BaseMarketDataDrive
Конструкторы
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.
Свойства
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.
Методы
DisposeManaged()
Release resources.
GetAvailableDataTypesAsync(SecurityId, StorageFormats) : IAsyncEnumerable<DataType>
Get all available data types.
- securityId
- Instrument identifier.
- format
- Format type.
Возвращает: Data types.
GetAvailableSecuritiesAsync() : IAsyncEnumerable<SecurityId>
Get all available instruments.
Возвращает: Available instruments.
GetStorageDrive(SecurityId, DataType, StorageFormats) : IMarketDataStorageDrive
To get the storage for IMarketDataStorage.
- securityId
- Security ID.
- dataType
- Data type info.
- format
- Format type.
Возвращает: 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.
Возвращает: The sequence of found instruments.
VerifyAsync(CancellationToken) : ValueTask
Verify settings.
- cancellationToken
- CancellationToken
Возвращает: ValueTask
Поля
DefaultAddress : EndPoint
Default value for Address.
DefaultTargetCompId : string
Default value for TargetCompId.