I placed a BUY order with a STOPLOSS using the following payload
{
"variety": "STOPLOSS",
"ordertype": "STOPLOSS_LIMIT",
"producttype": "INTRADAY",
"duration": "DAY",
"price": 205.1,
"triggerprice": 205,
"quantity": "1",
"disclosedquantity": "0",
"squareoff": 0,
"stoploss": 0,
"trailingstoploss": 0,
"tradingsymbol": "FEDERALBNK-EQ",
"transactiontype": "BUY",
"exchange": "NSE",
"symboltoken": "1023",
"ordertag": "20",
"instrumenttype": "",
"strikeprice": -1,
"optiontype": "",
"lotsize": "1",
}
When the order was triggered, it created a new order, but I am unable to track it. I used 20 in the ordertag field for tracking purposes, but the triggered order returned an empty ordertag. How can I establish the relation between the original stoploss order and the triggered order to ensure I am tracking the correct order?"