ExanteFixDialect

StockSharp.Fix.Dialects

Dialeto de protocolo EXANTE FIX.

Herda de: BaseFixDialect

Construtores

ExanteFixDialect
public ExanteFixDialect(IdGenerator transactionIdGenerator)
exanteFixDialect = ExanteFixDialect(transactionIdGenerator)

Inicializa uma nova instância do ExanteFixDialect.

transactionIdGenerator
Gerador de identificação de transação.

Propriedades

FeatureName
public override string FeatureName { get; }
value = exanteFixDialect.FeatureName

Nome da peça.

PossibleSupportedMessages
public override IEnumerable<MessageTypeInfo> PossibleSupportedMessages { get; }
value = exanteFixDialect.PossibleSupportedMessages

Possíveis tipos de mensagens suportadas.

SupportedOrderBookDepths
public override IEnumerable<int> SupportedOrderBookDepths { get; }
value = exanteFixDialect.SupportedOrderBookDepths

Opções disponíveis para MaxDepth.

Métodos

GetSupportedMarketDataTypesAsync
public override IAsyncEnumerable<DataType> GetSupportedMarketDataTypesAsync(SecurityId securityId, DateTime? from, DateTime? to)
result = exanteFixDialect.GetSupportedMarketDataTypesAsync(securityId, from, to)

Seja suportado por tipos de mensagem adaptador.

securityId
SecurityId
from
Data de início para solicitação. Se , em seguida, todas as mensagens disponíveis serão devolvidos.
to
Data de fim para a solicitação. Se , então todas as mensagens disponíveis serão devolvidas.

Retorna: Suportado por tipos de dados de mercado adaptador.

InitSecId
protected override void InitSecId(SecurityMessage message, string symbol, string securityExchange, string idSource, string idValue)
exanteFixDialect.InitSecId(message, symbol, securityExchange, idSource, idValue)

Informação de Identificação do instrumento financeiro.

message
Uma mensagem contendo informações sobre o instrumento financeiro.
symbol
Símbolo.
securityExchange
O intercâmbio de instrumentos financeiros.
idSource
- Id fonte.
idValue
Eu valorizo.
OnReadAsync
protected override IAsyncEnumerable<Message> OnReadAsync(IFixReader reader, string msgType, CancellationToken cancellationToken)
result = exanteFixDialect.OnReadAsync(reader, msgType, cancellationToken)

Leia a próxima mensagem do protocolo FIX.

reader
O leitor dos dados registrados no formato do protocolo FIX.
msgType
Tipo de mensagem.
cancellationToken
CancellationToken

Retorna: A sequência de mensagens.

OnWriteAsync
protected override ValueTask<string> OnWriteAsync(IFixWriter writer, Message message, CancellationToken cancellationToken)
result = exanteFixDialect.OnWriteAsync(writer, message, cancellationToken)

Escreva a mensagem especificada no protocolo FIX.

writer
O gravador de dados no formato do protocolo FIX.
message
A mensagem.
cancellationToken
Inscrição de cancelamento.

Retorna: FixMessages value.

ProcessExecutionReportAsync
protected override IAsyncEnumerable<Message> ProcessExecutionReportAsync(ExecutionReport report, Func<ExecutionReport, ExecutionMessage, CancellationToken, IAsyncEnumerable<ExecutionMessage>> processExecMsg, CancellationToken cancellationToken)
result = exanteFixDialect.ProcessExecutionReportAsync(report, processExecMsg, cancellationToken)

Processo ExecutionReport exemplo.

report
ExecutionReport exemplo.
processExecMsg
Publique o comando de ExecutionMessage exemplo.
cancellationToken
CancellationToken
ProcessExecutionReportAsync
protected override IAsyncEnumerable<ExecutionMessage> ProcessExecutionReportAsync(ExecutionReport report, ExecutionMessage message, CancellationToken cancellationToken)
result = exanteFixDialect.ProcessExecutionReportAsync(report, message, cancellationToken)

Processo ExecutionReport exemplo.

report
ExecutionReport exemplo.
message
ExecutionMessage
cancellationToken
CancellationToken