public class KrakenMarketDataRawSpecificDemo {
public static void main(String[] args) throws IOException {
// Use the factory to get Kraken exchange API using default settings
Exchange krakenExchange = ExchangeFactory.INSTANCE.createExchange(KrakenExchange.class.getName());
// Interested in the public polling market data feed (no authentication)
KrakenMarketDataServiceRaw krakenMarketDataService = (KrakenMarketDataServiceRaw) krakenExchange.getPollingMarketDataService();
KrakenServerTime serverTime = krakenMarketDataService.getServerTime();
System.out.println(serverTime);
KrakenAssets assets = krakenMarketDataService.getKrakenAssets();