public class KrakenAccountServiceRaw extends KrakenBasePollingService
kraken, signatureCreatorexchange| Constructor and Description |
|---|
KrakenAccountServiceRaw(Exchange exchange)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
KrakenDepositAddress[] |
getDepositAddresses(String currency,
String method,
boolean newAddress) |
KrakenDepositMethods[] |
getDepositMethods(String assetPairs,
String assets) |
Map<String,BigDecimal> |
getKrakenBalance()
To avoid having to map to Kraken currency codes (e.g., ZUSD) use
KrakenAccountService.getAccountInfo() instead. |
Map<String,KrakenLedger> |
getKrakenLedgerInfo()
Retrieves the full account Ledger which represents all account asset activity.
|
Map<String,KrakenLedger> |
getKrakenLedgerInfo(LedgerType ledgerType,
String start,
String end,
String offset,
String... assets)
Retrieves the Ledger which represents all account asset activity.
|
KrakenTradeBalanceInfo |
getKrakenTradeBalance()
Retrieves the user's trade balance using the default currency ZUSD to determine the balance.
|
KrakenTradeBalanceInfo |
getKrakenTradeBalance(String valuationCurrency) |
KrakenTradeVolume |
getTradeVolume(CurrencyPair... currencyPairs) |
WithdrawInfo |
getWithdrawInfo(String assetPairs,
String assets,
String key,
BigDecimal amount) |
Map<String,KrakenLedger> |
queryKrakenLedger(String... ledgerIds) |
Withdraw |
withdraw(String assetPairs,
String assets,
String key,
BigDecimal amount) |
checkResult, createDelimitedString, createKrakenCurrencyPair, createKrakenCurrencyPair, delimitAssetPairs, delimitAssets, delimitSet, getExchangeSymbols, getKrakenAssetPairs, getKrakenAssets, getKrakenCurrencyCode, getServerTimeverifyOrder, verifyOrder, verifyOrderpublic KrakenAccountServiceRaw(Exchange exchange)
exchange - public Map<String,BigDecimal> getKrakenBalance() throws IOException
KrakenAccountService.getAccountInfo() instead.IOExceptionpublic KrakenDepositAddress[] getDepositAddresses(String currency, String method, boolean newAddress) throws IOException
IOExceptionpublic KrakenDepositMethods[] getDepositMethods(String assetPairs, String assets) throws IOException
IOExceptionpublic WithdrawInfo getWithdrawInfo(String assetPairs, String assets, String key, BigDecimal amount) throws IOException
IOExceptionpublic Withdraw withdraw(String assetPairs, String assets, String key, BigDecimal amount) throws IOException
IOExceptionpublic KrakenTradeBalanceInfo getKrakenTradeBalance(String valuationCurrency) throws IOException
valuationCurrency - - Base asset used to determine balance (can be null, defaults to USD). The asset should be provided in the form of a
standard currency code, i.e., EUR. It will be converted to the appropriate Kraken Asset code.IOExceptionpublic KrakenTradeBalanceInfo getKrakenTradeBalance() throws IOException
IOExceptionpublic Map<String,KrakenLedger> getKrakenLedgerInfo() throws IOException
IOExceptionpublic Map<String,KrakenLedger> getKrakenLedgerInfo(LedgerType ledgerType, String start, String end, String offset, String... assets) throws IOException
assets - - Set of assets to restrict output to (can be null, defaults to all)ledgerType - - LedgerType to retrieve (can be null, defaults to all types)start - - starting unix timestamp or ledger id of results (can be null)end - - ending unix timestamp or ledger id of results (can be null)offset - - result offset (can be null)IOExceptionpublic Map<String,KrakenLedger> queryKrakenLedger(String... ledgerIds) throws IOException
IOExceptionpublic KrakenTradeVolume getTradeVolume(CurrencyPair... currencyPairs) throws IOException
IOExceptionCopyright © 2012–2017 Xeiam, LLC. All rights reserved.