private static void raw(Exchange krakenExchange) throws IOException {
// Interested in the public polling market data feed (no authentication)
KrakenMarketDataServiceRaw krakenMarketDataService = (KrakenMarketDataServiceRaw) krakenExchange.getPollingMarketDataService();
KrakenAssetPairs krakenAssetPairs = krakenMarketDataService.getKrakenAssetPairs();
for (Entry<String, KrakenAssetPair> assetPairEntry : krakenAssetPairs.getAssetPairMap().entrySet()) {
System.out.println(assetPairEntry.getKey() + ": " + assetPairEntry.getValue());
}
}