Skip to content

Commit

Permalink
bitstamp refix for loadMarkets #2970
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed May 29, 2018
1 parent 7f7c3de commit 0a4a8ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/bitstamp.js
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,8 @@ module.exports = class bitstamp extends Exchange {

async fetchOpenOrders (symbol = undefined, since = undefined, limit = undefined, params = {}) {
let market = undefined;
await this.loadMarkets ();
if (typeof symbol !== 'undefined') {
await this.loadMarkets ();
market = this.market (symbol);
}
let orders = await this.privatePostOpenOrdersAll ();
Expand Down

0 comments on commit 0a4a8ef

Please sign in to comment.