IProtectivePositionController
StockSharp.Algo.Strategies.Protective
Protective controller for the specified position.
Propriedades
PortfolioName : string
Portfolio name.
SecurityId : SecurityId
SecurityId
Métodos
TryActivate(decimal, DateTime) : ValueTuple?<bool, Sides, decimal, decimal, OrderCondition>
Try activate local stop orders.
- price
- Current price.
- time
- Current time.
Retorna: 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.
Retorna: Registration order info.