but how can i get recent 5 minute candle data using OHLC API? I mean my logic is on every 5 minutes my azure function will execute and get recent 5 minute candle OHLC and based on that I trade. pls guide
The OHLC API gives you the day's data and not 5 minutes candle data. If you are looking for candle data then you need to build candles at your end using live market data provided on Websocket API. You can get started here.
If you are looking for candle data then you need to build candles at your end using live market data provided on Websocket API. You can get started here.