org.knowm.xchange.bitcoinde.BitcoindeExchange Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-bitcoinde Show documentation
Show all versions of xchange-bitcoinde Show documentation
XChange implementation for Bitcoin.de exchange.
The newest version!
package org.knowm.xchange.bitcoinde;
import org.knowm.xchange.BaseExchange;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.ExchangeSpecification;
import org.knowm.xchange.bitcoinde.service.BitcoindeMarketDataService;
/**
* @author matthewdowney
*/
public class BitcoindeExchange extends BaseExchange implements Exchange {
@Override
public ExchangeSpecification getDefaultExchangeSpecification() {
ExchangeSpecification exchangeSpecification = new ExchangeSpecification(this.getClass());
exchangeSpecification.setSslUri("https://api.bitcoin.de/v2/");
exchangeSpecification.setHost("bitcoin.de");
exchangeSpecification.setPort(80);
exchangeSpecification.setExchangeName("Bitcoin.de");
exchangeSpecification.setExchangeDescription(
"Bitcoin.de is the largest bitcoin marketplace in Europe. All servers are located in Germany.");
return exchangeSpecification;
}
@Override
protected void initServices() {
this.marketDataService = new BitcoindeMarketDataService(this);
this.tradeService = null;
this.accountService = null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy