WsSubscribeCommand

StockSharp.Ws

「type」 の「subscribe」コマンドで、JSON のシングルシェイプは、DataType フィールドから選択された 3 つの異なる StockSharp のルックアップ/サブスクライブメッセージをカバーします。DataType フィールド:「Transactions」 → OrderStatusMessage 、PositionChanges の「PortfolioLookupMessage」 → MarketDataMessage = で選択されます。すべてのプロパティは、すべてのブランチで意味がありますが、OrderStatusMessageS3TOKEN とS7 は、S7 サブケン と それぞれ同じくS7 をそれぞれに渡します。

プロパティ

Count
public long? Count { get; set; }
value = wsSubscribeCommand.Count
wsSubscribeCommand.Count = value

ワイヤー フィールドの計算。

DataType
public string DataType { get; set; }
value = wsSubscribeCommand.DataType
wsSubscribeCommand.DataType = value

ワイヤフィールドdataType@

From
public DateTime? From { get; set; }
value = wsSubscribeCommand.From
wsSubscribeCommand.From = value

ワイヤフィールド(単xマイクロ秒)

MaxDepth
public int? MaxDepth { get; set; }
value = wsSubscribeCommand.MaxDepth
wsSubscribeCommand.MaxDepth = value

ワイヤフィールドmaxDepth@

PortfolioName
public string PortfolioName { get; set; }
value = wsSubscribeCommand.PortfolioName
wsSubscribeCommand.PortfolioName = value

ワイヤフィールドportfolioName@

SecurityId
public WsSecurityId SecurityId { get; set; }
value = wsSubscribeCommand.SecurityId
wsSubscribeCommand.SecurityId = value

ワイヤフィールドsecurityId@

States
public string States { get; set; }
value = wsSubscribeCommand.States
wsSubscribeCommand.States = value

ワイヤー フィールドの状態。

TimeFrame
public int? TimeFrame { get; set; }
value = wsSubscribeCommand.TimeFrame
wsSubscribeCommand.TimeFrame = value

ワイヤフィールドtimeFrame@

To
public DateTime? To { get; set; }
value = wsSubscribeCommand.To
wsSubscribeCommand.To = value

ワイヤーフィールドから(unixマイクロ秒)。

TransactionId
public long TransactionId { get; set; }
value = wsSubscribeCommand.TransactionId
wsSubscribeCommand.TransactionId = value

ワイヤフィールドtransactionId@

Type
public string Type { get; set; }
value = wsSubscribeCommand.Type
wsSubscribeCommand.Type = value

ワイヤー フィールドのタイプ。

メソッド

ToMessage
public Message ToMessage()
result = wsSubscribeCommand.ToMessage()

代表取締役社長 佐藤 浩