Skip to content

Commit

Permalink
bibox fetchTickers return tickers indexed by symbol fix ccxt#3949
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed Oct 5, 2018
1 parent 7db7a91 commit 7a56fa0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/bibox.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ module.exports = class bibox extends Exchange {
let response = await this.publicGetMdata (this.extend ({
'cmd': 'marketAll',
}, params));
return this.parseTickers (response['result'], symbols);
let tickers = this.parseTickers (response['result'], symbols);
return this.indexBy (tickers, 'symbol');
}

parseTrade (trade, market = undefined) {
Expand Down

0 comments on commit 7a56fa0

Please sign in to comment.