diff --git a/lib/cryptoexchange/exchanges/delta_futures/services/market.rb b/lib/cryptoexchange/exchanges/delta_futures/services/market.rb index be0349226..9ad1e7494 100644 --- a/lib/cryptoexchange/exchanges/delta_futures/services/market.rb +++ b/lib/cryptoexchange/exchanges/delta_futures/services/market.rb @@ -27,15 +27,7 @@ def adapt(output, market_pair) ticker.last = NumericHelper.to_d(output['close']) ticker.high = NumericHelper.to_d(output['high']) ticker.low = NumericHelper.to_d(output['low']) - - #special handling of volume for this exchange - volume = if market_pair.target == "USD" - NumericHelper.divide(NumericHelper.to_d(output['volume']), ticker.last) - else - NumericHelper.to_d(output['volume']) - end - - ticker.volume = volume + ticker.volume = NumericHelper.divide(NumericHelper.to_d(output['volume']), ticker.last) ticker.timestamp = nil ticker.payload = output ticker