public class TickerDemo {
public static void main(String[] args) throws IOException {
// Use the factory to get the VirtEx exchange API using default settings
Exchange cavirtex = ExchangeFactory.INSTANCE.createExchange(VirtExExchange.class.getName());
// Interested in the public polling market data feed (no authentication)
PollingMarketDataService marketDataService = cavirtex.getPollingMarketDataService();
generic(marketDataService);
raw((VirtExMarketDataServiceRaw) marketDataService);
}