Sets the stop loss for this position.

Namespace: RightEdge.Common
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
public void SetStopLoss(
	double stopLoss,
	TargetPriceType stopLossType
)
Visual Basic
Public Sub SetStopLoss ( 
	stopLoss As Double,
	stopLossType As TargetPriceType
)
Visual C++
public:
void SetStopLoss(
	double stopLoss, 
	TargetPriceType stopLossType
)
F#
member SetStopLoss : 
        stopLoss : float * 
        stopLossType : TargetPriceType -> unit 

Parameters

stopLoss
Type: System..::..Double
The value of the stop loss.
stopLossType
Type: RightEdge.Common..::..TargetPriceType
Specifies whether the value should be interpreted as a fixed price or as a percentage loss.

See Also