Package org.knowm.xchange.quoine.service
Class QuoineAccountService
- java.lang.Object
-
- org.knowm.xchange.service.BaseExchangeService
-
- org.knowm.xchange.quoine.service.QuoineBaseService
-
- org.knowm.xchange.quoine.service.QuoineAccountServiceRaw
-
- org.knowm.xchange.quoine.service.QuoineAccountService
-
- All Implemented Interfaces:
AccountService,BaseService
public class QuoineAccountService extends QuoineAccountServiceRaw implements AccountService
XChange service to provide the following toExchange:- ANX specific methods to handle account-related operations
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuoineAccountService.QuoineFundingHistoryParam
-
Field Summary
-
Fields inherited from class org.knowm.xchange.quoine.service.QuoineBaseService
contentType, quoine, QUOINE_API_VERSION, secret, signatureCreator, tokenID
-
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
-
Constructor Summary
Constructors Constructor Description QuoineAccountService(BaseExchange baseExchange, boolean useMargin)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TradeHistoryParamscreateFundingHistoryParams()AccountInfogetAccountInfo()List<FundingRecord>getFundingHistory(TradeHistoryParams params)StringrequestDepositAddress(Currency currency, String... args)StringwithdrawFunds(Currency currency, BigDecimal amount, String address)-
Methods inherited from class org.knowm.xchange.quoine.service.QuoineAccountServiceRaw
depositHistory, getQuoineAccountBalance, getQuoineCryptoAccountInfo, getQuoineFiatAccountInfo, getQuoineTradingAccountInfo, withdrawalHistory
-
Methods inherited from class org.knowm.xchange.quoine.service.QuoineBaseService
handleHttpError, productId
-
Methods inherited from class org.knowm.xchange.service.BaseExchangeService
getClientConfig, verifyOrder, verifyOrder, verifyOrder
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.knowm.xchange.service.account.AccountService
getDynamicTradingFees, withdrawFunds
-
-
-
-
Constructor Detail
-
QuoineAccountService
public QuoineAccountService(BaseExchange baseExchange, boolean useMargin)
Constructor
-
-
Method Detail
-
getAccountInfo
public AccountInfo getAccountInfo() throws IOException
- Specified by:
getAccountInfoin interfaceAccountService- Throws:
IOException
-
withdrawFunds
public String withdrawFunds(Currency currency, BigDecimal amount, String address) throws IOException
- Specified by:
withdrawFundsin interfaceAccountService- Throws:
IOException
-
requestDepositAddress
public String requestDepositAddress(Currency currency, String... args) throws IOException
- Specified by:
requestDepositAddressin interfaceAccountService- Throws:
IOException
-
createFundingHistoryParams
public TradeHistoryParams createFundingHistoryParams()
- Specified by:
createFundingHistoryParamsin interfaceAccountService
-
getFundingHistory
public List<FundingRecord> getFundingHistory(TradeHistoryParams params) throws IOException
- Specified by:
getFundingHistoryin interfaceAccountService- Throws:
IOException
-
-