WsOrderCancel
StockSharp.Ws
DTO for OrderCancelMessage. Fields optional: clients typically send only one of orderId / orderStringId; the server may echo back transactional state (balance, volume, side, orderType).
Properties
Balance
public decimal? Balance { get; set; }
value = wsOrderCancel.Balance
wsOrderCancel.Balance = value
Wire field balance.
OrderId
public long? OrderId { get; set; }
value = wsOrderCancel.OrderId
wsOrderCancel.OrderId = value
Wire field orderId.
OrderStringId
public string OrderStringId { get; set; }
value = wsOrderCancel.OrderStringId
wsOrderCancel.OrderStringId = value
Wire field orderStringId.
OrderType
public OrderTypes? OrderType { get; set; }
value = wsOrderCancel.OrderType
wsOrderCancel.OrderType = value
Wire field orderType.
OriginalTransactionId
public long OriginalTransactionId { get; set; }
value = wsOrderCancel.OriginalTransactionId
wsOrderCancel.OriginalTransactionId = value
Wire field originalTransactionId.
PortfolioName
public string PortfolioName { get; set; }
value = wsOrderCancel.PortfolioName
wsOrderCancel.PortfolioName = value
Wire field portfolioName.
SecurityId
public WsSecurityId SecurityId { get; set; }
value = wsOrderCancel.SecurityId
wsOrderCancel.SecurityId = value
Wire field securityId.
Side
public Sides? Side { get; set; }
value = wsOrderCancel.Side
wsOrderCancel.Side = value
Wire field side.
TransactionId
public long TransactionId { get; set; }
value = wsOrderCancel.TransactionId
wsOrderCancel.TransactionId = value
Wire field transactionId.
Type
public string Type { get; set; }
value = wsOrderCancel.Type
wsOrderCancel.Type = value
Wire field type.
Volume
public decimal? Volume { get; set; }
value = wsOrderCancel.Volume
wsOrderCancel.Volume = value
Wire field volume.
Methods
From
public static WsOrderCancel From(OrderCancelMessage msg)
result = WsOrderCancel.From(msg)
From.