Snapshots
This commit is contained in:
1 parent
e91125801d
commit
6368221937
75 files changed
+8943
-4332
No files matched your search
+3
-3
@@ -362,7 +362,7 @@ module.exports = class indodax extends Exchange {
|
||||
|
||||
async fetchOrder (id, symbol = undefined, params = {}) {
|
||||
if (symbol === undefined) {
|
||||
throw new ExchangeError (this.id + ' fetchOrder requires a symbol');
|
||||
throw new ArgumentsRequired (this.id + ' fetchOrder requires a symbol');
|
||||
}
|
||||
await this.loadMarkets ();
|
||||
const market = this.market (symbol);
|
||||
@@ -409,7 +409,7 @@ module.exports = class indodax extends Exchange {
|
||||
|
||||
async fetchClosedOrders (symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
||||
if (symbol === undefined) {
|
||||
throw new ExchangeError (this.id + ' fetchOrders requires a symbol');
|
||||
throw new ArgumentsRequired (this.id + ' fetchOrders requires a symbol argument');
|
||||
}
|
||||
await this.loadMarkets ();
|
||||
const request = {};
|
||||
@@ -458,7 +458,7 @@ module.exports = class indodax extends Exchange {
|
||||
}
|
||||
const side = this.safeValue (params, 'side');
|
||||
if (side === undefined) {
|
||||
throw new ExchangeError (this.id + ' cancelOrder requires an extra "side" param');
|
||||
throw new ArgumentsRequired (this.id + ' cancelOrder requires an extra "side" param');
|
||||
}
|
||||
await this.loadMarkets ();
|
||||
const market = this.market (symbol);
|
||||
|
||||
Reference in new issue
Block a user