RemoteMarketDataDrive
Almacenamiento remoto de datos de mercado que funcionan a través de RemoteStorageClient.
Hereda de: BaseMarketDataDrive
Constructores
public RemoteMarketDataDrive()
remoteMarketDataDrive = RemoteMarketDataDrive()
Inicia una nueva instancia de la RemoteMarketDataDrive.
public RemoteMarketDataDrive(EndPoint address)
remoteMarketDataDrive = RemoteMarketDataDrive(address)
Inicia una nueva instancia de la RemoteMarketDataDrive.
- address
- Dirección de servidor.
public RemoteMarketDataDrive(EndPoint address, IMessageAdapter adapter)
remoteMarketDataDrive = RemoteMarketDataDrive(address, adapter)
Inicia una nueva instancia de la RemoteMarketDataDrive.
- address
- Dirección de servidor.
- adapter
- Adaptador de mensajes.
Propiedades
public EndPoint Address { get; set; }
value = remoteMarketDataDrive.Address
remoteMarketDataDrive.Address = value
Dirección de servidor.
public ServerCredentials Credentials { get; }
value = remoteMarketDataDrive.Credentials
Información sobre el acceso y contraseña para el acceso a almacenamiento remoto.
public ILogSource Logs { get; set; }
value = remoteMarketDataDrive.Logs
remoteMarketDataDrive.Logs = value
Logs.
public override string Path { get; set; }
value = remoteMarketDataDrive.Path
remoteMarketDataDrive.Path = value
Camino a los datos del mercado.
public int SecurityBatchSize { get; set; }
value = remoteMarketDataDrive.SecurityBatchSize
remoteMarketDataDrive.SecurityBatchSize = value
Los nuevos instrumentos solicitan el tamaño del bloque. Por defecto no excede los 1000 elementos.
public string TargetCompId { get; set; }
value = remoteMarketDataDrive.TargetCompId
remoteMarketDataDrive.TargetCompId = value
Identificación de destino.
public TimeSpan Timeout { get; set; }
value = remoteMarketDataDrive.Timeout
remoteMarketDataDrive.Timeout = value
Hora de salir
Métodos
protected override void DisposeManaged()
remoteMarketDataDrive.DisposeManaged()
Libera recursos.
public override IAsyncEnumerable<DataType> GetAvailableDataTypesAsync(SecurityId securityId, StorageFormats format)
result = remoteMarketDataDrive.GetAvailableDataTypesAsync(securityId, format)
Obtenga todos los tipos de datos disponibles.
- securityId
- Identificador de instrumentos.
- format
- Tipo de formato.
Devuelve: Tipos de datos.
public override IAsyncEnumerable<SecurityId> GetAvailableSecuritiesAsync()
result = remoteMarketDataDrive.GetAvailableSecuritiesAsync()
Pon todos los instrumentos disponibles.
Devuelve: Instrumentos disponibles.
public override IMarketDataStorageDrive GetStorageDrive(SecurityId securityId, DataType dataType, StorageFormats format)
result = remoteMarketDataDrive.GetStorageDrive(securityId, dataType, format)
Para obtener el almacenamiento para IMarketDataStorage.
- securityId
- identificación de instrumentos financieros.
- dataType
- Datos tipo info.
- format
- Tipo de formato.
Devuelve: Almacenamiento para IMarketDataStorage.
public override void Load(SettingsStorage storage)
remoteMarketDataDrive.Load(storage)
Ajustes de carga.
- storage
- Configuración de almacenamiento.
public override IAsyncEnumerable<SecurityMessage> LookupSecuritiesAsync(SecurityLookupMessage criteria, ISecurityProvider securityProvider)
result = remoteMarketDataDrive.LookupSecuritiesAsync(criteria, securityProvider)
Descarga los instrumentos financieros por los criterios especificados.
- criteria
- Búsqueda de instrumentos financieros de mensaje para criterios especificados.
- securityProvider
- El proveedor de información sobre instrumentos.
Devuelve: La secuencia de instrumentos encontrados.
public override void Save(SettingsStorage storage)
remoteMarketDataDrive.Save(storage)
Guardar configuración.
- storage
- Configuración de almacenamiento.
public override ValueTask VerifyAsync(CancellationToken cancellationToken)
result = remoteMarketDataDrive.VerifyAsync(cancellationToken)
Verifica la configuración.
- cancellationToken
- CancellationToken
Devuelve: ValueTask
Campos
public static readonly EndPoint DefaultAddress
value = RemoteMarketDataDrive.DefaultAddress
Valor predeterminado para Dirección.
public static readonly string DefaultTargetCompId
value = RemoteMarketDataDrive.DefaultTargetCompId
Valor predeterminado para TargetCompId.