Skip to content

Commit

Permalink
bibox: parseOrderBook fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
kornrunner committed Jan 12, 2018
1 parent 2d9a8b7 commit d0d882e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/bibox.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ module.exports = class bibox extends Exchange {
'pair': market['id'],
}, params)
});
return this.parseOrderBook (response['result'], undefined, 'BUY', 'SELL');
return this.parseOrderBook (response['result'], this.safeFloat (response['result'], 'update_time'), 'bids', 'asks', 'price', 'amount');
}

parseOHLCV (ohlcv, market = undefined, timeframe = '1m', since = undefined, limit = undefined) {
Expand Down

0 comments on commit d0d882e

Please sign in to comment.