How to get real-time ohlc data?

How to get Open-High-Low-Close date by time frame? What api/socket is available as fyers is shutting down an api which provides ohlc.

Hey @kb0eGzTj77

You can use the Quotes API , to get the OHLC data , please find the docs :

https://myapi.fyers.in/docsv3

Quotes API they are going to removed cmd which provides OHLC