Need help in getting proper 1min ohlc data through websocket

@Shiva_Kumar You are correct, the websocket will provide you with one previous candle for 1-minute and 30-minute intervals.

You can try our new Python code on GitHub: GitHub - upstox/upstox-python: Official Python SDK for accessing Upstox API. Refer to the sample code in the readme file for guidance.

If you could share a sample code you’re working with, we’d be happy to review it.