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

com.xeiam.xchange.examples.bleutrade.BleutradeDemoUtils Maven / Gradle / Ivy

Go to download

Provides a set of examples that demonstrate how to use XChange in client applications

The newest version!
package com.xeiam.xchange.examples.bleutrade;

import com.xeiam.xchange.Exchange;
import com.xeiam.xchange.ExchangeFactory;
import com.xeiam.xchange.ExchangeSpecification;
import com.xeiam.xchange.bleutrade.BleutradeExchange;

public class BleutradeDemoUtils {

  public static Exchange getExchange() {

    Exchange bleutrade = ExchangeFactory.INSTANCE.createExchange(BleutradeExchange.class.getName());
    ExchangeSpecification exchangeSpecification = bleutrade.getDefaultExchangeSpecification();
    exchangeSpecification.setApiKey("");
    exchangeSpecification.setSecretKey("");
    bleutrade.applySpecification(exchangeSpecification);

    return bleutrade;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy