IProtectiveBehaviour
StockSharp.Algo.Strategies.Protective
Position protection behaviour.
Implements: ILogSource, IDisposable
Properties
Methods
TryActivate(decimal, DateTime) : ValueTuple?<bool, Sides, decimal, decimal, OrderCondition>
Try activate protection.
- price
- Current price.
- time
- Current time.
Returns: Registration order info.
Update(decimal, decimal, DateTime) : ValueTuple?<bool, Sides, decimal, decimal, OrderCondition>
Update position difference.
- price
- Position difference price.
- value
- Position difference value.
- time
- Current time.
Returns: Registration order info.