diff --git a/js/hitbtc.js b/js/hitbtc.js index 1ab9f5350821..a2a0a31e7285 100644 --- a/js/hitbtc.js +++ b/js/hitbtc.js @@ -795,14 +795,16 @@ module.exports = class hitbtc extends Exchange { } } let feeCost = this.safeFloat (order, 'fee'); + let feeCurrency = undefined; + if (typeof market !== 'undefined') { + symbol = market['symbol']; + feeCurrency = market['quote']; + } let fee = { 'cost': feeCost, - 'currency': undefined, + 'currency': feeCurrency, 'rate': undefined, }; - if (typeof market !== 'undefined') { - symbol = market['symbol']; - } return { 'id': order['clientOrderId'].toString (), 'info': order,