IProtectivePositionController

StockSharp.Algo.Strategies.Protective

Protective controller for the specified position.

Eigenschaften

PortfolioName : string

Portfolio name.

Position : decimal

Current position value.

SecurityId : SecurityId

SecurityId

Methoden

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

Try activate local stop orders.

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.