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
public class BinanceAccountServiceRaw extends BinanceBaseService
-
Field Summary
Fields inherited from class org.knowm.xchange.binance.service.BinanceBaseService
apiKey, binance, binanceFutures, LOG, signatureCreator
Fields inherited from class org.knowm.xchange.service.BaseResilientExchangeService
resilienceRegistries
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
Constructors Constructor Description BinanceAccountServiceRaw(BinanceExchange exchange, ResilienceRegistries resilienceRegistries)
-
Method Summary
Modifier and Type Method Description BinanceAccountInformation
account()
List<BinanceDeposit>
depositHistory(String asset, Long startTime, Long endTime)
BinanceFutureAccountInformation
futuresAccount()
List<AssetDividendResponse.AssetDividend>
getAssetDividend(Long startTime, Long endTime)
List<AssetDividendResponse.AssetDividend>
getAssetDividend(String asset, Long startTime, Long endTime)
List<TransferSubUserHistory>
getSubUserHistory(String asset, Integer type, Long startTime, Long endTime, Integer limit)
List<TransferHistory>
getTransferHistory(String fromEmail, Long startTime, Long endTime, Integer page, Integer limit)
Map<String,AssetDetail>
requestAssetDetail()
DepositAddress
requestDepositAddress(Currency currency)
WithdrawResponse
withdraw(String coin, String address, String addressTag, BigDecimal amount)
WithdrawResponse
withdraw(String coin, String address, BigDecimal amount)
List<BinanceWithdraw>
withdrawHistory(String asset, Long startTime, Long endTime)
Methods inherited from class org.knowm.xchange.binance.service.BinanceBaseService
getExchangeInfo, getFutureExchangeInfo, getRecvWindow, getSystemStatus, getTimestampFactory
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
-
Constructor Details
-
BinanceAccountServiceRaw
public BinanceAccountServiceRaw(BinanceExchange exchange, ResilienceRegistries resilienceRegistries)
-
-
Method Details
-
account
- Throws:
BinanceException
IOException
-
futuresAccount
- Throws:
BinanceException
IOException
-
withdraw
public WithdrawResponse withdraw(String coin, String address, BigDecimal amount) throws IOException, BinanceException- Throws:
IOException
BinanceException
-
withdraw
public WithdrawResponse withdraw(String coin, String address, String addressTag, BigDecimal amount) throws IOException, BinanceException- Throws:
IOException
BinanceException
-
requestDepositAddress
- Throws:
IOException
-
requestAssetDetail
- Throws:
IOException
-
depositHistory
public List<BinanceDeposit> depositHistory(String asset, Long startTime, Long endTime) throws BinanceException, IOException- Throws:
BinanceException
IOException
-
withdrawHistory
public List<BinanceWithdraw> withdrawHistory(String asset, Long startTime, Long endTime) throws BinanceException, IOException- Throws:
BinanceException
IOException
-
getAssetDividend
public List<AssetDividendResponse.AssetDividend> getAssetDividend(Long startTime, Long endTime) throws BinanceException, IOException- Throws:
BinanceException
IOException
-
getAssetDividend
public List<AssetDividendResponse.AssetDividend> getAssetDividend(String asset, Long startTime, Long endTime) throws BinanceException, IOException- Throws:
BinanceException
IOException
-
getTransferHistory
public List<TransferHistory> getTransferHistory(String fromEmail, Long startTime, Long endTime, Integer page, Integer limit) throws BinanceException, IOException- Throws:
BinanceException
IOException
-
getSubUserHistory
public List<TransferSubUserHistory> getSubUserHistory(String asset, Integer type, Long startTime, Long endTime, Integer limit) throws BinanceException, IOException- Throws:
BinanceException
IOException
-