☰
Login
Signup
Home
›
Node JS client
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)
457
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
July 2021
QD1497
July 2021
rakeshr
Not Receiving Ticks
QD1497
July 2021
in
Node JS client
I am trying to run ticks but since today morning I am not able to receive any of them. Is there any maintenance going on?
Tagged:
tick data
rakeshr
July 2021
We just checked. It's working fine at our end.
Can you give info on the above issue to debug? Are you using the correct instrument token/tokens?
QD1497
July 2021
I am seeing an error no reconnect and ticks are not even triggered to subscribe function
rakeshr
July 2021
Can you paste complete error traceback here?
QD1497
July 2021
var ticker = new KiteTicker({
api_key: api_key,
access_token: global.access_token
});
ticker.autoReconnect(true, 10, 5)
ticker.connect();
ticker.on("ticks", onTicks);
ticker.on("connect", subscribe);
ticker.on("noreconnect", function() {
console.log("noreconnect");
});
ticker.on("reconnecting", function(reconnect_interval, reconnections) {
console.log("Reconnecting: attempt - ", reconnections, " innterval - ", reconnect_interval);
});
function subscribe() {
console.log("Item Subscribed");
items.push(13613826);
ticker.subscribe(items);
ticker.setMode(ticker.modeFull, items);
}
function onTicks(ticks) {
\\ Code begins from here
}
This is the code I am using and I am using and just having an output no reconnect
Sign In
or
Register
to comment.
Can you give info on the above issue to debug? Are you using the correct instrument token/tokens?
api_key: api_key,
access_token: global.access_token
});
ticker.autoReconnect(true, 10, 5)
ticker.connect();
ticker.on("ticks", onTicks);
ticker.on("connect", subscribe);
ticker.on("noreconnect", function() {
console.log("noreconnect");
});
ticker.on("reconnecting", function(reconnect_interval, reconnections) {
console.log("Reconnecting: attempt - ", reconnections, " innterval - ", reconnect_interval);
});
function subscribe() {
console.log("Item Subscribed");
items.push(13613826);
ticker.subscribe(items);
ticker.setMode(ticker.modeFull, items);
}
function onTicks(ticks) {
\\ Code begins from here
}
This is the code I am using and I am using and just having an output no reconnect