class ParibuTickerDemo {

  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_TRY);
    System.out.println(ticker.toString());
  }

  private static void raw(ParibuMarketDataService marketDataService) throws IOException {
    ParibuTicker paribuTicker = marketDataService.getParibuTicker();
    System.out.println(paribuTicker.toString());
  }
}


    // Use the factory to get Paribu exchange API using default settings
    Exchange paribu = ParibuDemoUtils.createExchange();

    // Interested in the public market data feed (no authentication)
    MarketDataService marketDataService = paribu.getMarketDataService();

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