☰
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.7K
All Categories
0
Incidents
150
Node JS client
39
Go client
790
.Net API client
376
Kite Publisher
537
.Net / VBA / Excel (3rd party)
456
Algorithms and Strategies
991
Java client
1.1K
API clients
402
PHP client
3.9K
Python client
345
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.