Class BityMarketDataService

    • Constructor Detail

      • BityMarketDataService

        public BityMarketDataService​(Exchange exchange)
        Constructor
        Parameters:
        exchange -
    • Method Detail

      • getTickers

        public List<Ticker> getTickers​(Params params)
        Description copied from interface: MarketDataService
        Get the tickers representing the current exchange rate for the provided parameters
        Specified by:
        getTickers in interface MarketDataService
        Returns:
        The Tickers, null if some sort of error occurred. Implementers should log the error.
      • getTicker

        public Ticker getTicker​(CurrencyPair currencyPair,
                                Object... args)
                         throws IOException
        Description copied from interface: MarketDataService
        Get a ticker representing the current exchange rate
        Specified by:
        getTicker in interface MarketDataService
        Returns:
        The Ticker, null if some sort of error occurred. Implementers should log the error.
        Throws:
        IOException - - Indication that a networking error occurred while fetching JSON data