WsSubscribeCommand
StockSharp.Ws
DTO fio para o "tipo": "assinalar". Uma única forma JSON cobre três mensagens de procura/assinatura StockSharp distintas, escolhidas pelo campo DataType: "Transações" → OrderStatusMessage, " PositionChanges " → PortfolioLookupMessage, qualquer outra coisa → MarketDataMessage com IsSubscribe = true. Nem toda propriedade é significativa em cada ramo — o DTO apenas carrega todos eles e ToMessage escolhe o subconjunto certo.
Propriedades
Count
public long? Count { get; set; }
value = wsSubscribeCommand.Count
wsSubscribeCommand.Count = value
Contagem de campos de arame.
DataType
public string DataType { get; set; }
value = wsSubscribeCommand.DataType
wsSubscribeCommand.DataType = value
Campo de arame dataType.
From
public DateTime? From { get; set; }
value = wsSubscribeCommand.From
wsSubscribeCommand.From = value
Campo de fio de (microssegundos unix).
MaxDepth
public int? MaxDepth { get; set; }
value = wsSubscribeCommand.MaxDepth
wsSubscribeCommand.MaxDepth = value
Campo de arame maxDepth.
PortfolioName
public string PortfolioName { get; set; }
value = wsSubscribeCommand.PortfolioName
wsSubscribeCommand.PortfolioName = value
Campo de arame portfolioName.
SecurityId
public WsSecurityId SecurityId { get; set; }
value = wsSubscribeCommand.SecurityId
wsSubscribeCommand.SecurityId = value
Campo de arame securityId.
States
public string States { get; set; }
value = wsSubscribeCommand.States
wsSubscribeCommand.States = value
Estações de campo de escuta.
TimeFrame
public int? TimeFrame { get; set; }
value = wsSubscribeCommand.TimeFrame
wsSubscribeCommand.TimeFrame = value
Campo de arame timeFrame.
To
public DateTime? To { get; set; }
value = wsSubscribeCommand.To
wsSubscribeCommand.To = value
Campo de fio para (microssegundos unix).
TransactionId
public long TransactionId { get; set; }
value = wsSubscribeCommand.TransactionId
wsSubscribeCommand.TransactionId = value
Campo de arame transactionId.
Type
public string Type { get; set; }
value = wsSubscribeCommand.Type
wsSubscribeCommand.Type = value
Tipo de campo de arame.