WsSubscribeCommand

StockSharp.Ws

DTO de alambre para el comando "tipo": "subscribe". Una sola forma JSON cubre tres mensajes distintos de búsqueda y suscripción StockSharp, seleccionados por el campo DataType: "Transacciones" → OrderStatusMessage, " PositionChanges " → PortfolioLookupMessage, cualquier otra cosa → MarketDataMessage con IsSubscribe = verdadero. No todas las propiedades son significativas en cada rama — el DTO sólo las lleva a todos y ToMessage elige el subconjunto derecho.

Propiedades

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

Cuenta de campo de alambre.

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

Campo de cable dataType@.

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

Campo de alambre de (unix microsegundos).

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

Campo de cable maxDepth@.

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

Campo de cable portfolioName@.

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

Campo de cable securityId@.

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

estados de campo de alambre.

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

Campo de cable timeFrame@.

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

Campo de alambre a (unix microsegundos).

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

Campo de cable transactionId@.

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

Tipo de campo de alambre.

Métodos

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

ToMessage.