Class BitstampAccountService
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.bitstamp.service.BitstampBaseService
org.knowm.xchange.bitstamp.service.BitstampAccountServiceRaw
org.knowm.xchange.bitstamp.service.BitstampAccountService
- All Implemented Interfaces:
AccountService,BaseService
- Author:
- Matija Mazi
-
Field Summary
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFundingHistory(TradeHistoryParams params) requestDepositAddress(Currency currency, String... arguments) This returns the currently set deposit address.requestDepositAddressObject(Currency currency, String... arguments) withdrawFunds(Currency currency, BigDecimal amount, String address) withdrawFunds(Currency currency, BigDecimal amount, String address, String addressTag) withdrawFunds(WithdrawFundsParams params) Methods inherited from class org.knowm.xchange.bitstamp.service.BitstampAccountServiceRaw
getBitstampBalance, getBitstampBitcoinCashDepositAddress, getBitstampBitcoinDepositAddress, getBitstampEthereumDepositAddress, getBitstampLitecoinDepositAddress, getBitstampUserTransactions, getBitstampUserTransactions, getRippleDepositAddress, getUnconfirmedDeposits, getWithdrawalRequests, getXRPDepositAddress, transferSubAccountBalanceToMain, withdrawAddrAmount, withdrawBitstampFunds, withdrawBitstampFunds, withdrawInternational, withdrawInternational, withdrawRippleFunds, withdrawSepa, withdrawSepa, withdrawToRipple, withdrawXLMMethods inherited from class org.knowm.xchange.bitstamp.service.BitstampBaseService
handleErrorMethods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.knowm.xchange.service.account.AccountService
getDynamicTradingFeesByInstrument, requestDepositAddressData, withdrawFunds
-
Constructor Details
-
BitstampAccountService
Constructor- Parameters:
exchange-
-
-
Method Details
-
getAccountInfo
- Specified by:
getAccountInfoin interfaceAccountService- Throws:
IOException
-
withdrawFunds
public String withdrawFunds(Currency currency, BigDecimal amount, String address) throws IOException - Specified by:
withdrawFundsin interfaceAccountService- Throws:
IOException
-
withdrawFunds
public String withdrawFunds(Currency currency, BigDecimal amount, String address, String addressTag) throws IOException - Throws:
IOException
-
withdrawFunds
public String withdrawFunds(WithdrawFundsParams params) throws ExchangeException, NotAvailableFromExchangeException, NotYetImplementedForExchangeException, IOException - Specified by:
withdrawFundsin interfaceAccountService- Throws:
ExchangeExceptionNotAvailableFromExchangeExceptionNotYetImplementedForExchangeExceptionIOException
-
requestDepositAddress
This returns the currently set deposit address. It will not generate a new address (ie. repeated calls will return the same address).- Specified by:
requestDepositAddressin interfaceAccountService- Throws:
IOException
-
requestDepositAddressObject
public BitstampDepositAddress requestDepositAddressObject(Currency currency, String... arguments) throws IOException - Throws:
IOException
-
createFundingHistoryParams
- Specified by:
createFundingHistoryParamsin interfaceAccountService
-
getFundingHistory
- Specified by:
getFundingHistoryin interfaceAccountService- Throws:
IOException
-