Kraken only receives one ticker update, then nothing afterwards
See original GitHub issueExchange Kraken
Subscription type Ticker
Describe the bug Only one update is received, no subsequent updates occur even though the data is updating on the exchange.
To Reproduce
const ccxws = require('ccxws');
const client = new ccxws.kraken({
reconnectIntervalMs: 15 * 60 * 1000
});
client.on('ticker', (ticker, market) => {
console.log('ccxws TICKER update, market=', market, 'ticker=', ticker);
});
// give it a moment to load the symbols map internally
await timeout(3000);
const ccxwsMarket = { id: 'XXMRXXBT', base: 'XMR', quote: 'BTC' };
client.subscribeTicker(ccxwsMarket);
Expected behavior A new ticker update event is received on every change of the data. Currently only the first ticker is received when I run the example above.
Additional context
I added some logs to the ccxws kraken-client
processMsg()
method, and it appears to only be receiving heartbeat messages after the first initial ticker payload. This would imply that the exchange itself isn’t sending the data, but I find that hard to believe. Kraken API status page shows all systems functional.
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (13 by maintainers)
Top Results From Across the Web
Kraken REST API Documentation
Our REST API is organised into publicly accessible endpoints (market data, exchange status, etc.), and private authenticated endpoints (trading, funding, user ...
Read more >Submit a request - Kraken Support
If you'd like real-time help from one of our support specialists, open a chat or give us a call. Please choose your issue...
Read more >Kraken Terminal trading interface errors
What it means: Too many requests have been made to the exchange via Kraken Terminal. What you can do: Try again after a...
Read more >Kraken Websockets API 1.9.0 documentation
All messages sent and received via WebSockets are encoded in JSON format ... not be sent in book snapshot messages, but rather only...
Read more >Why has my deposit or withdrawal not arrived? - Kraken Support
If your deposit to Kraken does not arrive within the estimated time frame, here are the steps to take: Check if there is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nudabagana the Kraken order book issue has been reported in the past and we thought it was addressed but there may have been a regressioon introduced with #155. I’ll create another issue to track the issue there as an immediate priority.
@evan-coygo if you’ve found a suitable workaround for the ticker issue, I’d like to close this issue and PR. I’m also happy to create a new feature issue to explore either a top of book event or wiring it into the ticker event for the exchanges where it is supported.
yes I’ll go ahead and close it