Not getting data from websocket for some stock
-
not getting live data for all stock (MCX).
getting this data constantly for this script 225903
[{tvalue: 29/03/2021 21:40:38, name: tm}]output for script mcx_fo|227886
[{ak: ok, task: cn, msg: connected}]
I/flutter (15597): [{ak: ok, task: mw, msg: mw}]
I/flutter (15597): []i have run this script in time 5 to 10 still no proper output
anyone know y this is happening?
@admin -
@91priyansh You can check if you are receiving ltp in the response or not. If you haven't received ltp let's say for 2 to 3 minutes, you can close the connection. Minutes depends on your choice.
-
Hi @91priyansh we will update you on this.
-
@rjbanna is there any way to determine that now we can close the web_socket ? i am confuse about that..
-
@rjbanna ok..do you know when should i close the web_socket?
-
@91priyansh You get ticks only when there's any activity on that scrip. The token is for GOLD September option which is not liquid. So you won't get any data. Try to use current month expiry then you'll get ticks.