WsSubscribeCommand
StockSharp.Ws
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
Count
public long? Count { get; set; }
value = wsSubscribeCommand.Count
wsSubscribeCommand.Count = value
Drahtfeldzahl.
DataType
public string DataType { get; set; }
value = wsSubscribeCommand.DataType
wsSubscribeCommand.DataType = value
Wire Feld dataType.
From
public DateTime? From { get; set; }
value = wsSubscribeCommand.From
wsSubscribeCommand.From = value
Drahtfeld aus (Unix Mikrosekunden).
MaxDepth
public int? MaxDepth { get; set; }
value = wsSubscribeCommand.MaxDepth
wsSubscribeCommand.MaxDepth = value
Wire Feld maxDepth.
PortfolioName
public string PortfolioName { get; set; }
value = wsSubscribeCommand.PortfolioName
wsSubscribeCommand.PortfolioName = value
Wire Feld portfolioName.
SecurityId
public WsSecurityId SecurityId { get; set; }
value = wsSubscribeCommand.SecurityId
wsSubscribeCommand.SecurityId = value
Wire Feld securityId.
States
public string States { get; set; }
value = wsSubscribeCommand.States
wsSubscribeCommand.States = value
Drahtfeldzustände.
TimeFrame
public int? TimeFrame { get; set; }
value = wsSubscribeCommand.TimeFrame
wsSubscribeCommand.TimeFrame = value
Wire Feld timeFrame.
To
public DateTime? To { get; set; }
value = wsSubscribeCommand.To
wsSubscribeCommand.To = value
Drahtfeld zu (Unix Mikrosekunden).
TransactionId
public long TransactionId { get; set; }
value = wsSubscribeCommand.TransactionId
wsSubscribeCommand.TransactionId = value
Wire Feld transactionId.
Type
public string Type { get; set; }
value = wsSubscribeCommand.Type
wsSubscribeCommand.Type = value
Art des Drahtfelds.