is there issue if I develop azure function app to call kite api

ashuthinks
is there issue if I develop azure function app to call kite api?
and execute it on every 5 minutes to get LTP is it ok?
  • sujith
    You can do that, there is no issue.
  • ashuthinks
    thanks for reply . so no need to call websocket streaming api right normal api will work after calling every 5 minutes?
  • sujith
    If your frequency is 5 minutes then you can use the http Quote API or OHLC API or LTP API.
  • ashuthinks
    ashuthinks edited October 2020
    thanks a lot will try my code with 3 minutes also thanks
  • ashuthinks
    ashuthinks edited October 2020
    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
  • sujith
    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.
  • ashuthinks
    but my function app will run after every 5 minutes is it necessary to make it continuously running to use websocket?
  • sujith
    If you want to generate candles then you need to record every tick.
  • ashuthinks
    oh okies thanks
Sign In or Register to comment.