However, upon execution, I noticed that the stop-loss and target prices were not set according to the values I provided. They are significantly different from what I input. Can someone assist me? What am I doing wrong here?
@107519296105230043218,
In v3 API, stopLoss and takeProfit parameters expect relative values of risk & profit and NOT absolute price values of SL and Target.
Meaning if you want to set SL at Rs. 90 for a stock bought at Rs. 100, then stopLoss parameter value should be 10 and NOT 90.
@communications_team, this design is quite confusing when compared to the WEB GUI interface where we enter stoploss as actual price value.
Hi @107519296105230043218
This issue is already reported and we are working on same.
Once it will be done we will inform you there and we will also mention in our Docs.
Thanks