RemoteMarketDataDrive

StockSharp.Algo.Storages

Almacenamiento remoto de datos de mercado que funcionan a través de RemoteStorageClient.

Hereda de: BaseMarketDataDrive

Constructores

RemoteMarketDataDrive
public RemoteMarketDataDrive()
remoteMarketDataDrive = RemoteMarketDataDrive()

Inicia una nueva instancia de la RemoteMarketDataDrive.

RemoteMarketDataDrive
public RemoteMarketDataDrive(EndPoint address)
remoteMarketDataDrive = RemoteMarketDataDrive(address)

Inicia una nueva instancia de la RemoteMarketDataDrive.

address
Dirección de servidor.
RemoteMarketDataDrive
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

Address
public EndPoint Address { get; set; }
value = remoteMarketDataDrive.Address
remoteMarketDataDrive.Address = value

Dirección de servidor.

Credentials
public ServerCredentials Credentials { get; }
value = remoteMarketDataDrive.Credentials

Información sobre el acceso y contraseña para el acceso a almacenamiento remoto.

Logs
public ILogSource Logs { get; set; }
value = remoteMarketDataDrive.Logs
remoteMarketDataDrive.Logs = value

Logs.

Path
public override string Path { get; set; }
value = remoteMarketDataDrive.Path
remoteMarketDataDrive.Path = value

Camino a los datos del mercado.

SecurityBatchSize
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.

TargetCompId
public string TargetCompId { get; set; }
value = remoteMarketDataDrive.TargetCompId
remoteMarketDataDrive.TargetCompId = value

Identificación de destino.

Timeout
public TimeSpan Timeout { get; set; }
value = remoteMarketDataDrive.Timeout
remoteMarketDataDrive.Timeout = value

Hora de salir

Métodos

DisposeManaged
protected override void DisposeManaged()
remoteMarketDataDrive.DisposeManaged()

Libera recursos.

GetAvailableDataTypesAsync
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.

GetAvailableSecuritiesAsync
public override IAsyncEnumerable<SecurityId> GetAvailableSecuritiesAsync()
result = remoteMarketDataDrive.GetAvailableSecuritiesAsync()

Pon todos los instrumentos disponibles.

Devuelve: Instrumentos disponibles.

GetStorageDrive
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.

Load
public override void Load(SettingsStorage storage)
remoteMarketDataDrive.Load(storage)

Ajustes de carga.

storage
Configuración de almacenamiento.
LookupSecuritiesAsync
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.

Save
public override void Save(SettingsStorage storage)
remoteMarketDataDrive.Save(storage)

Guardar configuración.

storage
Configuración de almacenamiento.
VerifyAsync
public override ValueTask VerifyAsync(CancellationToken cancellationToken)
result = remoteMarketDataDrive.VerifyAsync(cancellationToken)

Verifica la configuración.

cancellationToken
CancellationToken

Devuelve: ValueTask

Campos

DefaultAddress
public static readonly EndPoint DefaultAddress
value = RemoteMarketDataDrive.DefaultAddress

Valor predeterminado para Dirección.

DefaultTargetCompId
public static readonly string DefaultTargetCompId
value = RemoteMarketDataDrive.DefaultTargetCompId

Valor predeterminado para TargetCompId.