<commit_before>module Cryptoexchange::Exchanges
  module Bisq
    module Services
      class Pairs < Cryptoexchange::Services::Pairs
        PAIRS_URL = "#{Cryptoexchange::Exchanges::Bisq::Market::API_URL}/markets"

        def fetch
          output = super
          adapt(output)
        end

        def adapt(output)
          output.map do |pair, ticker|
            base, target = pair.split('_')
            Cryptoexchange::Models::MarketPair.new(
              base: base,
              target: target,
              market: Bisq::Market::NAME
              )
          end
        end
      end
    end
  end
end<commit_msg>Minimize bisq pairs<commit_after>module Cryptoexchange::Exchanges
  module Bisq
    module Services
      class Pairs < Cryptoexchange::Services::Pairs
        PAIRS_URL = "#{Cryptoexchange::Exchanges::Bisq::Market::API_URL}/ticker"

        def fetch
          output = super
          adapt(output)
        end

        def adapt(output)
          output.map do |pair, ticker|
            next if ticker.nil?
            base, target = pair.split('_')
            Cryptoexchange::Models::MarketPair.new(
              base: base,
              target: target,
              market: Bisq::Market::NAME
              )
          end.compact
        end
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.08897338403041825, 'fraction_numerical': 0.0, 'mean_word_length': 1.7078189300411524, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2646253', 'n_tokens_mistral': 380, 'n_tokens_neox': 356, 'n_words': 82}