public static Exchange createExchange() throws IOException { ExchangeSpecification exSpec = new ExchangeSpecification(WexExchange.class); exSpec.setSecretKey("26d17ede9bba11f1a71ab99f5d51041879d89c61e17601e45ea3fdfe1d38e649"); exSpec.setApiKey("01Q84C7I-1A8T1TY8-LFAK34DS-CS4UHLYZ-RDBM4EOK"); exSpec.setSslUri("https://btc-e.com"); Exchange exchange = ExchangeFactory.INSTANCE.createExchange(exSpec); exchange.remoteInit(); return exchange; } }
protected CoinsuperBaseService(Exchange exchange) { super(exchange); this.apiKey = exchange.getExchangeSpecification().getApiKey(); this.secretKey = exchange.getExchangeSpecification().getSecretKey(); } }
public static Exchange createExchange() { ExchangeSpecification exSpec = new ExchangeSpecification(QuoineExchange.class); // enter your specific API access info here exSpec.setApiKey("KEY_TOKEN_ID"); exSpec.setSecretKey("KEY_USER_SECRET"); return ExchangeFactory.INSTANCE.createExchange(exSpec); } }
public static Exchange createExchange() { ExchangeSpecification exSpec = new ExchangeSpecification(CexIOExchange.class); exSpec.setUserName(""); exSpec.setSecretKey(""); exSpec.setApiKey(""); exSpec.setSslUri("https://cex.io"); return ExchangeFactory.INSTANCE.createExchange(exSpec); } }
/** * Returns the public key of the API key. * * @return the public key of the API key. */ public String getKey() { return exchange.getExchangeSpecification().getApiKey(); }
public static Exchange createTestExchange() { Exchange exchange = ExchangeFactory.INSTANCE.createExchange(TheRockExchange.class.getName()); exchange.getExchangeSpecification().setApiKey("API Key"); exchange.getExchangeSpecification().setSecretKey("Secret=="); exchange.getExchangeSpecification().setUserName("user"); exchange.applySpecification(exchange.getExchangeSpecification()); return exchange; } }
public static Exchange createExchange() { ExchangeSpecification exSpec = new ExchangeSpecification(BankeraExchange.class); exSpec.setExchangeSpecificParametersItem("clientId", ""); exSpec.setExchangeSpecificParametersItem("clientSecret", ""); return ExchangeFactory.INSTANCE.createExchange(exSpec); } }
/** * Constructor * * @param exchange */ protected OkCoinAccountServiceRaw(Exchange exchange) { super(exchange); tradepwd = (String) exchange.getExchangeSpecification().getExchangeSpecificParametersItem("tradepwd"); }
public static Exchange createExchange() { // Use the factory to get BitFlyer exchange API using default settings Exchange exchange = ExchangeFactory.INSTANCE.createExchange(BitflyerExchange.class.getName()); ExchangeSpecification bfxSpec = exchange.getDefaultExchangeSpecification(); bfxSpec.setApiKey(""); bfxSpec.setSecretKey(""); exchange.applySpecification(bfxSpec); return exchange; } }
protected EXXBaseService(Exchange exchange) { super(exchange); this.apiKey = exchange.getExchangeSpecification().getApiKey(); this.secretKey = exchange.getExchangeSpecification().getSecretKey(); } }
public static Exchange createExchange() { ExchangeSpecification exSpec = new ExchangeSpecification(ANXExchange.class); exSpec.setApiKey(""); exSpec.setSecretKey(""); return ExchangeFactory.INSTANCE.createExchange(exSpec); } }
public static Exchange createExchange() throws IOException { ExchangeSpecification exSpec = new ExchangeSpecification(DSXExchange.class); exSpec.setSecretKey("6FY66EC0YJ7YL4OHAC1X5ZEYAUUFRJBFI21I9S7A5PW7"); exSpec.setApiKey("396f12b3-9998-4ff8-800b-f29ab6d8e886"); exSpec.setSslUri("https://dsx.uk"); Exchange exchange = ExchangeFactory.INSTANCE.createExchange(exSpec); exchange.remoteInit(); return exchange; } }
public static Exchange createTestExchange() { Exchange okcoinExchange = ExchangeFactory.INSTANCE.createExchange(OkCoinExchange.class.getName()); okcoinExchange.getExchangeSpecification().setApiKey(""); okcoinExchange.getExchangeSpecification().setSecretKey(""); okcoinExchange.getExchangeSpecification().setUserName(""); okcoinExchange.applySpecification(okcoinExchange.getExchangeSpecification()); return okcoinExchange; } }
public static Exchange getExchange() { ExchangeSpecification spec = new ExchangeSpecification(PoloniexExchange.class); spec.setApiKey("your-api-key-here"); spec.setSecretKey("your-api-key-here"); return ExchangeFactory.INSTANCE.createExchange(spec); } }
public static Exchange getExchange() { ExchangeSpecification exSpec = new ExchangeSpecification(KucoinExchange.class); exSpec.setApiKey("your-api-key"); exSpec.setSecretKey("your-secret-key"); return ExchangeFactory.INSTANCE.createExchange(exSpec); } }
public static Exchange getExchange() { ExchangeSpecification exSpec = new ExchangeSpecification(BittrexExchange.class); exSpec.setApiKey("407495e35a2b4de2823b6eb70f15d767"); exSpec.setSecretKey("77deef66d6bd4a6e80332dd4dd502f10"); return ExchangeFactory.INSTANCE.createExchange(exSpec); } }
public static Exchange createExchange() { ExchangeSpecification exSpec = new ExchangeSpecification(HitbtcExchange.class); exSpec.setApiKey(""); exSpec.setSecretKey(""); return ExchangeFactory.INSTANCE.createExchange(exSpec); } }
public static Exchange getExchange() { ExchangeSpecification exSpec = new ExchangeSpecification(BiboxExchange.class); exSpec.setApiKey("your-api-key"); exSpec.setSecretKey("your-secret-key"); return ExchangeFactory.INSTANCE.createExchange(exSpec); } }
public static Exchange getExchange() { ExchangeSpecification exSpec = new ExchangeSpecification(CCEXExchange.class); exSpec.setApiKey(""); exSpec.setSecretKey(""); return ExchangeFactory.INSTANCE.createExchange(exSpec); } }
public static Exchange createExchange() { ExchangeSpecification exSpec = new ExchangeSpecification(AbucoinsExchange.class); exSpec.setSecretKey(""); exSpec.setApiKey(""); exSpec.setPassword(""); return ExchangeFactory.INSTANCE.createExchange(exSpec); } }