org.knowm.xchange.examples.bithumb.BithumbDemoUtils 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 org.knowm.xchange.examples.bithumb;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.ExchangeFactory;
import org.knowm.xchange.ExchangeSpecification;
import org.knowm.xchange.bithumb.BithumbExchange;
public class BithumbDemoUtils {
public static Exchange createExchange() {
Exchange exchange = ExchangeFactory.INSTANCE.createExchange(BithumbExchange.class);
ExchangeSpecification bithumbSpec = exchange.getDefaultExchangeSpecification();
bithumbSpec.setApiKey("");
bithumbSpec.setSecretKey("");
exchange.applySpecification(bithumbSpec);
return exchange;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy