Package com.xeiam.xchange.mintpal

Source Code of com.xeiam.xchange.mintpal.MintPalExchange

package com.xeiam.xchange.mintpal;

import com.xeiam.xchange.BaseExchange;
import com.xeiam.xchange.Exchange;
import com.xeiam.xchange.ExchangeSpecification;
import com.xeiam.xchange.mintpal.service.polling.MintPalMarketDataService;

/**
* @author jamespedwards42
*/
public class MintPalExchange extends BaseExchange implements Exchange {

  @Override
  public void applySpecification(final ExchangeSpecification exchangeSpecification) {

    super.applySpecification(exchangeSpecification);

    this.pollingMarketDataService = new MintPalMarketDataService(exchangeSpecification);

  }

  @Override
  public ExchangeSpecification getDefaultExchangeSpecification() {

    final ExchangeSpecification exchangeSpecification = new ExchangeSpecification(this.getClass().getCanonicalName());
    exchangeSpecification.setSslUri("https://api.mintpal.com");
    exchangeSpecification.setExchangeName("MintPal");
    exchangeSpecification.setExchangeDescription("MintPal Limited is a UK based private company (registered UK company #09009856) that focuses on the exchanging of cryptocurrencies. ");

    return exchangeSpecification;
  }
}
TOP

Related Classes of com.xeiam.xchange.mintpal.MintPalExchange

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.