StopOrderInfo

StockSharp.MatchingEngine

Stop order information.

Properties

BestSeenPrice
public decimal? BestSeenPrice { get; set; }
value = stopOrderInfo.BestSeenPrice
stopOrderInfo.BestSeenPrice = value

Best seen price for trailing stop (max for sell, min for buy).

InvertTrigger
public bool InvertTrigger { get; set; }
value = stopOrderInfo.InvertTrigger
stopOrderInfo.InvertTrigger = value

When , trigger logic is inverted (TakeProfit mode): Buy triggers when price <= StopPrice, Sell triggers when price >= StopPrice.

IsLimitPricePercent
public bool IsLimitPricePercent { get; set; }
value = stopOrderInfo.IsLimitPricePercent
stopOrderInfo.IsLimitPricePercent = value

When , LimitPrice is a percent of StopPrice; the absolute limit price is computed at trigger time (Buy: stop*(1+pct/100), Sell: stop*(1-pct/100)).

IsTrailing
public bool IsTrailing { get; set; }
value = stopOrderInfo.IsTrailing
stopOrderInfo.IsTrailing = value

Whether this is a trailing stop.

IsTrailingOffsetPercent
public bool IsTrailingOffsetPercent { get; set; }
value = stopOrderInfo.IsTrailingOffsetPercent
stopOrderInfo.IsTrailingOffsetPercent = value

When , TrailingOffset is a percent of the high/low watermark; the stop price is recomputed on each tick as Sell: high*(1-pct/100), Buy: low*(1+pct/100).

LimitPrice
public decimal? LimitPrice { get; set; }
value = stopOrderInfo.LimitPrice
stopOrderInfo.LimitPrice = value

Limit price for stop-limit orders. means market order.

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

Portfolio name.

SecurityId
public SecurityId SecurityId { get; set; }
value = stopOrderInfo.SecurityId
stopOrderInfo.SecurityId = value

Security ID.

Side
public Sides Side { get; set; }
value = stopOrderInfo.Side
stopOrderInfo.Side = value

Order side.

StopPrice
public decimal StopPrice { get; set; }
value = stopOrderInfo.StopPrice
stopOrderInfo.StopPrice = value

Stop activation price.

TrailingOffset
public decimal? TrailingOffset { get; set; }
value = stopOrderInfo.TrailingOffset
stopOrderInfo.TrailingOffset = value

Trailing offset from extremum.

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

Transaction ID.

Volume
public decimal Volume { get; set; }
value = stopOrderInfo.Volume
stopOrderInfo.Volume = value

Order volume.