
org.knowm.xchange.coinsuper.CoinsuperExchange Maven / Gradle / Ivy
package org.knowm.xchange.coinsuper;
/** author: kevin gates */
import org.knowm.xchange.BaseExchange;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.ExchangeSpecification;
import org.knowm.xchange.coinsuper.service.CoinsuperAccountService;
import org.knowm.xchange.coinsuper.service.CoinsuperMarketDataService;
import org.knowm.xchange.coinsuper.service.CoinsuperTradeService;
import org.knowm.xchange.utils.AuthUtils;
public class CoinsuperExchange extends BaseExchange implements Exchange {
@Override
protected void initServices() {
this.accountService = new CoinsuperAccountService(this);
this.marketDataService = new CoinsuperMarketDataService(this);
this.tradeService = new CoinsuperTradeService(this);
}
@Override
public ExchangeSpecification getDefaultExchangeSpecification() {
ExchangeSpecification exchangeSpecification = new ExchangeSpecification(this.getClass());
exchangeSpecification.setSslUri("https://api.coinsuper.com");
exchangeSpecification.setHost("api.coinsuper.com");
exchangeSpecification.setPort(80);
exchangeSpecification.setExchangeName("Coinsuper");
exchangeSpecification.setExchangeDescription(
"Coinsuper is a world leading digital asset exchange.");
AuthUtils.setApiAndSecretKey(exchangeSpecification, "coinsuper");
return exchangeSpecification;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy