class ItBitTickerDemo {
  public static void main(String[] args) throws IOException {<FILL_FUNCTION_BODY>}

  private static void generic(MarketDataService marketDataService) throws IOException {

    Ticker ticker = marketDataService.getTicker(CurrencyPair.BTC_USD);

    System.out.println(ticker.toString());
  }

  private static void raw(ItBitMarketDataServiceRaw marketDataService) throws IOException {

    ItBitTicker ticker = marketDataService.getItBitTicker(CurrencyPair.BTC_USD);

    System.out.println(ticker.toString());
  }
}


    Exchange exchange = ExchangeFactory.INSTANCE.createExchange(ItBitExchange.class);

    MarketDataService marketDataService = exchange.getMarketDataService();

    generic(marketDataService);
    raw((ItBitMarketDataServiceRaw) marketDataService);
  
<no_super_class>