WsOrderGroupCancel

StockSharp.Ws

DTO for OrderGroupCancelMessage — a portfolio-scoped cancel-all with optional filters (side / security / isStop). PortfolioName is required; the absence of securityId / side / isStop widens the cancel to every match.

Properties

IsStop
public bool? IsStop { get; set; }
value = wsOrderGroupCancel.IsStop
wsOrderGroupCancel.IsStop = value

Wire field isStop.

PortfolioName
public string PortfolioName { get; set; }
value = wsOrderGroupCancel.PortfolioName
wsOrderGroupCancel.PortfolioName = value

Wire field portfolioName.

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

Wire field securityId.

Side
public Sides? Side { get; set; }
value = wsOrderGroupCancel.Side
wsOrderGroupCancel.Side = value

Wire field side.

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

Wire field transactionId.

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

Wire field type.

Methods

From
public static WsOrderGroupCancel From(OrderGroupCancelMessage msg)
result = WsOrderGroupCancel.From(msg)

From.

ToMessage
public OrderGroupCancelMessage ToMessage()
result = wsOrderGroupCancel.ToMessage()

ToMessage.