WsSubscribeCommand

StockSharp.Ws

用于"类型"的电线: “ 订阅” 命令 。 一个 JSON 形状包含三个不同的 StockSharp 查找/订阅信件, 由 DataType 域选择: “ 交易” = OrderStatusMessage, “ PositionChanges ” = PortfolioLookupMessage, 其他任何信息 = MarketDataMessage 和 IsSubscribe = true 。 并非所有属性都有意义 。 数据和技术只是全部带回, 而 ToMessage 选择了正确的子集 。

属性

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

线地数.

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

Wire field dataType.

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

电线场来自( unix microseconds) 。

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

Wire field maxDepth.

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

Wire field portfolioName.

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

Wire field 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

Wire field timeFrame.

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

线场到( unix microseconds) 。

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

Wire field transactionId.

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

电线场类型.

方法

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

ToMessage.