ExanteFixDialect
StockSharp.Fix.Dialects
Exante dialecto protocolo FIX.
Hereda de: BaseFixDialect
Constructores
ExanteFixDialect
public ExanteFixDialect(IdGenerator transactionIdGenerator)
exanteFixDialect = ExanteFixDialect(transactionIdGenerator)
Inicia una nueva instancia de la ExanteFixDialect.
- transactionIdGenerator
- Generador de identificación de transacciones.
Propiedades
FeatureName
public override string FeatureName { get; }
value = exanteFixDialect.FeatureName
Nombre de la característica.
PossibleSupportedMessages
public override IEnumerable<MessageTypeInfo> PossibleSupportedMessages { get; }
value = exanteFixDialect.PossibleSupportedMessages
Posibles tipos de mensajes apoyados.
SupportedOrderBookDepths
public override IEnumerable<int> SupportedOrderBookDepths { get; }
value = exanteFixDialect.SupportedOrderBookDepths
Opciones disponibles para MaxDepth.
Métodos
GetSupportedMarketDataTypesAsync
public override IAsyncEnumerable<DataType> GetSupportedMarketDataTypesAsync(SecurityId securityId, DateTime? from, DateTime? to)
result = exanteFixDialect.GetSupportedMarketDataTypesAsync(securityId, from, to)
Consiga soporte por tipos de mensaje de adaptador.
- securityId
- SecurityId
- from
- Fecha de inicio para solicitar. Si , entonces todos los mensajes disponibles serán devueltos.
- to
- Fecha final para solicitar. Si , entonces todos los mensajes disponibles serán devueltos.
Devuelve: Apoyado por tipos de datos del mercado de adaptadores.
InitSecId
protected override void InitSecId(SecurityMessage message, string symbol, string securityExchange, string idSource, string idValue)
exanteFixDialect.InitSecId(message, symbol, securityExchange, idSource, idValue)
Información de identificación del instrumento financiero.
- message
- Un mensaje que contiene información sobre el instrumento financiero.
- symbol
- Símbolo.
- securityExchange
- intercambio de instrumentos financieros.
- idSource
- Fuente de Id.
- idValue
- Valor Id.
OnReadAsync
protected override IAsyncEnumerable<Message> OnReadAsync(IFixReader reader, string msgType, CancellationToken cancellationToken)
result = exanteFixDialect.OnReadAsync(reader, msgType, cancellationToken)
Lea el siguiente mensaje del protocolo FIX.
- reader
- El lector de datos registrados en el formato de protocolo FIX.
- msgType
- Tipo de mensaje.
- cancellationToken
- CancellationToken
Devuelve: La secuencia de mensajes.
OnWriteAsync
protected override ValueTask<string> OnWriteAsync(IFixWriter writer, Message message, CancellationToken cancellationToken)
result = exanteFixDialect.OnWriteAsync(writer, message, cancellationToken)
Escriba el mensaje especificado en el protocolo FIX.
- writer
- El grabador de datos en el formato de protocolo FIX.
- message
- El mensaje.
- cancellationToken
- Cancelación token.
Devuelve: FixMessagesvalor.
ProcessExecutionReportAsync
protected override IAsyncEnumerable<Message> ProcessExecutionReportAsync(ExecutionReport report, Func<ExecutionReport, ExecutionMessage, CancellationToken, IAsyncEnumerable<ExecutionMessage>> processExecMsg, CancellationToken cancellationToken)
result = exanteFixDialect.ProcessExecutionReportAsync(report, processExecMsg, cancellationToken)
Proceso ExecutionReport instance.
- report
- ExecutionReport instance.
- processExecMsg
- Post handle an ExecutionMessage instance.
- cancellationToken
- CancellationToken
ProcessExecutionReportAsync
protected override IAsyncEnumerable<ExecutionMessage> ProcessExecutionReportAsync(ExecutionReport report, ExecutionMessage message, CancellationToken cancellationToken)
result = exanteFixDialect.ProcessExecutionReportAsync(report, message, cancellationToken)
Proceso ExecutionReport instance.
- report
- ExecutionReport instance.
- message
- ExecutionMessage
- cancellationToken
- CancellationToken