*/
public class CryptsyDemo {
public static void main(String[] args) throws IOException, ExchangeException, NotAvailableFromExchangeException, NotYetImplementedForExchangeException, InterruptedException {
ExchangeSpecification exSpec = new ExchangeSpecification(CryptsyExchange.class);
exSpec.setApiKey("0feb4d7258aa828a76355e32940de94d3298bed2");
exSpec.setSecretKey("b03caa2f83e6a42cd2780f0a245f020302eb4fe2a63d268135c927c4d88d265be8e4e559e9f3c812");
Exchange cryptsyExchange = ExchangeFactory.INSTANCE.createExchange(exSpec);
PollingAccountService accountService = cryptsyExchange.getPollingAccountService();
PollingMarketDataService marketDataService = cryptsyExchange.getPollingMarketDataService();
PollingTradeService tradeService = cryptsyExchange.getPollingTradeService();