WsSubscribeCommand
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
public long? Count { get; set; }
value = wsSubscribeCommand.Count
wsSubscribeCommand.Count = value
Contagem de campos de arame.
public string DataType { get; set; }
value = wsSubscribeCommand.DataType
wsSubscribeCommand.DataType = value
Campo de arame dataType.
public DateTime? From { get; set; }
value = wsSubscribeCommand.From
wsSubscribeCommand.From = value
Campo de fio de (microssegundos unix).
public int? MaxDepth { get; set; }
value = wsSubscribeCommand.MaxDepth
wsSubscribeCommand.MaxDepth = value
Campo de arame maxDepth.
public long? PortfolioId { get; set; }
value = wsSubscribeCommand.PortfolioId
wsSubscribeCommand.PortfolioId = value
Wire field portfolioId — the portfolio primary key (broker PK). Optional and additive; see PortfolioId. Meaningful only for the portfolio-scoped lookups (Transactions / PositionChanges).
public string PortfolioName { get; set; }
value = wsSubscribeCommand.PortfolioName
wsSubscribeCommand.PortfolioName = value
Campo de arame portfolioName.
public WsSecurityId SecurityId { get; set; }
value = wsSubscribeCommand.SecurityId
wsSubscribeCommand.SecurityId = value
Campo de arame securityId.
public string States { get; set; }
value = wsSubscribeCommand.States
wsSubscribeCommand.States = value
Estações de campo de escuta.
public int? TimeFrame { get; set; }
value = wsSubscribeCommand.TimeFrame
wsSubscribeCommand.TimeFrame = value
Campo de arame timeFrame.
public DateTime? To { get; set; }
value = wsSubscribeCommand.To
wsSubscribeCommand.To = value
Campo de fio para (microssegundos unix).
public long TransactionId { get; set; }
value = wsSubscribeCommand.TransactionId
wsSubscribeCommand.TransactionId = value
Campo de arame transactionId.
public string Type { get; set; }
value = wsSubscribeCommand.Type
wsSubscribeCommand.Type = value
Tipo de campo de arame.