Skip to content

Commit

Permalink
coinex fetchOHLCV timestamps seconds → milliseconds fix ccxt#3441
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed Jul 19, 2018
1 parent b2b387b commit 8c01091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/coinex.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ module.exports = class coinex extends Exchange {

parseOHLCV (ohlcv, market = undefined, timeframe = '5m', since = undefined, limit = undefined) {
return [
ohlcv[0],
ohlcv[0] * 1000,
parseFloat (ohlcv[1]),
parseFloat (ohlcv[3]),
parseFloat (ohlcv[4]),
Expand Down

0 comments on commit 8c01091

Please sign in to comment.