WsUnsubscribeCommand

StockSharp.Ws

Wire DTO for the "type": "unsubscribe" command. Currently maps to MarketDataMessage with IsSubscribe = false — the server fans the unsubscribe out by matching originalTransactionId to the subscription it owns.

Properties

OriginalTransactionId
public long OriginalTransactionId { get; set; }
value = wsUnsubscribeCommand.OriginalTransactionId
wsUnsubscribeCommand.OriginalTransactionId = value

Wire field originalTransactionId.

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

Wire field securityId.

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

Wire field transactionId.

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

Wire field type.

Methods

ToMessage
public MarketDataMessage ToMessage()
result = wsUnsubscribeCommand.ToMessage()

ToMessage.