☰
Login
Signup
Home
›
Market data (WebSockets)
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
458
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
347
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
November 2020
sujith
ticks are not coming, same code was given the ticks 2 days before but now ticks are not comming.
rohittaleja1
November 2020
in
Market data (WebSockets)
var KiteTicker = require("kiteconnect").KiteTicker;
const api_key = '';
const api_secret = '';
const accountKey = '';
const request_token = '';
const access_token = '';
var ticker = new KiteTicker({
api_key,
access_token,
});
ticker.connect();
ticker.on("ticks", onTicks);
ticker.on("connect", subscribe);
function onTicks(ticks) {
console.log("Ticks", ticks);
}
function subscribe() {
var items = [1076225];
ticker.subscribe(items);
ticker.setMode(ticker.modeFull, items);
}
Tagged:
tick data
live streaming
sujith
November 2020
Can you give us the complete stack trace?
sujith
November 2020
Do you see any error in the on_error callback?
Sign In
or
Register
to comment.