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
- Direct Known Subclasses:
BinanceUsAccountService
-
Field Summary
Fields inherited from class org.knowm.xchange.binance.service.BinanceBaseService
apiKey, binance, binanceFutures, inverseBinanceFutures, LOG, signatureCreatorFields inherited from class org.knowm.xchange.service.BaseResilientExchangeService
resilienceRegistriesFields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange -
Constructor Summary
ConstructorsConstructorDescriptionBinanceAccountService(BinanceExchange exchange, ResilienceRegistries resilienceRegistries) -
Method Summary
Modifier and TypeMethodDescriptiongetFundingHistory(TradeHistoryParams params) requestDepositAddress(Currency currency, String... args) requestDepositAddressData(Currency currency, String... args) withdrawFunds(Currency currency, BigDecimal amount, String address) withdrawFunds(Currency currency, BigDecimal amount, AddressWithTag address) withdrawFunds(WithdrawFundsParams params) Methods inherited from class org.knowm.xchange.binance.service.BinanceAccountServiceRaw
account, depositHistory, futuresAccount, getAssetDividend, getAssetDividend, getSubUserHistory, getTransferHistory, requestAssetDetail, requestDepositAddress, withdraw, withdraw, withdrawHistoryMethods inherited from class org.knowm.xchange.binance.service.BinanceBaseService
getExchangeInfo, getFutureExchangeInfo, 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, verifyOrder
-
Constructor Details
-
BinanceAccountService
-
-
Method Details
-
getAccountInfo
- Specified by:
getAccountInfoin interfaceAccountService- Throws:
IOException
-
getDynamicTradingFeesByInstrument
- Specified by:
getDynamicTradingFeesByInstrumentin 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
-