In the case of bracket or cover orders, there is a field called parent order id which can be used to find the group of the order. In case, you are doing MIS order then you can make use of the tag par…
There will be one entry of a tradingsymbol traded at an exchange in a day. Even if you have traded multiple times in a day, there will be only one entry.