Java Code Examples for org.knowm.xchange.ExchangeSpecification#setExchangeDescription()

The following examples show how to use org.knowm.xchange.ExchangeSpecification#setExchangeDescription() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: OkCoinExchange.java    From zheshiyigeniubidexiangmu with MIT License 6 votes vote down vote up
@Override
public ExchangeSpecification getDefaultExchangeSpecification() {

  ExchangeSpecification exchangeSpecification =
      new ExchangeSpecification(this.getClass().getCanonicalName());
  exchangeSpecification.setSslUri("https://www.okex.com/api");
  exchangeSpecification.setHost("www.okex.com");
  exchangeSpecification.setExchangeName("OKCoin");
  exchangeSpecification.setExchangeDescription(
      "OKCoin is a globally oriented crypto-currency trading platform.");

  // set to true to automatically use the Intl_ parameters for ssluri and host
  exchangeSpecification.setExchangeSpecificParametersItem("Use_Intl", false);
  exchangeSpecification.setExchangeSpecificParametersItem("Use_Futures", false);

  return exchangeSpecification;
}
 
Example 2
Source File: BitmexExchange.java    From zheshiyigeniubidexiangmu with MIT License 5 votes vote down vote up
@Override
public ExchangeSpecification getDefaultExchangeSpecification() {

  ExchangeSpecification exchangeSpecification =
      new ExchangeSpecification(this.getClass().getCanonicalName());
  exchangeSpecification.setSslUri("https://www.bitmex.com/");
  exchangeSpecification.setHost("bitmex.com");
  exchangeSpecification.setPort(80);
  exchangeSpecification.setExchangeName("Bitmex");
  exchangeSpecification.setExchangeDescription("Bitmex is a bitcoin exchange");
  exchangeSpecification.setExchangeSpecificParametersItem("Use_Sandbox", false);
  return exchangeSpecification;
}
 
Example 3
Source File: BinanceExchange.java    From zheshiyigeniubidexiangmu with MIT License 5 votes vote down vote up
@Override
public ExchangeSpecification getDefaultExchangeSpecification() {

  ExchangeSpecification spec = new ExchangeSpecification(this.getClass().getCanonicalName());
  spec.setSslUri("https://api.binance.com");
  spec.setHost("www.binance.com");
  spec.setPort(80);
  spec.setExchangeName("Binance");
  spec.setExchangeDescription("Binance Exchange.");
  AuthUtils.setApiAndSecretKey(spec, "binance");
  return spec;
}
 
Example 4
Source File: BiboxExchange.java    From zheshiyigeniubidexiangmu with MIT License 5 votes vote down vote up
@Override
public ExchangeSpecification getDefaultExchangeSpecification() {
  ExchangeSpecification exchangeSpecification =
      new ExchangeSpecification(this.getClass().getCanonicalName());
  exchangeSpecification.setSslUri("https://api.bibox.com/");
  exchangeSpecification.setHost("bibox.com");
  exchangeSpecification.setPort(80);
  exchangeSpecification.setExchangeName("Bibox");
  exchangeSpecification.setExchangeDescription("AI ENHANCED ENCRYPTED DIGITAL ASSET EXCHANGE.");

  return exchangeSpecification;
}
 
Example 5
Source File: HuobiExchange.java    From zheshiyigeniubidexiangmu with MIT License 5 votes vote down vote up
@Override
public ExchangeSpecification getDefaultExchangeSpecification() {
  ExchangeSpecification exchangeSpecification =
      new ExchangeSpecification(this.getClass().getCanonicalName());
  exchangeSpecification.setSslUri("https://api.huobi.pro");
  exchangeSpecification.setHost("api.huobi.pro");
  exchangeSpecification.setPort(80);
  exchangeSpecification.setExchangeName("Huobi");
  exchangeSpecification.setExchangeDescription(
      "Huobi is a Chinese digital currency trading platform and exchange based in Beijing");
  return exchangeSpecification;
}
 
Example 6
Source File: BitfinexExchange.java    From zheshiyigeniubidexiangmu with MIT License 5 votes vote down vote up
@Override
public ExchangeSpecification getDefaultExchangeSpecification() {

  ExchangeSpecification exchangeSpecification =
      new ExchangeSpecification(this.getClass().getCanonicalName());
  exchangeSpecification.setSslUri("https://api.bitfinex.com/");
  exchangeSpecification.setHost("api.bitfinex.com");
  exchangeSpecification.setPort(80);
  exchangeSpecification.setExchangeName("BitFinex");
  exchangeSpecification.setExchangeDescription("BitFinex is a bitcoin exchange.");

  return exchangeSpecification;
}
 
