BotmodifyPositionByIndex Method

Modifies stops of position with specified index

Definition

Namespace: SharpTraderBot
Assembly: SharpTraderBot (in SharpTraderBot.dll) Version: 1.0.0
C#
public bool modifyPositionByIndex(
	int index,
	double SL,
	double TP
)

Parameters

index  Int32
Index of the postion in openedPositions
SL  Double
New stoploss
TP  Double
New takepofit

Return Value

Boolean
Result of modification

See Also