Class PoloniexAccountService
- java.lang.Object
-
- org.knowm.xchange.service.BaseExchangeService
-
- org.knowm.xchange.poloniex.service.PoloniexBaseService
-
- org.knowm.xchange.poloniex.service.PoloniexAccountServiceRaw
-
- org.knowm.xchange.poloniex.service.PoloniexAccountService
-
- All Implemented Interfaces:
AccountService,BaseService
public class PoloniexAccountService extends PoloniexAccountServiceRaw implements AccountService
- Author:
- Zach Holmes
-
-
Field Summary
-
Fields inherited from class org.knowm.xchange.poloniex.service.PoloniexBaseService
apiKey, poloniex, poloniexAuthenticated, signatureCreator
-
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
-
Constructor Summary
Constructors Constructor Description PoloniexAccountService(Exchange exchange)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)StringwithdrawFunds(WithdrawFundsParams params)-
Methods inherited from class org.knowm.xchange.poloniex.service.PoloniexAccountServiceRaw
getDepositAddress, getDepositAddresses, getExchangeWallet, getLoanInfo, getWallets, returnDepositsWithdrawals, transfer, withdraw
-
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, requestDepositAddressData, withdrawFunds
-
-
-
-
Constructor Detail
-
PoloniexAccountService
public PoloniexAccountService(Exchange exchange)
Constructor- Parameters:
exchange-
-
-
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
-
withdrawFunds
public String withdrawFunds(WithdrawFundsParams params) 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
-
-