Class BinanceAccountService
java.lang.Object
org.knowm.xchange.service.BaseExchangeService<E>
org.knowm.xchange.service.BaseResilientExchangeService<BinanceExchange>
org.knowm.xchange.binance.service.BinanceBaseService
org.knowm.xchange.binance.service.BinanceAccountServiceRaw
org.knowm.xchange.binance.service.BinanceAccountService
- All Implemented Interfaces:
AccountService,BaseService
public class BinanceAccountService extends BinanceAccountServiceRaw implements AccountService
-
Field Summary
Fields inherited from class org.knowm.xchange.binance.service.BinanceBaseService
apiKey, binance, LOG, signatureCreatorFields inherited from class org.knowm.xchange.service.BaseResilientExchangeService
resilienceRegistriesFields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange -
Constructor Summary
Constructors Constructor Description BinanceAccountService(BinanceExchange exchange, BinanceAuthenticated binance, ResilienceRegistries resilienceRegistries) -
Method Summary
Modifier and Type Method Description TradeHistoryParamscreateFundingHistoryParams()AccountInfogetAccountInfo()Map<String,AssetDetail>getAssetDetails()Map<CurrencyPair,Fee>getDynamicTradingFees()List<FundingRecord>getFundingHistory(TradeHistoryParams params)StringrequestDepositAddress(Currency currency, String... args)AddressWithTagrequestDepositAddressData(Currency currency, String... args)StringwithdrawFunds(Currency currency, BigDecimal amount, String address)StringwithdrawFunds(Currency currency, BigDecimal amount, AddressWithTag address)StringwithdrawFunds(WithdrawFundsParams params)Methods inherited from class org.knowm.xchange.binance.service.BinanceAccountServiceRaw
account, depositHistory, getAssetDividend, getAssetDividend, getAssetDribbletLog, getSubUserHistory, getTransferHistory, requestAssetDetail, requestDepositAddress, withdraw, withdraw, withdrawHistoryMethods inherited from class org.knowm.xchange.binance.service.BinanceBaseService
getExchangeInfo, getRecvWindow, getSystemStatus, getTimestampFactoryMethods 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
-
Constructor Details
-
BinanceAccountService
public BinanceAccountService(BinanceExchange exchange, BinanceAuthenticated binance, ResilienceRegistries resilienceRegistries)
-
-
Method Details
-
getAccountInfo
- Specified by:
getAccountInfoin interfaceAccountService- Throws:
IOException
-
getDynamicTradingFees
- Specified by:
getDynamicTradingFeesin 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, AddressWithTag address) throws IOException- Specified by:
withdrawFundsin interfaceAccountService- Throws:
IOException
-
withdrawFunds
- Specified by:
withdrawFundsin interfaceAccountService- Throws:
IOException
-
requestDepositAddress
- Specified by:
requestDepositAddressin interfaceAccountService- Throws:
IOException
-
requestDepositAddressData
public AddressWithTag requestDepositAddressData(Currency currency, String... args) throws IOException- Specified by:
requestDepositAddressDatain interfaceAccountService- Throws:
IOException
-
getAssetDetails
- Throws:
IOException
-
createFundingHistoryParams
- Specified by:
createFundingHistoryParamsin interfaceAccountService
-
getFundingHistory
- Specified by:
getFundingHistoryin interfaceAccountService- Throws:
IOException
-