How to get Intraday data of 5min interval using websocket.
-
How to get Intraday data of 5min interval using websocket of niffty100 or niffty50 in nodejs sdk
-
@StockM At the start of the script, start timer. Whenever you receive the tick data, check whether 5 minutes elapsed or not. If yes, then you you can consider it as a 5 minutes candle close.
-
Hi,
Thanks for quick response, Is there any example or code sample or documents regarding, please share me..
Thanks
-
API only provides tick data. Users needs to convert them in to candles using their script/program.
-
@rjbanna
Thanks for reply.Can u help me, where to set the interval in websocket..
-
@lokendra said in How to get Intraday data of 5min interval using websocket.:
Unable to get order_id: {"success":false,"message":"Invalid Token","errorCode":"AG8001","data":""}
Hi @lokendra , you need to pass correct authorization token. For details please refer - https://smartapi.angelbroking.com/docs/User
-
My ID is L22634 and getting below error while placing order.
Unable to get order_id: {"success":false,"message":"Invalid Token","errorCode":"AG8001","data":""}
-
@StockM You have to create your own logic for this. You can execute function every 5 minutes using timer.