Interface IPercentStopOrderCondition
- Namespace
- StockSharp.Messages
- Assembly
- StockSharp.Messages.dll
Optional mixin for stop-order conditions that allow expressing activation/limit/trailing values as percentages instead of absolutes. Server resolves percents to absolute prices at register/trigger time using the last known market price.
public interface IPercentStopOrderCondition
- Extension Methods
Properties
IsActivationPricePercent
When true, ActivationPrice (or ActivationPrice) is a percent of the market price at registration time. The server snapshots the price and stores the resulting absolute trigger.
bool IsActivationPricePercent { get; set; }
Property Value
IsClosePositionPricePercent
When true, ClosePositionPrice (or ClosePositionPrice) is a percent of the activation price; the limit price is computed at trigger time.
bool IsClosePositionPricePercent { get; set; }
Property Value
IsTrailingOffsetPercent
When true, the trailing offset is a percent of the high/low watermark; the stop price is recomputed on each tick.
bool IsTrailingOffsetPercent { get; set; }