public class BitfinexAccountService extends BitfinexAccountServiceRaw implements AccountService
Nested Class Summary
Nested Classes Modifier and Type Class Description
Fields inherited from class org.knowm.xchange.bitfinex.service.BitfinexBaseService
apiKey, bitfinex, bitfinexV2, payloadCreator, signatureCreator, signatureV2
Fields inherited from class org.knowm.xchange.service.BaseResilientExchangeService
Modifier and Type Method Description
TradeHistoryParamsobject specific to this exchange.
()Get account info
()Get the trading fees per currency pair as determined by the given exchange's rules for adjusting fees by recent volume traded.
Currency currency, String... arguments)(Request a digital currency address to fund this account.
Currency currency, BigDecimal amount, String address)(Withdrawal support
Currency currency, BigDecimal amount, String address, String tagOrPaymentId)(Used for XRP withdrawals
WithdrawFundsParams params)(Withdraw funds from this account.
Methods inherited from class org.knowm.xchange.bitfinex.service.BitfinexAccountServiceRaw
getAccountFees, getBitfinexAccountInfo, getBitfinexBalanceHistory, getBitfinexDynamicTradingFees, getBitfinexMarginInfos, getDepositWithdrawalHistory, getLedgerEntries, getMovementHistory, getWallets, requestDepositAddressRaw, transferBetweenWallets, updateCollateralDerivativePosition, withdraw, withdraw, withdraw
Methods inherited from class org.knowm.xchange.service.BaseResilientExchangeService
decorateApiCall, rateLimiter, rateLimiter, retry, retry
Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAccountInfoGet account info
withdrawFundspublic String withdrawFunds(Currency currency, BigDecimal amount, String address) throws IOExceptionWithdrawal support
withdrawFundspublic String withdrawFunds(Currency currency, BigDecimal amount, String address, String tagOrPaymentId) throws IOExceptionUsed for XRP withdrawals
withdrawFundsWithdraw funds from this account. Allows to withdraw digital currency funds from the exchange account to an external address
requestDepositAddressRequest a digital currency address to fund this account. Allows to fund the exchange account with digital currency from an external address
- Specified by:
currency- The digital currency that corresponds to the desired deposit address.
arguments- Necessary argument(s) as a
- the internal deposit address to send funds to
IOException- - Indication that a networking error occurred while fetching JSON data
createFundingHistoryParamspublic TradeHistoryParams createFundingHistoryParams()Create
TradeHistoryParamsobject specific to this exchange. Object created by this method may be used to discover supported and required
AccountService.getFundingHistory(TradeHistoryParams)parameters and should be passed only to the method in the same class as the createFundingHistoryParams that created the object.
getDynamicTradingFeesGet the trading fees per currency pair as determined by the given exchange's rules for adjusting fees by recent volume traded. Some exchanges will provide the current fees per currency via a single API request, while others require more logic to compute by hand.