WsSubscribeCommand
Wire DTO für den "Typ": "Abonnement" Befehl. Ein einzelnes JSON-Formular deckt drei verschiedene StockSharp Lookup/Abonnement-Nachrichten ab, die vom DataType Feld ausgewählt werden: "Transaktionen" → OrderStatusMessage, "PositionChanges" → PortfolioLookupMessage, alles andere → MarketDataMessage mit IsSubscribe=true. Nicht jede Eigenschaft ist in jedem Zweig sinnvoll - der DTO trägt sie alle und ToMessage wählt die richtige Teilmenge aus.
Eigenschaften
public long? Count { get; set; }
value = wsSubscribeCommand.Count
wsSubscribeCommand.Count = value
Drahtfeldzahl.
public string DataType { get; set; }
value = wsSubscribeCommand.DataType
wsSubscribeCommand.DataType = value
Wire Feld dataType.
public DateTime? From { get; set; }
value = wsSubscribeCommand.From
wsSubscribeCommand.From = value
Drahtfeld aus (Unix Mikrosekunden).
public int? MaxDepth { get; set; }
value = wsSubscribeCommand.MaxDepth
wsSubscribeCommand.MaxDepth = value
Wire Feld 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
Wire Feld portfolioName.
public WsSecurityId SecurityId { get; set; }
value = wsSubscribeCommand.SecurityId
wsSubscribeCommand.SecurityId = value
Wire Feld securityId.
public string States { get; set; }
value = wsSubscribeCommand.States
wsSubscribeCommand.States = value
Drahtfeldzustände.
public int? TimeFrame { get; set; }
value = wsSubscribeCommand.TimeFrame
wsSubscribeCommand.TimeFrame = value
Wire Feld timeFrame.
public DateTime? To { get; set; }
value = wsSubscribeCommand.To
wsSubscribeCommand.To = value
Drahtfeld zu (Unix Mikrosekunden).
public long TransactionId { get; set; }
value = wsSubscribeCommand.TransactionId
wsSubscribeCommand.TransactionId = value
Wire Feld transactionId.
public string Type { get; set; }
value = wsSubscribeCommand.Type
wsSubscribeCommand.Type = value
Art des Drahtfelds.