data did not get

goyan
var KiteTicker = require("kiteconnect").KiteTicker;
var ticker = new KiteTicker({
api_key: "XXX",
access_token: "XXXX"
});

ticker.connect();
ticker.on("ticks", onTicks);
ticker.on("connect", subscribe);

function onTicks(ticks) {
console.log("Ticks", ticks);
}

function subscribe() {
console.log('dafaf');
var items = ['RELIANCE'];
ticker.subscribe(items);
ticker.setMode(ticker.modeFull, items);
}
After ran that above code i did not get anything.
Tagged:
  • goyan
    Company interested to solve problem or Shud I go elsewahere
  • rakeshr
    @goyan
    You need to give us more detail for us to debug. Run it in debug mode and paste complete logs here.
  • sujith
    @goyan,
    Please do understand that we don't provide support for Kite Connect. We are all developers here just like you. This is just a community forum wherein we help fellow developers to grow the community.
    We don't encourage passive-aggressive comments on the forum.
  • sujith
    Make sure you read the forum etiquette while creating a new discussion.

Sign In or Register to comment.