Click or drag to resize

AutoProtectiveStrategyProtect Method (MyTrade, Decimal)

Protect position.

Namespace:  StockSharp.Algo.Strategies.Protective
Assembly:  StockSharp.Algo.Strategies (in StockSharp.Algo.Strategies.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
protected virtual Strategy Protect(
	MyTrade trade,
	decimal volume
)

Parameters

trade
Type: StockSharp.BusinessEntitiesMyTrade
The protected trade.
volume
Type: SystemDecimal
Volume to be protected is specified by the value.

Return Value

Type: Strategy
Protective strategy.
See Also