SwissQuoteFixDialect
StockSharp.Fix.Dialects
SwissQuoteFIXプロトコルダイヤル
継承元: BaseFixDialect
コンストラクター
SwissQuoteFixDialect
public SwissQuoteFixDialect(IdGenerator transactionIdGenerator)
swissQuoteFixDialect = SwissQuoteFixDialect(transactionIdGenerator)
SwissQuoteFixDialect の新規インスタンスを初期化します。
- transactionIdGenerator
- トランザクションIDジェネレータ。
プロパティ
FeatureName
public override string FeatureName { get; }
value = swissQuoteFixDialect.FeatureName
フィーチャー名。
LoginAsPortfolioName
protected override bool LoginAsPortfolioName { get; }
value = swissQuoteFixDialect.LoginAsPortfolioName
ポートフォリオ名としてログインしてください。
PossibleSupportedMessages
public override IEnumerable<MessageTypeInfo> PossibleSupportedMessages { get; }
value = swissQuoteFixDialect.PossibleSupportedMessages
対応可能なメッセージタイプ。
SupportedOrderBookDepths
public override IEnumerable<int> SupportedOrderBookDepths { get; }
value = swissQuoteFixDialect.SupportedOrderBookDepths
Available options for MaxDepth.
メソッド
GetOrderState
protected override OrderStates? GetOrderState(ExecutionReport report)
result = swissQuoteFixDialect.GetOrderState(report)
Convert OrdStatus to OrderStates value.
- report
- 担当: 佐藤 浩一
戻り値: 担当: 佐藤 浩一
GetSupportedMarketDataTypesAsync
public override IAsyncEnumerable<DataType> GetSupportedMarketDataTypesAsync(SecurityId securityId, DateTime? from, DateTime? to)
result = swissQuoteFixDialect.GetSupportedMarketDataTypesAsync(securityId, from, to)
アダプターメッセージタイプでサポートを受ける
- securityId
- 担当: 佐藤 宏
- from
- リクエストの開始日。 場合は、利用可能なすべてのメッセージが返されます。
- to
- リクエストの終了日。 場合、利用可能なすべてのメッセージが返されます。
戻り値: アダプター市場データ型で対応
OnReadAsync
protected override IAsyncEnumerable<Message> OnReadAsync(IFixReader reader, string msgType, CancellationToken cancellationToken)
result = swissQuoteFixDialect.OnReadAsync(reader, msgType, cancellationToken)
FIXプロトコルから次のメッセージを読みます。
- reader
- FIXプロトコル形式で記録されたデータのリーダー。
- msgType
- メッセージタイプ。
- cancellationToken
- 担当: 佐藤 宏
戻り値: メッセージのシーケンス。
OnWriteAsync
protected override ValueTask<string> OnWriteAsync(IFixWriter writer, Message message, CancellationToken cancellationToken)
result = swissQuoteFixDialect.OnWriteAsync(writer, message, cancellationToken)
指定したメッセージを FIX プロトコルに書き込む。
- writer
- FIXプロトコルのフォーマットでのデータレコーダー。
- message
- メッセージを送信する
- cancellationToken
- キャンセルトークン。
戻り値: 担当: 佐藤 浩一
ProcessExecutionReportAsync
protected override IAsyncEnumerable<Message> ProcessExecutionReportAsync(ExecutionReport report, Func<ExecutionReport, ExecutionMessage, CancellationToken, IAsyncEnumerable<ExecutionMessage>> processExecMsg, CancellationToken cancellationToken)
result = swissQuoteFixDialect.ProcessExecutionReportAsync(report, processExecMsg, cancellationToken)
プロセス@ExecutionReport@インスタンス。
- report
- ExecutionReport インスタンス。
- processExecMsg
- 投稿は@ExecutionMessageインスタンスを処理します。
- cancellationToken
- 担当: 佐藤 宏
SecurityLookupAsync
protected override ValueTask SecurityLookupAsync(SecurityLookupMessage lookupMsg, CancellationToken cancellationToken)
result = swissQuoteFixDialect.SecurityLookupAsync(lookupMsg, cancellationToken)