Skip to content

Commit

Permalink
Merge branch 'patch-6' of https://github.com/miracle2k/ccxt into mira…
Browse files Browse the repository at this point in the history
…cle2k-patch-6
  • Loading branch information
kroitor committed Jun 5, 2018
2 parents a25f0f0 + eeadbe4 commit 6fdfb6e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion js/gateio.js
Expand Up @@ -145,8 +145,16 @@ module.exports = class gateio extends Exchange {
'min': Math.pow (10, -details['decimal_places']),
'max': undefined,
};
let minimumCost = {
'USDT': 1,
'ETH': 0.001,
'BTC': 0.0001,
}[quote];
if (typeof minimumCost === 'undefined') {
minimumCost = amountLimits['min'] * priceLimits['min'];
}
let costLimits = {
'min': amountLimits['min'] * priceLimits['min'],
'min': minimumCost,
'max': undefined,
};
let limits = {
Expand Down

0 comments on commit 6fdfb6e

Please sign in to comment.