org.knowm.xchange.examples.cexio.account.AccountInfoDemo 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.cexio.account;
import java.io.IOException;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.dto.account.AccountInfo;
import org.knowm.xchange.examples.cexio.CexIODemoUtils;
import org.knowm.xchange.service.account.AccountService;
/** Author: brox Since: 2/6/14 */
public class AccountInfoDemo {
public static void main(String[] args) throws IOException {
Exchange exchange = CexIODemoUtils.createExchange();
AccountService accountService = exchange.getAccountService();
// Get the account information
AccountInfo accountInfo = accountService.getAccountInfo();
System.out.println("AccountInfo as String: " + accountInfo.toString());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy