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

org.knowm.xchange.examples.lakebtc.LakeBTCExamplesUtils Maven / Gradle / Ivy

package org.knowm.xchange.examples.lakebtc;

import org.knowm.xchange.Exchange;
import org.knowm.xchange.ExchangeFactory;
import org.knowm.xchange.lakebtc.LakeBTCExchange;

/**
 * Created by cristian.lucaci on 12/19/2014.
 */
public class LakeBTCExamplesUtils {

  private LakeBTCExamplesUtils() {

  }

  public static Exchange createTestExchange() {

    Exchange lakeBtcExchange = ExchangeFactory.INSTANCE.createExchange(LakeBTCExchange.class.getName());

    lakeBtcExchange.getExchangeSpecification().setSslUri("https://www.LakeBTC.com");
    lakeBtcExchange.getExchangeSpecification().setHost("https://lakebtc.com");
    lakeBtcExchange.getExchangeSpecification().setPort(80);
    lakeBtcExchange.getExchangeSpecification().setApiKey("API Key");
    lakeBtcExchange.getExchangeSpecification().setSecretKey("Secret==");
    lakeBtcExchange.getExchangeSpecification().setUserName("email");
    lakeBtcExchange.applySpecification(lakeBtcExchange.getExchangeSpecification());
    return lakeBtcExchange;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy