Skip to content

Commit

Permalink
some consistency with subclass withdraw fees
Browse files Browse the repository at this point in the history
  • Loading branch information
frosty00 committed Feb 14, 2018
1 parent fd4a16d commit 5822cdf
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion js/acx.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module.exports = class acx extends Exchange {
'funding': {
'tierBased': false,
'percentage': true,
'withdraw': 0.0, // There is only 1% fee on withdrawals to your bank account.
'withdraw': {}, // There is only 1% fee on withdrawals to your bank account.
},
},
'exceptions': {
Expand Down
4 changes: 2 additions & 2 deletions js/base/Exchange.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ module.exports = class Exchange {
'funding': {
'tierBased': undefined,
'percentage': undefined,
'withdraw': undefined,
'deposit': undefined,
'withdraw': {},
'deposit': {},
},
},
'parseJsonResponse': true, // whether a reply is required to be in JSON or not
Expand Down
5 changes: 2 additions & 3 deletions js/bibox.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,8 @@ module.exports = class bibox extends Exchange {
'funding': {
'tierBased': false,
'percentage': false,
'withdraw': {
},
'deposit': 0.0,
'withdraw': {},
'deposit': {},
},
},
});
Expand Down
1 change: 0 additions & 1 deletion js/cex.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ module.exports = class cex extends Exchange {
'BTG': 0.001,
'ZEC': 0.001,
'XRP': 0.02,
'XLM': undefined,
},
'deposit': {
// 'USD': amount => amount * 0.035 + 0.25,
Expand Down
4 changes: 2 additions & 2 deletions js/liqui.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ module.exports = class liqui extends Exchange {
'funding': {
'tierBased': false,
'percentage': false,
'withdraw': undefined,
'deposit': undefined,
'withdraw': {},
'deposit': {},
},
},
'exceptions': {
Expand Down
2 changes: 1 addition & 1 deletion js/livecoin.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ module.exports = class livecoin extends Exchange {
async fetchFees (params = {}) {
let tradingFees = await this.fetchTradingFees (params);
return this.extend (tradingFees, {
'withdraw': 0.0,
'withdraw': {},
});
}

Expand Down
5 changes: 3 additions & 2 deletions js/yobit.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ module.exports = class yobit extends liqui {
'maker': 0.002,
'taker': 0.002,
},
'funding': 0.0,
'withdraw': 0.0005,
'funding': {
'withdraw': {},
},
},
});
}
Expand Down

0 comments on commit 5822cdf

Please sign in to comment.