Skip to content

Commit

Permalink
a more detailed timestamp fix for kucoin #3039
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed Jun 5, 2018
1 parent 2f339c7 commit 14f9257
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/kucoin.js
Expand Up @@ -346,6 +346,7 @@ module.exports = class kucoin extends Exchange {
} else {
orderbook = response['data'];
timestamp = this.safeInteger (response, 'timestamp');
timestamp = this.safeInteger (response['data'], 'timestamp', timestamp);
}
return this.parseOrderBook (orderbook, timestamp, 'BUY', 'SELL');
}
Expand Down

0 comments on commit 14f9257

Please sign in to comment.