GainFuturesFixDialect

StockSharp.Fix.Dialects.GainFutures

先物FIXプロトコルのダイアレクトを獲得。

継承元: BaseFixDialect

コンストラクター

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

GainFuturesFixDialect の新規インスタンスを初期化します。

transactionIdGenerator
トランザクションIDジェネレータ。

プロパティ

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

対応可能なメッセージタイプ。

メソッド

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

アダプターメッセージタイプでサポートを受ける

securityId
担当: 佐藤 宏
from
リクエストの開始日。 場合は、利用可能なすべてのメッセージが返されます。
to
リクエストの終了日。 場合、利用可能なすべてのメッセージが返されます。

戻り値: アダプター市場データ型で対応

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

金融商品ID情報

message
金融商品に関する情報を含むメッセージ。
symbol
シンボル。
securityExchange
金融商品取引取引所。
idSource
id ソース。
idValue
id 値。
IsAllDownloadingSupported
public override bool IsAllDownloadingSupported(DataType dataType)
result = gainFuturesFixDialect.IsAllDownloadingSupported(dataType)

対象となる全ての金融商品のダウンロードは有効です。

dataType
データ型情報。

戻り値: 結果をチェックする。

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

FIXプロトコルから次のメッセージを読みます。

reader
FIXプロトコル形式で記録されたデータのリーダー。
msgType
メッセージタイプ。
cancellationToken
担当: 佐藤 宏

戻り値: メッセージのシーケンス。

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

リセット状態。

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

指定したメッセージを FIX プロトコルに書き込む。

writer
FIXプロトコルのフォーマットでのデータレコーダー。
message
メッセージを送信する
cancellationToken
キャンセルトークン。

戻り値: 担当: 佐藤 浩一

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)

プロセス@ExecutionReport@インスタンス。

report
ExecutionReport インスタンス。
message
担当: 佐藤 宏
cancellationToken
担当: 佐藤 宏
ProcessExecutionReportExtraTagAsync
protected override ValueTask<bool> ProcessExecutionReportExtraTagAsync(FixTags tag, IFixReader reader, ExecutionReport report, CancellationToken cancellationToken)
result = gainFuturesFixDialect.ProcessExecutionReportExtraTagAsync(tag, reader, report, cancellationToken)

加工タグExecutionReport@

tag
キーワード
reader
FIXプロトコル形式で記録されたデータのリーダー。
report
実行レポート。
cancellationToken
担当: 佐藤 宏

戻り値: 結果一覧

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

Process SecurityDefinition message.

tag
キーワード
reader
FIXプロトコル形式で記録されたデータのリーダー。
message
金融商品に関する情報を含むメッセージ。
cancellationToken
担当: 佐藤 宏

戻り値: 処理結果。