System.out.println("Volume: " + ticker.getVolume().toString());
}
private static void raw(Exchange bitcoinAverageExchange) throws IOException {
BitcoinAverageMarketDataServiceRaw bitcoinAverageMarketDataServiceRaw = (BitcoinAverageMarketDataServiceRaw) bitcoinAverageExchange.getPollingMarketDataService();
// Get the latest ticker data showing BTC to EUR
BitcoinAverageTicker ticker = bitcoinAverageMarketDataServiceRaw.getBitcoinAverageTicker(Currencies.BTC, Currencies.EUR);
System.out.println("Last: " + ticker.getLast());
System.out.println("Vol: " + ticker.getVolume());
}