Skip to content

Commit

Permalink
Merge branch 'patch-5' of https://github.com/miracle2k/ccxt into mira…
Browse files Browse the repository at this point in the history
…cle2k-patch-5
  • Loading branch information
kroitor committed Jun 5, 2018
2 parents 1b0c986 + c945776 commit dfc930c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion js/poloniex.js
Expand Up @@ -186,6 +186,15 @@ module.exports = class poloniex extends Exchange {
base = this.commonCurrencyCode (base);
quote = this.commonCurrencyCode (quote);
let symbol = base + '/' + quote;
let minimalCost = {
'BTC': 0.0001,
'ETH': 0.0001,
'XMR': 0.0001,
'USDT': 1.0,
}[quote];
if (typeof minimalCost === 'undefined') {
minimalCost = 0.00000000;
}
result.push (this.extend (this.fees['trading'], {
'id': id,
'symbol': symbol,
Expand All @@ -206,7 +215,7 @@ module.exports = class poloniex extends Exchange {
'max': 1000000000,
},
'cost': {
'min': 0.00000000,
'min': minimalCost,
'max': 1000000000,
},
},
Expand Down

0 comments on commit dfc930c

Please sign in to comment.