IProtectiveBehaviourFactory

StockSharp.Algo.Strategies.Protective

IProtectiveBehaviour factory.

方法

Create
public IProtectiveBehaviour Create(Unit takeValue, Unit stopValue, bool isStopTrailing, TimeSpan takeTimeout, TimeSpan stopTimeout, bool useMarketOrders)
result = iProtectiveBehaviourFactory.Create(takeValue, stopValue, isStopTrailing, takeTimeout, stopTimeout, useMarketOrders)

Create IProtectiveBehaviour

takeValue
纽约
stopValue
缩写为A/C.5/60/L.
isStopTrailing
是否使用跟踪技术 。
takeTimeout
限时 保护到此时尚未奏效的,该地站将上市关闭.
stopTimeout
限时 保护到此时尚未奏效的,该地站将上市关闭.
useMarketOrders
是否使用市场订单.

返回值: IProtectiveBehaviour