GainFuturesFixDialect

StockSharp.Fix.Dialects.GainFutures

Erhalten Futures FIX Protokoll Dialekt.

Erbt von: BaseFixDialect

Konstruktoren

GainFuturesFixDialect
public GainFuturesFixDialect(IdGenerator transactionIdGenerator)
gainFuturesFixDialect = GainFuturesFixDialect(transactionIdGenerator)

Initialisiert eine neue Instanz von GainFuturesFixDialect.

transactionIdGenerator
Transaktions-ID-Generator.

Eigenschaften

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

Mögliche unterstützte Nachrichtentypen.

Methoden

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

Unterstützt werden sie von adapter-nachrichtentypen.

securityId
SecurityId
from
Startdatum für die Anfrage. Wenn , werden alle verfügbaren Nachrichten zurückgegeben.
to
Enddatum der Anfrage: Wenn , werden alle verfügbaren Nachrichten zurückgegeben.

Rückgabe: Unterstützt durch Adapter-Marktdatentypen.

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

Init-Identifikationsnummer des Finanzinstruments.

message
Eine Nachricht mit Informationen über das Finanzinstrument.
symbol
Symbol.
securityExchange
Austausch von Finanzinstrumenten.
idSource
Id-Quelle.
idValue
Id-Wert.
IsAllDownloadingSupported
public override bool IsAllDownloadingSupported(DataType dataType)
result = gainFuturesFixDialect.IsAllDownloadingSupported(dataType)

Ist für die angegebenen alle Finanzinstrumente Download aktiviert.

dataType
Datenart-Info.

Rückgabe: Prüfergebnis.

OnReadAsync
protected override IAsyncEnumerable<Message> OnReadAsync(IFixReader reader, string msgType, CancellationToken cancellationToken)
result = gainFuturesFixDialect.OnReadAsync(reader, msgType, cancellationToken)

Lesen Sie die nächste Nachricht aus dem FIX-Protokoll.

reader
Der Leseer der im FIX-Protokollformat aufgezeichneten Daten.
msgType
Art der Meldung.
cancellationToken
CancellationToken

Rückgabe: Die Abfolge der Nachrichten.

OnReset
protected override void OnReset()
gainFuturesFixDialect.OnReset()

Zustand zurücksetzen.

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

Schreiben Sie die angegebene Nachricht in das FIX-Protokoll.

writer
Der Datenschreiber im FIX-Protokollformat.
message
Die Botschaft.
cancellationToken
Löschungszeichen.

Rückgabe: FixMessages Wert.

PortfolioLookupAsync
protected override ValueTask PortfolioLookupAsync(PortfolioLookupMessage lookupMsg, CancellationToken cancellationToken)
result = gainFuturesFixDialect.PortfolioLookupAsync(lookupMsg, cancellationToken)
ProcessExecutionReportAsync
protected override IAsyncEnumerable<ExecutionMessage> ProcessExecutionReportAsync(ExecutionReport report, ExecutionMessage message, CancellationToken cancellationToken)
result = gainFuturesFixDialect.ProcessExecutionReportAsync(report, message, cancellationToken)

Verarbeiten Sie ExecutionReport Instanz.

report
ExecutionReport Instanz.
message
ExecutionMessage
cancellationToken
CancellationToken
ProcessExecutionReportExtraTagAsync
protected override ValueTask<bool> ProcessExecutionReportExtraTagAsync(FixTags tag, IFixReader reader, ExecutionReport report, CancellationToken cancellationToken)
result = gainFuturesFixDialect.ProcessExecutionReportExtraTagAsync(tag, reader, report, cancellationToken)

Verarbeiten Sie zusätzliche Tags für ExecutionReport.

tag
Markierung.
reader
Der Leseer der im FIX-Protokollformat aufgezeichneten Daten.
report
Ausführungsbericht.
cancellationToken
CancellationToken

Rückgabe: Ergebnis.

ProcessSecurityDefinitionAsync
protected override ValueTask<bool> ProcessSecurityDefinitionAsync(FixTags tag, IFixReader reader, SecurityMessage message, CancellationToken cancellationToken)
result = gainFuturesFixDialect.ProcessSecurityDefinitionAsync(tag, reader, message, cancellationToken)

Verarbeiten Sie SecurityDefinition @ Nachricht.

tag
Markierung.
reader
Der Leseer der im FIX-Protokollformat aufgezeichneten Daten.
message
Eine Nachricht mit Informationen über das Finanzinstrument.
cancellationToken
CancellationToken

Rückgabe: Verarbeitungsergebnis.