BotmodifyPositionByID Method

Modifies stops of position with specified id

Definition

Namespace: SharpTraderBot
Assembly: SharpTraderBot (in SharpTraderBot.dll) Version: 1.0.0
C#
public bool modifyPositionByID(
	string positionID,
	double SL,
	double TP
)

Parameters

positionID  String
ID of the postion
SL  Double
New stoploss
TP  Double
New takepofit

Return Value

Boolean
Result of modification

See Also