RemoteMarketDataDrive

StockSharp.Algo.Storages

Armazenamento remoto de dados de mercado que funcionam via RemoteStorageClient.

Herda de: BaseMarketDataDrive

Construtores

RemoteMarketDataDrive
public RemoteMarketDataDrive()
remoteMarketDataDrive = RemoteMarketDataDrive()

Inicializa uma nova instância do RemoteMarketDataDrive.

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

Inicializa uma nova instância do RemoteMarketDataDrive.

address
Endereço do servidor.
RemoteMarketDataDrive
public RemoteMarketDataDrive(EndPoint address, IMessageAdapter adapter)
remoteMarketDataDrive = RemoteMarketDataDrive(address, adapter)

Inicializa uma nova instância do RemoteMarketDataDrive.

address
Endereço do servidor.
adapter
Adaptador de mensagens.

Propriedades

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

Endereço do servidor.

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

Informações sobre o login e senha para acesso ao armazenamento remoto.

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

Diários.

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

Caminho para os dados do mercado.

SecurityBatchSize
public int SecurityBatchSize { get; set; }
value = remoteMarketDataDrive.SecurityBatchSize
remoteMarketDataDrive.SecurityBatchSize = value

Os novos instrumentos solicitam o tamanho do bloco. Por padrão, não excede 1000 elementos.

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

Identificação do alvo.

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

Tempo- limite

Métodos

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

Libertar recursos.

GetAvailableDataTypesAsync
public override IAsyncEnumerable<DataType> GetAvailableDataTypesAsync(SecurityId securityId, StorageFormats format)
result = remoteMarketDataDrive.GetAvailableDataTypesAsync(securityId, format)

Obter todos os tipos de dados disponíveis.

securityId
Identificador do instrumento.
format
Tipo de formato.

Retorna: Tipos de dados.

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

Pegue todos os instrumentos disponíveis.

Retorna: Instrumentos disponíveis.

GetStorageDrive
public override IMarketDataStorageDrive GetStorageDrive(SecurityId securityId, DataType dataType, StorageFormats format)
result = remoteMarketDataDrive.GetStorageDrive(securityId, dataType, format)

Para obter o armazenamento para IMarketDataStorage.

securityId
ID do instrumento financeiro.
dataType
Informação do tipo de dados.
format
Tipo de formato.

Retorna: Armazenamento para IMarketDataStorage.

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

Carregar as configurações.

storage
Configuração do armazenamento.
LookupSecuritiesAsync
public override IAsyncEnumerable<SecurityMessage> LookupSecuritiesAsync(SecurityLookupMessage criteria, ISecurityProvider securityProvider)
result = remoteMarketDataDrive.LookupSecuritiesAsync(criteria, securityProvider)

Baixar instrumentos financeiros pelos critérios especificados.

criteria
Instrumento financeiro de mensagens para procurar critérios específicos.
securityProvider
O fornecedor de informações sobre instrumentos.

Retorna: A sequência de instrumentos encontrados.

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

Gravar as definições.

storage
Configuração do armazenamento.
VerifyAsync
public override ValueTask VerifyAsync(CancellationToken cancellationToken)
result = remoteMarketDataDrive.VerifyAsync(cancellationToken)

Verificar as configurações.

cancellationToken
CancellationToken

Retorna: ValueTask

Campos

DefaultAddress
public static readonly EndPoint DefaultAddress
value = RemoteMarketDataDrive.DefaultAddress

Valor padrão para o endereço.

DefaultTargetCompId
public static readonly string DefaultTargetCompId
value = RemoteMarketDataDrive.DefaultTargetCompId

Valor padrão para TargetCompId.