how to get ohlc data in fyers api? to get indicators like supertrend we need atleast 5-7 candles data to get the calculation done. there has to be some command to provide that. Currently i am fetching historical data for the requiste time then combined with live data(that i converted from tick by tick data) then calculating the value of supertrend. any better method?

4 replies