org.knowm.xchange.examples.gateio.GateioDemoUtils 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.gateio;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.ExchangeFactory;
import org.knowm.xchange.ExchangeSpecification;
import org.knowm.xchange.gateio.GateioExchange;
public class GateioDemoUtils {
public static Exchange createExchange() {
ExchangeSpecification exSpec = new GateioExchange().getDefaultExchangeSpecification();
exSpec.setApiKey("");
exSpec.setSecretKey("");
return ExchangeFactory.INSTANCE.createExchange(exSpec);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy