Sets a stop loss for the position with the specified ID.

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

Syntax

C#
public void SetStopLoss(
	string PosID,
	double target,
	TargetPriceType targetType
)
Visual Basic
Public Sub SetStopLoss ( 
	PosID As String,
	target As Double,
	targetType As TargetPriceType
)
Visual C++
public:
void SetStopLoss(
	String^ PosID, 
	double target, 
	TargetPriceType targetType
)
F#
member SetStopLoss : 
        PosID : string * 
        target : float * 
        targetType : TargetPriceType -> unit 

Parameters

PosID
Type: System..::..String
string containing the unique ID for this Position
target
Type: System..::..Double
The stop loss value.
targetType
Type: RightEdge.Common..::..TargetPriceType
The stop loss type.

See Also