BotmodifyPositionByID Method
Modifies stops of position with specified id
Namespace: SharpTraderBotAssembly: SharpTraderBot (in SharpTraderBot.dll) Version: 1.0.0
public bool modifyPositionByID(
string positionID,
double SL,
double TP
)
Public Function modifyPositionByID (
positionID As String,
SL As Double,
TP As Double
) As Boolean
public:
bool modifyPositionByID(
String^ positionID,
double SL,
double TP
)
member modifyPositionByID :
positionID : string *
SL : float *
TP : float -> bool
- positionID String
- ID of the postion
- SL Double
- New stoploss
- TP Double
- New takepofit
BooleanResult of modification