Sets the profit target for this position.

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

Syntax

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

Parameters

profitTarget
Type: System..::..Double
The value of the profit target.
profitTargetType
Type: RightEdge.Common..::..TargetPriceType
Specifies whether the value should be interpreted as a fixed price or as a percentage gain.

See Also