The average price fetched through WebSocket reflects the day’s average price. If you wish to calculate the average price for a selected interval using Ticker/WebSocket, you would need to fetch the ti…
To exit a bracket order, you need to send cancel order request with second leg order id and parent order id with variety co. You can refer to the pykiteconnect docs here.