public class KrakenAccountService extends KrakenAccountServiceRaw implements PollingAccountService
kraken, signatureCreatorexchange| Constructor and Description |
|---|
KrakenAccountService(Exchange exchange)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
AccountInfo |
getAccountInfo()
Get account info
|
String |
requestDepositAddress(String currency,
String... args)
Request a digital currency address to fund this account.
|
String |
withdrawFunds(String currency,
BigDecimal amount,
String address)
Withdraw funds from this account.
|
getDepositAddresses, getDepositMethods, getKrakenBalance, getKrakenLedgerInfo, getKrakenLedgerInfo, getKrakenTradeBalance, getKrakenTradeBalance, getTradeVolume, getWithdrawInfo, queryKrakenLedger, withdrawcheckResult, createDelimitedString, createKrakenCurrencyPair, createKrakenCurrencyPair, delimitAssetPairs, delimitAssets, delimitSet, getExchangeSymbols, getKrakenAssetPairs, getKrakenAssets, getKrakenCurrencyCode, getServerTimeverifyOrder, verifyOrder, verifyOrderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExchangeSymbolspublic KrakenAccountService(Exchange exchange)
exchange - public AccountInfo getAccountInfo() throws IOException
PollingAccountServicegetAccountInfo in interface PollingAccountServiceIOException - - Indication that a networking error occurred while fetching JSON datapublic String withdrawFunds(String currency, BigDecimal amount, String address) throws IOException
PollingAccountServicewithdrawFunds in interface PollingAccountServicecurrency - The currency to withdrawamount - The amount to withdrawaddress - The destination addressIOException - - Indication that a networking error occurred while fetching JSON datapublic String requestDepositAddress(String currency, String... args) throws IOException
PollingAccountServicerequestDepositAddress in interface PollingAccountServicecurrency - The digital currency that corresponds to the desired deposit address.IOException - - Indication that a networking error occurred while fetching JSON dataCopyright © 2012–2017 Xeiam, LLC. All rights reserved.