IProtectiveBehaviourFactory

StockSharp.Algo.Strategies.Protective

IProtectiveBehaviour factory.

Métodos

Create(Unit, Unit, bool, TimeSpan, TimeSpan, bool) : IProtectiveBehaviour

Create IProtectiveBehaviour

takeValue
Take offset.
stopValue
Stop offset.
isStopTrailing
Whether to use a trailing technique.
takeTimeout
Time limit. If protection has not worked by this time, the position will be closed on the market.
stopTimeout
Time limit. If protection has not worked by this time, the position will be closed on the market.
useMarketOrders
Whether to use market orders.

Retorna: IProtectiveBehaviour