WsStopLossCondition

StockSharp.Ws

Stop-loss condition created from WS JSON fields (stopPrice, limitPrice).

Inherits: OrderCondition

Implements: IStopLossOrderCondition

Properties

ActivationPrice
public decimal? ActivationPrice { get; set; }
value = wsStopLossCondition.ActivationPrice
wsStopLossCondition.ActivationPrice = value

The absolute value of the price when the one is reached the protective strategy is activated.

ClosePositionPrice
public decimal? ClosePositionPrice { get; set; }
value = wsStopLossCondition.ClosePositionPrice
wsStopLossCondition.ClosePositionPrice = value

Close position price. means close by market.

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

Trailing stop-loss.

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

Trailing offset from best seen price.