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

org.knowm.xchange.examples.coingi.account.CoingiBalancesDemo Maven / Gradle / Ivy

Go to download

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

The newest version!
package org.knowm.xchange.examples.coingi.account;

import java.io.IOException;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.dto.account.AccountInfo;
import org.knowm.xchange.examples.coingi.CoingiDemoUtils;

public class CoingiBalancesDemo {
  public static void main(String[] args) throws IOException {
    Exchange coingi = CoingiDemoUtils.createExchange();

    AccountInfo accountInfo = coingi.getAccountService().getAccountInfo();
    System.out.printf("Wallet balances: %s\n", accountInfo.getWallet().getBalances());
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy