Skip to content

Commit

Permalink
kucoin fetchOrderBook timestamp fix #3039
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed Jun 5, 2018
1 parent d705494 commit b7b8d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/kucoin.js
Expand Up @@ -345,7 +345,7 @@ module.exports = class kucoin extends Exchange {
};
} else {
orderbook = response['data'];
timestamp = response['data']['timestamp'];
timestamp = this.safeInteger (response, 'timestamp');
}
return this.parseOrderBook (orderbook, timestamp, 'BUY', 'SELL');
}
Expand Down

0 comments on commit b7b8d08

Please sign in to comment.