com.xeiam.xchange.examples.lakebtc.LakeBTCExamplesUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-examples Show documentation
Show all versions of xchange-examples Show documentation
Provides a set of examples that demonstrate how to use XChange in client applications
The newest version!
package com.xeiam.xchange.examples.lakebtc;
import com.xeiam.xchange.Exchange;
import com.xeiam.xchange.ExchangeFactory;
import com.xeiam.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