Sets a profit target 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 SetProfitTarget(
	string PosID,
	double target,
	TargetPriceType targetType
)
Visual Basic (Declaration)
Public Sub SetProfitTarget ( _
	PosID As String, _
	target As Double, _
	targetType As TargetPriceType _
)
Visual C++
public:
void SetProfitTarget(
	String^ PosID, 
	double target, 
	TargetPriceType targetType
)

Parameters

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

See Also