Class BinanceAccountServiceRaw
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
- Direct Known Subclasses:
BinanceAccountService
-
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
ConstructorsConstructorDescriptionBinanceAccountServiceRaw(BinanceExchange exchange, ResilienceRegistries resilienceRegistries) -
Method Summary
Modifier and TypeMethodDescriptionaccount()depositHistory(String asset, Long startTime, Long endTime) getAssetDividend(Long startTime, Long endTime) getAssetDividend(String asset, Long startTime, Long endTime) requestDepositAddress(Currency currency) withdraw(String coin, String address, String addressTag, BigDecimal amount) withdraw(String coin, String address, BigDecimal amount) withdrawHistory(String asset, Long startTime, Long endTime) Methods 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
-
BinanceAccountServiceRaw
public BinanceAccountServiceRaw(BinanceExchange exchange, ResilienceRegistries resilienceRegistries)
-
-
Method Details
-
account
- Throws:
BinanceExceptionIOException
-
futuresAccount
- Throws:
BinanceExceptionIOException
-
withdraw
public WithdrawResponse withdraw(String coin, String address, BigDecimal amount) throws IOException, BinanceException - Throws:
IOExceptionBinanceException
-
withdraw
public WithdrawResponse withdraw(String coin, String address, String addressTag, BigDecimal amount) throws IOException, BinanceException - Throws:
IOExceptionBinanceException
-
requestDepositAddress
- Throws:
IOException
-
requestAssetDetail
- Throws:
IOException
-
depositHistory
public List<BinanceDeposit> depositHistory(String asset, Long startTime, Long endTime) throws BinanceException, IOException - Throws:
BinanceExceptionIOException
-
withdrawHistory
public List<BinanceWithdraw> withdrawHistory(String asset, Long startTime, Long endTime) throws BinanceException, IOException - Throws:
BinanceExceptionIOException
-
getAssetDividend
public List<AssetDividendResponse.AssetDividend> getAssetDividend(Long startTime, Long endTime) throws BinanceException, IOException - Throws:
BinanceExceptionIOException
-
getAssetDividend
public List<AssetDividendResponse.AssetDividend> getAssetDividend(String asset, Long startTime, Long endTime) throws BinanceException, IOException - Throws:
BinanceExceptionIOException
-
getTransferHistory
public List<TransferHistory> getTransferHistory(String fromEmail, Long startTime, Long endTime, Integer page, Integer limit) throws BinanceException, IOException - Throws:
BinanceExceptionIOException
-
getSubUserHistory
public List<TransferSubUserHistory> getSubUserHistory(String asset, Integer type, Long startTime, Long endTime, Integer limit) throws BinanceException, IOException - Throws:
BinanceExceptionIOException
-