Skip to content

Commit ba7d201

Browse files
authored
Merge pull request #10 from bakman2/subscription
reconnect - subscriptionTicker24hCallback missing
2 parents 78f7719 + c13f5ce commit ba7d201

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

node-bitvavo-api.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,11 @@ let api = function Bitvavo () {
337337
ws.subscriptionTicker(market, subscriptionTickerCallback[market])
338338
}
339339
}
340+
if (typeof subscriptionTicker24hCallback !== 'undefined') {
341+
for (let market in subscriptionTicker24hCallback) {
342+
ws.subscriptionTicker(market, subscriptionTicker24hCallback[market])
343+
}
344+
}
340345
if (typeof subscriptionAccountCallback !== 'undefined') {
341346
for (let market in subscriptionAccountCallback) {
342347
ws.subscriptionAccount(market, subscriptionAccountCallback[market])

0 commit comments

Comments
 (0)