public CoinEggBaseService(Exchange exchange) { super(exchange); this.coinEgg = RestProxyFactory.createProxy( CoinEgg.class, exchange.getExchangeSpecification().getSslUri()); } }
public BitZBaseService(Exchange exchange) { super(exchange); this.bitz = RestProxyFactory.createProxy(BitZ.class, exchange.getExchangeSpecification().getSslUri()); } }
/** * Constructor * * @param exchange */ public OkCoinMarketDataServiceRaw(Exchange exchange) { super(exchange); okCoin = RestProxyFactory.createProxy( OkCoin.class, exchange.getExchangeSpecification().getSslUri(), getClientConfig()); }
/** * Constructor * * @param exchange */ public GatecoinMarketDataServiceRaw(Exchange exchange) { super(exchange); this.gatecoin = RestProxyFactory.createProxy( Gatecoin.class, exchange.getExchangeSpecification().getSslUri(), getClientConfig()); }
public CryptonitMarketDataServiceRaw(Exchange exchange) { super(exchange); this.cryptonitV2 = RestProxyFactory.createProxy( CryptonitV2.class, exchange.getExchangeSpecification().getSslUri(), getClientConfig()); }
public KoineksMarketDataServiceRaw(Exchange exchange) { super(exchange); this.koineks = RestProxyFactory.createProxy( Koineks.class, exchange.getExchangeSpecification().getSslUri(), getClientConfig()); }
public BTCMarketsMarketDataServiceRaw(Exchange exchange) { super(exchange); this.btcmarkets = RestProxyFactory.createProxy( BTCMarkets.class, exchange.getExchangeSpecification().getSslUri(), getClientConfig()); }
public BitsoMarketDataServiceRaw(Exchange exchange) { super(exchange); this.bitso = RestProxyFactory.createProxy( Bitso.class, exchange.getExchangeSpecification().getSslUri(), getClientConfig()); }
/** * Constructor * * @param exchange */ public CexIOMarketDataServiceRaw(Exchange exchange) { super(exchange); this.cexio = RestProxyFactory.createProxy( CexIO.class, exchange.getExchangeSpecification().getSslUri(), getClientConfig()); }
public CoinMarketCapMarketDataServiceRaw(Exchange exchange) { super(exchange); this.coinmarketcap = RestProxyFactory.createProxy( CoinMarketCap.class, exchange.getExchangeSpecification().getSslUri(), getClientConfig()); }
public EXXAccountServiceRaw(Exchange exchange) { super(exchange); this.exxAuthenticated = RestProxyFactory.createProxy( EXXAuthenticated.class, exchange.getExchangeSpecification().getSslUri(), getClientConfig()); this.apiKey = super.apiKey; this.secretKey = super.secretKey; this.nonceFactory = exchange.getNonceFactory(); }
public CoinsuperMarketDataServiceRaw(Exchange exchange) { super(exchange); this.coinsuper = RestProxyFactory.createProxy( CoinsuperAuthenticated.class, exchange.getExchangeSpecification().getSslUri(), getClientConfig()); this.apiKey = super.apiKey; this.secretKey = super.secretKey; this.nonceFactory = exchange.getNonceFactory(); }
public GatecoinTradeServiceRaw(Exchange exchange) { super(exchange); this.gatecoinAuthenticated = RestProxyFactory.createProxy( GatecoinAuthenticated.class, exchange.getExchangeSpecification().getSslUri(), getClientConfig()); this.signatureCreator = GatecoinDigest.createInstance(exchange.getExchangeSpecification().getSecretKey()); }
public BxBaseService(Exchange exchange) { super(exchange); bx = RestProxyFactory.createProxy( BxAuthenticated.class, exchange.getExchangeSpecification().getSslUri(), getClientConfig()); signatureCreator = BxDigest.createInstance(exchange.getExchangeSpecification().getSecretKey()); }
public LunoBaseService(Exchange exchange) { super(exchange); lunoAPI = new LunoAPIImpl( exchange.getExchangeSpecification().getApiKey(), exchange.getExchangeSpecification().getSecretKey(), exchange.getExchangeSpecification().getSslUri(), getClientConfig()); } }
protected BTCMarketsAccountServiceRaw(Exchange exchange) { super(exchange); this.nonceFactory = exchange.getNonceFactory(); this.btcm = RestProxyFactory.createProxy( BTCMarketsAuthenticated.class, exchange.getExchangeSpecification().getSslUri(), getClientConfig()); this.signer = new BTCMarketsDigest(exchange.getExchangeSpecification().getSecretKey()); }
public CoinEggAccountServiceRaw(Exchange exchange) { super(exchange); ExchangeSpecification spec = exchange.getExchangeSpecification(); this.apiKey = spec.getApiKey(); this.signer = CoinEggDigest.createInstance(spec.getSecretKey()); this.tradePassword = spec.getPassword(); this.nonceFactory = exchange.getNonceFactory(); this.coinEggAuthenticated = RestProxyFactory.createProxy( CoinEggAuthenticated.class, exchange.getExchangeSpecification().getSslUri()); }
public LivecoinBaseService(Class<T> type, Exchange exchange) { super(exchange); this.service = RestProxyFactory.createProxy( type, exchange.getExchangeSpecification().getSslUri(), getClientConfig()); this.apiKey = exchange.getExchangeSpecification().getApiKey(); this.signatureCreator = LivecoinDigest.createInstance(exchange.getExchangeSpecification().getSecretKey(), apiKey); } }
protected HitbtcBaseService(Exchange exchange) { super(exchange); String apiKey = exchange.getExchangeSpecification().getApiKey(); String secretKey = exchange.getExchangeSpecification().getSecretKey(); ClientConfig config = getClientConfig(); ClientConfigUtil.addBasicAuthCredentials(config, apiKey, secretKey); hitbtc = RestProxyFactory.createProxy( HitbtcAuthenticated.class, exchange.getExchangeSpecification().getSslUri(), config); } }
@Override protected void initServices() { ExchangeSpecification spec = getExchangeSpecification(); AcxApi api = RestProxyFactory.createProxy(AcxApi.class, spec.getSslUri()); AcxMapper mapper = new AcxMapper(); this.marketDataService = new AcxMarketDataService(api, mapper); if (spec.getApiKey() != null && spec.getSecretKey() != null) { AcxSignatureCreator signatureCreator = new AcxSignatureCreator(spec.getSecretKey()); this.accountService = new AcxAccountService(api, mapper, signatureCreator, spec.getApiKey()); this.tradeService = new AcxTradeService(api, mapper, signatureCreator, spec.getApiKey()); } }