WsTakeProfitCondition
StockSharp.Ws
Take-profit condition created from WS JSON fields (stopPrice, limitPrice).
Inherits: OrderCondition
Implements: ITakeProfitOrderCondition
Properties
ActivationPrice
public decimal? ActivationPrice { get; set; }
value = wsTakeProfitCondition.ActivationPrice
wsTakeProfitCondition.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 = wsTakeProfitCondition.ClosePositionPrice
wsTakeProfitCondition.ClosePositionPrice = value
Close position price. means close by market.