WsSubscribeCommand
StockSharp.Ws
Wire DTO for the "type": "subscribe" command. A single JSON shape covers three distinct StockSharp lookup/subscribe messages, picked by the DataType field: "Transactions" → OrderStatusMessage, "PositionChanges" → PortfolioLookupMessage, anything else → MarketDataMessage with IsSubscribe = true. Not every property is meaningful in every branch — the DTO just carries them all and ToMessage picks the right subset.
Свойства
PortfolioName : string
Wire field portfolioName.
SecurityId : WsSecurityId
Wire field securityId.
TransactionId : long
Wire field transactionId.