IProtectivePositionController

StockSharp.Algo.Strategies.Protective

Protective controller for the specified position.

Свойства

PortfolioName : string

Portfolio name.

Position : decimal

Current position value.

SecurityId : SecurityId

SecurityId

Методы

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

Try activate local stop orders.

price
Current price.
time
Current time.

Возвращает: 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.

Возвращает: Registration order info.