LuaFixDialect
StockSharp.Fix.Quik.Lua
QUIK Lua FIXプロトコルの文字盤。
継承元: DefaultFixDialect
コンストラクター
LuaFixDialect
public LuaFixDialect(IdGenerator transactionIdGenerator)
luaFixDialect = LuaFixDialect(transactionIdGenerator)
LuaFixDialect の新規インスタンスを初期化します。
- transactionIdGenerator
- トランザクションIDジェネレータ。
プロパティ
AllTimeFrames
public static IEnumerable<TimeSpan> AllTimeFrames { get; }
value = LuaFixDialect.AllTimeFrames
タイムフレームの対応が可能
ExtraSetup
public override bool ExtraSetup { get; }
value = luaFixDialect.ExtraSetup
アダプターは、追加のセットアップが必要です。
OrderConditionType
public override Type OrderConditionType { get; }
value = luaFixDialect.OrderConditionType
型式:OrderCondition@
PossibleSupportedMessages
public override IEnumerable<MessageTypeInfo> PossibleSupportedMessages { get; }
value = luaFixDialect.PossibleSupportedMessages
対応可能なメッセージタイプ。
メソッド
GetSupportedMarketDataTypesAsync
public override IAsyncEnumerable<DataType> GetSupportedMarketDataTypesAsync(SecurityId securityId, DateTime? from, DateTime? to)
result = luaFixDialect.GetSupportedMarketDataTypesAsync(securityId, from, to)
アダプターメッセージタイプでサポートを受ける
- securityId
- 担当: 佐藤 宏
- from
- リクエストの開始日。 場合は、利用可能なすべてのメッセージが返されます。
- to
- リクエストの終了日。 場合、利用可能なすべてのメッセージが返されます。
戻り値: アダプター市場データ型で対応
IsAllDownloadingSupported
public override bool IsAllDownloadingSupported(DataType dataType)
result = luaFixDialect.IsAllDownloadingSupported(dataType)
対象となる全ての金融商品のダウンロードは有効です。
- dataType
- データ型情報。
戻り値: 結果をチェックする。
ReadOrderConditionAsync
protected override ValueTask<bool> ReadOrderConditionAsync(IFixReader reader, FixTags tag, Func<OrderCondition> getCondition, CancellationToken cancellationToken)
result = luaFixDialect.ReadOrderConditionAsync(reader, tag, getCondition, cancellationToken)
代表取締役社長 佐藤 浩一
- reader
- リーダー。
- tag
- キーワード
- getCondition
- ハンドラ。
- cancellationToken
- キャンセルトークン。
戻り値: タグが扱われた場合、タグが不明な場合。
WriteOrderConditionAsync
protected override ValueTask WriteOrderConditionAsync(IFixWriter writer, OrderCondition condition, CancellationToken cancellationToken)
result = luaFixDialect.WriteOrderConditionAsync(writer, condition, cancellationToken)
注文条件でデータを記録する。
- writer
- FIXデータライター。
- condition
- 注文条件(e.g.、停止およびalgo-の発注変数)。
- cancellationToken
- キャンセルトークン。