Example 7
Source File: BitfinexExchange.java    From zheshiyigeniubidexiangmu with MIT License 5 votes vote down vote up
@Override
public ExchangeSpecification getDefaultExchangeSpecification() {

  ExchangeSpecification exchangeSpecification =
      new ExchangeSpecification(this.getClass().getCanonicalName());
  exchangeSpecification.setSslUri("https://api.bitfinex.com/");
  exchangeSpecification.setHost("api.bitfinex.com");
  exchangeSpecification.setPort(80);
  exchangeSpecification.setExchangeName("Bitfinex");
  exchangeSpecification.setExchangeDescription("Bitfnex is a cryptocurrency and fiat exchange.");

  return exchangeSpecification;
}
 
Example 8
Source File: BitZExchange.java    From zheshiyigeniubidexiangmu with MIT License 5 votes vote down vote up
@Override
public ExchangeSpecification getDefaultExchangeSpecification() {
  ExchangeSpecification exchangeSpecification =
      new ExchangeSpecification(this.getClass().getCanonicalName());
  exchangeSpecification.setSslUri("https://www.bit-z.com");
  exchangeSpecification.setHost("http://www.bit-z.com");
  exchangeSpecification.setPort(80);
  exchangeSpecification.setExchangeName("Bit-Z");
  exchangeSpecification.setExchangeDescription(
      "Bit-Z is a Bitcoin exchange registered in Hong Kong.");

  return exchangeSpecification;
}
 
Example 9
Source File: CoinbaseExchange.java    From zheshiyigeniubidexiangmu with MIT License 5 votes vote down vote up
@Override
public ExchangeSpecification getDefaultExchangeSpecification() {

  final ExchangeSpecification exchangeSpecification =
      new ExchangeSpecification(this.getClass().getCanonicalName());
  exchangeSpecification.setSslUri("https://coinbase.com");
  exchangeSpecification.setHost("coinbase.com");
  exchangeSpecification.setExchangeName("Coinbase");
  exchangeSpecification.setExchangeDescription(
      "Founded in June of 2012, Coinbase is a bitcoin wallet and platform where merchants and consumers can transact with the new digital currency bitcoin.");
  return exchangeSpecification;
}
 
Example 10
Source File: CoinbaseExchange.java    From zheshiyigeniubidexiangmu with MIT License 5 votes vote down vote up
@Override
public ExchangeSpecification getDefaultExchangeSpecification() {

  final ExchangeSpecification exchangeSpecification =
      new ExchangeSpecification(this.getClass().getCanonicalName());
  exchangeSpecification.setSslUri("https://api.coinbase.com/v2");
  exchangeSpecification.setHost("api.coinbase.com");
  exchangeSpecification.setExchangeName("Coinbase");
  exchangeSpecification.setExchangeDescription(
      "Founded in June of 2012, Coinbase is a bitcoin wallet and platform where merchants and consumers can transact with the new digital currency bitcoin.");
  return exchangeSpecification;
}
 
Example 11
Source File: FCoinExchange.java    From zheshiyigeniubidexiangmu with MIT License 5 votes vote down vote up
@Override
public ExchangeSpecification getDefaultExchangeSpecification() {

  ExchangeSpecification exchangeSpecification =
      new ExchangeSpecification(this.getClass().getCanonicalName());
  exchangeSpecification.setSslUri("https://api.fcoin.com");
  exchangeSpecification.setHost("api.fcoin.com");
  exchangeSpecification.setExchangeName("FCoin");
  exchangeSpecification.setMetaDataJsonFileOverride(null);
  exchangeSpecification.setExchangeDescription(
      "FCoin is a globally oriented crypto-currency trading platform.");

  return exchangeSpecification;
}
 
Example 12
Source File: BlockchainExchange.java    From zheshiyigeniubidexiangmu with MIT License 5 votes vote down vote up
@Override
public ExchangeSpecification getDefaultExchangeSpecification() {

  ExchangeSpecification exchangeSpecification =
      new ExchangeSpecification(this.getClass().getCanonicalName());
  exchangeSpecification.setPlainTextUri("https://blockchain.info");
  exchangeSpecification.setHost("blockchain.info");
  exchangeSpecification.setPort(80);
  exchangeSpecification.setExchangeName("Blockchain");
  exchangeSpecification.setExchangeDescription(
      "Blockchain provide an API for accessing the Botcoin Network.");
  return exchangeSpecification;
}