BotmodifyPositionByIndex Method
Modifies stops of position with specified index
Namespace: SharpTraderBotAssembly: SharpTraderBot (in SharpTraderBot.dll) Version: 1.0.0
public bool modifyPositionByIndex(
int index,
double SL,
double TP
)
Public Function modifyPositionByIndex (
index As Integer,
SL As Double,
TP As Double
) As Boolean
public:
bool modifyPositionByIndex(
int index,
double SL,
double TP
)
member modifyPositionByIndex :
index : int *
SL : float *
TP : float -> bool
- index Int32
- Index of the postion in openedPositions
- SL Double
- New stoploss
- TP Double
- New takepofit
BooleanResult of modification