Skip to content

Commit

Permalink
Merge branch 'miracle2k-patch-5'
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed Jun 5, 2018
2 parents 1b0c986 + 6c30ae3 commit e6d0919
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion js/poloniex.js
Expand Up @@ -127,6 +127,18 @@ module.exports = class poloniex extends Exchange {
'STR': 'XLM',
'BCC': 'BTCtalkcoin',
},
'options': {
'limits': {
'cost': {
'min': {
'BTC': 0.0001,
'ETH': 0.0001,
'XMR': 0.0001,
'USDT': 1.0,
},
},
},
},
});
}

Expand Down Expand Up @@ -186,6 +198,7 @@ module.exports = class poloniex extends Exchange {
base = this.commonCurrencyCode (base);
quote = this.commonCurrencyCode (quote);
let symbol = base + '/' + quote;
let minCost = this.safeFloat (this.options['limits']['cost']['min'], quote, 0.0);
result.push (this.extend (this.fees['trading'], {
'id': id,
'symbol': symbol,
Expand All @@ -206,7 +219,7 @@ module.exports = class poloniex extends Exchange {
'max': 1000000000,
},
'cost': {
'min': 0.00000000,
'min': minCost,
'max': 1000000000,
},
},
Expand Down

0 comments on commit e6d0919

Please sign in to comment.