IProtectiveBehaviour

StockSharp.Algo.Strategies.Protective

Position protection behaviour.

Implementiert: ILogSource, IDisposable

Eigenschaften

Position : decimal

Current position value.

Methoden

TryActivate(decimal, DateTime) : ValueTuple?<bool, Sides, decimal, decimal, OrderCondition>

Try activate protection.

price
Current price.
time
Current time.

Rückgabe: 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.

Rückgabe: Registration order info.