HI,
So currently I am placing a bracket order through the API which works fine.
Now my question is how can I modify the stoploss/takeprofit of this bracket order later on before those sl/tp get hit?
I am not sure docs mention if we can modify a bracket order, we prolly can't cause it's three different orders?
But how would I be able to modify the stop-loss separately? Docs don't mention that, even if they do. Currently when I place a bracket order, this is the response I get:Order Response: {
code: 1101,
message: "Successfully placed order",
s: "ok",
id: "25011700324920",
}
Where are the stop loss/tp order ids here?
Here is my order placement code:
Order Data:
{
symbol: "NSE:GRSE-EQ",
qty: 82,
type: 2,
side: 1,
productType: "BO",
limitPrice: 0,
stopPrice: 0,
validity: "DAY",
stopLoss: 6.050000000000001,
takeProfit: 12.15,
}
PS: I am asking this cause I plan to implement Trailing Stop loss, but I am still stuck here.