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

com.xeiam.xchange.examples.lakebtc.account.LakeBTCAccountRawSpecificDemo 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.lakebtc.account;

import java.io.IOException;

import com.xeiam.xchange.Exchange;
import com.xeiam.xchange.examples.lakebtc.LakeBTCExamplesUtils;
import com.xeiam.xchange.lakebtc.dto.account.LakeBTCAccountInfoResponse;
import com.xeiam.xchange.lakebtc.service.polling.LakeBTCAccountServiceRaw;

public class LakeBTCAccountRawSpecificDemo {

  public static void main(String[] args) throws IOException {

    Exchange lakebtcExchange = LakeBTCExamplesUtils.createTestExchange();

    LakeBTCAccountServiceRaw rawLakeBtcAcctService = (LakeBTCAccountServiceRaw) lakebtcExchange.getPollingAccountService();

    LakeBTCAccountInfoResponse balanceInfo = rawLakeBtcAcctService.getLakeBTCAccountInfo();
    System.out.println(balanceInfo);

    //TODO: add more demos
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy