Bug Fixes

This commit is contained in:
Luis Fernando Molina committed 2020-02-09 16:35:17 +01:00
1 parent 82bc086e92
commit b1af6e078c
131 files changed
+8597 -1930

No files matched your search

+2 -2
View File
@@ -442,7 +442,7 @@ module.exports = class upbit extends Exchange {
return base + '/' + quote;
}
async fetchOrderBooks (symbols = undefined, params = {}) {
async fetchOrderBooks (symbols = undefined, limit = undefined, params = {}) {
await this.loadMarkets ();
let ids = undefined;
if (symbols === undefined) {
@@ -505,7 +505,7 @@ module.exports = class upbit extends Exchange {
}
async fetchOrderBook (symbol, limit = undefined, params = {}) {
const orderbooks = await this.fetchOrderBooks ([ symbol ], params);
const orderbooks = await this.fetchOrderBooks ([ symbol ], limit, params);
return this.safeValue (orderbooks, symbol);
}