It looks like you're new here. If you want to get involved, click one of these buttons!
var KiteTicker = require("kiteconnect").KiteTicker;
var ticker = new KiteTicker({api_key: "xxx", access_token: "yyy"});
ticker.connect();
ticker.on("tick", onTicks);
ticker.on("connect", subscribe);
function onTicks(ticks) {
console.log("Ticks", ticks);
}
function subscribe() {
var items = [738561];
ticker.subscribe(items);
ticker.setMode(ticker.modeFull, items);
}
Could you kindly check this issue. I have posted same issue last time, but no update.
ticker.on("ticks", onTicks);
Thanks