not receiving proper WebSocket data
-
Hi @nirav said in not receiving proper WebSocket data:
sir i have install python sdk just tomorrow, so its a latest. till i getting heart beat. any solution for this by api team or not. my deadline is very close. suggest me asap
Hi nirav as discussed in the meeting we will update you on this.
-
@pavank did you get any solution of the problem? I am facing exactly same issue.
-
@admin facing same issue, only receving tm data
[{"tvalue":"16/02/2023 11:35:12","name":"tm"}]
[{"tvalue":"16/02/2023 11:35:13","name":"tm"}]
[{"tvalue":"16/02/2023 11:35:14","name":"tm"}]
[{"tvalue":"16/02/2023 11:35:15","name":"tm"}]Here is code :
var ws =new websocket('', '',"nse_cm|2885", "mw");
ws.connection().then(() => {
ws.runScript("nse_cm|2885&nse_cm|1594&nse_cm|11536", "mw|sf|dp");
setTimeout(function () {
ws.close()
}, 30000)
});
ws.on('tick', receiveTick);function receiveTick(data) { console.log(data); }