Sets the stop loss for this position.
Namespace:
RightEdge.CommonAssembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)
Syntax
| C# |
|---|
public void SetStopLoss( double stopLoss, TargetPriceType stopLossType ) |
| Visual Basic (Declaration) |
|---|
Public Sub SetStopLoss ( _ stopLoss As Double, _ stopLossType As TargetPriceType _ ) |
| Visual C++ |
|---|
public: void SetStopLoss( double stopLoss, TargetPriceType stopLossType ) |
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.