com.xeiam.xchange.examples.independentreserve.IndependentReserveDemoUtils 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.independentreserve;
import com.xeiam.xchange.Exchange;
import com.xeiam.xchange.ExchangeFactory;
import com.xeiam.xchange.ExchangeSpecification;
import com.xeiam.xchange.independentreserve.IndependentReserveExchange;
/**
* Author: Kamil Zbikowski Date: 4/10/15
*/
public class IndependentReserveDemoUtils {
public static Exchange createExchange() {
ExchangeSpecification exSpec = new IndependentReserveExchange().getDefaultExchangeSpecification();
exSpec.setApiKey("dfdafa-d483-43fafdafda58-bd02-fdfdafda");
exSpec.setSecretKey("dfgd34523ffsgsgfs3693dgfsgfsgfsg34f");
return ExchangeFactory.INSTANCE.createExchange(exSpec);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy