public class BitfinexDepthDemo {
public static void main(String[] args) throws Exception {
// Use the factory to get BTC-E exchange API using default settings
Exchange btce = ExchangeFactory.INSTANCE.createExchange(BitfinexExchange.class.getName());
// Interested in the public polling market data feed (no authentication)
PollingMarketDataService marketDataService = btce.getPollingMarketDataService();
generic(marketDataService);
raw((BitfinexMarketDataServiceRaw) marketDataService);
}