Class BitfinexAccountService
java.lang.Object
org.knowm.xchange.service.BaseExchangeService<E>
org.knowm.xchange.service.BaseResilientExchangeService<BitfinexExchange>
org.knowm.xchange.bitfinex.service.BitfinexBaseService
org.knowm.xchange.bitfinex.service.BitfinexAccountServiceRaw
org.knowm.xchange.bitfinex.service.BitfinexAccountService
- All Implemented Interfaces:
AccountService,BaseService
public class BitfinexAccountService extends BitfinexAccountServiceRaw implements AccountService
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBitfinexAccountService.BitfinexFundingHistoryParams -
Field Summary
Fields inherited from class org.knowm.xchange.bitfinex.service.BitfinexBaseService
apiKey, bitfinex, bitfinexV2, payloadCreator, signatureCreator, signatureV2Fields inherited from class org.knowm.xchange.service.BaseResilientExchangeService
resilienceRegistriesFields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange -
Constructor Summary
Constructors Constructor Description BitfinexAccountService(BitfinexExchange exchange, ResilienceRegistries resilienceRegistries)Constructor -
Method Summary
Modifier and Type Method Description TradeHistoryParamscreateFundingHistoryParams()AccountInfogetAccountInfo()Map<CurrencyPair,Fee>getDynamicTradingFees()List<FundingRecord>getFundingHistory(TradeHistoryParams params)StringrequestDepositAddress(Currency currency, String... arguments)StringwithdrawFunds(Currency currency, BigDecimal amount, String address)Withdrawal supportStringwithdrawFunds(Currency currency, BigDecimal amount, String address, String tagOrPaymentId)Used for XRP withdrawalsStringwithdrawFunds(WithdrawFundsParams params)Methods inherited from class org.knowm.xchange.bitfinex.service.BitfinexAccountServiceRaw
getAccountFees, getBitfinexAccountInfo, getBitfinexBalanceHistory, getBitfinexDynamicTradingFees, getBitfinexMarginInfos, getDepositWithdrawalHistory, getLedgerEntries, getMovementHistory, getWallets, requestDepositAddressRaw, transferBetweenWallets, withdraw, withdraw, withdrawMethods inherited from class org.knowm.xchange.service.BaseResilientExchangeService
decorateApiCall, rateLimiter, rateLimiter, retry, retryMethods 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
-
BitfinexAccountService
public BitfinexAccountService(BitfinexExchange exchange, ResilienceRegistries resilienceRegistries)Constructor- Parameters:
exchange-
-
-
Method Details
-
getAccountInfo
- Specified by:
getAccountInfoin interfaceAccountService- Throws:
IOException
-
withdrawFunds
public String withdrawFunds(Currency currency, BigDecimal amount, String address) throws IOExceptionWithdrawal support- Specified by:
withdrawFundsin interfaceAccountService- Parameters:
currency-amount-address-- Returns:
- Throws:
IOException
-
withdrawFunds
public String withdrawFunds(Currency currency, BigDecimal amount, String address, String tagOrPaymentId) throws IOExceptionUsed for XRP withdrawals- Parameters:
currency-amount-address-tagOrPaymentId-- Returns:
- Throws:
IOException
-
withdrawFunds
- Specified by:
withdrawFundsin interfaceAccountService- Throws:
IOException
-
requestDepositAddress
- Specified by:
requestDepositAddressin interfaceAccountService- Throws:
IOException
-
createFundingHistoryParams
- Specified by:
createFundingHistoryParamsin interfaceAccountService
-
getFundingHistory
- Specified by:
getFundingHistoryin interfaceAccountService- Throws:
IOException
-
getDynamicTradingFees
- Specified by:
getDynamicTradingFeesin interfaceAccountService- Throws:
IOException
-