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

org.knowm.xchange.kucoin.KucoinAccountServiceRaw Maven / Gradle / Ivy

package org.knowm.xchange.kucoin;

import static org.knowm.xchange.kucoin.KucoinExceptionClassifier.classifyingExceptions;

import java.io.IOException;
import java.util.List;
import org.knowm.xchange.kucoin.dto.response.AccountBalancesResponse;

public class KucoinAccountServiceRaw extends KucoinBaseService {

  protected KucoinAccountServiceRaw(KucoinExchange exchange) {
    super(exchange);
  }

  public List getKucoinAccounts() throws IOException {
    checkAuthenticated();
    return classifyingExceptions(
        () -> accountApi.getAccountList(apiKey, digest, nonceFactory, passphrase, null, null));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy