All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.knowm.xchange.koineks.KoineksExchange Maven / Gradle / Ivy

The newest version!
package org.knowm.xchange.koineks;

import org.knowm.xchange.BaseExchange;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.ExchangeSpecification;
import org.knowm.xchange.koineks.service.KoineksMarketDataService;

/**
 * @author semihunaldi
 */
public class KoineksExchange extends BaseExchange implements Exchange {

  @Override
  protected void initServices() {

    this.marketDataService = new KoineksMarketDataService(this);
  }

  @Override
  public ExchangeSpecification getDefaultExchangeSpecification() {

    ExchangeSpecification exchangeSpecification = new ExchangeSpecification(this.getClass());
    exchangeSpecification.setSslUri("https://koineks.com");
    exchangeSpecification.setHost("www.koineks.com");
    exchangeSpecification.setPort(80);
    exchangeSpecification.setExchangeName("Koineks");
    exchangeSpecification.setExchangeDescription(
        "Koineks is BTC, ETH, LTC, DASH and DOGE exchange registered in Turkey.");
    return exchangeSpecification;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy