public class BTCMarketsAccountService extends BTCMarketsAccountServiceRaw implements AccountService
- Matija Mazi
Fields inherited from class org.knowm.xchange.btcmarkets.service.BTCMarketsBaseService
btcm, btcmPublic, btcmv3, nonceFactory, signerV1, signerV2, signerV3
Constructors Constructor Description
Modifier and Type Method Description
TradeHistoryParamsobject specific to this exchange.
()Get account info
()Get the trading fees per instrument as determined by the given exchange's rules for adjusting fees by recent volume traded.
Currency currency, String... args)(Request a digital currency address to fund this account.
WithdrawFundsParams params)(Withdraw funds from this account.
Methods inherited from class org.knowm.xchange.btcmarkets.service.BTCMarketsAccountServiceRaw
depositAddress, fundtransferHistory, getBTCMarketsBalance, tradingFees, withdrawCrypto
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
BTCMarketsAccountServicepublic BTCMarketsAccountService(Exchange exchange)
getAccountInfoGet account info
withdrawFundsWithdraw funds from this account. Allows to withdraw digital currency funds from the exchange account to an external address
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.
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.
args- Necessary argument(s) as a
- the internal deposit address to send funds to
IOException- - Indication that a networking error occurred while fetching JSON data
getDynamicTradingFeesByInstrumentGet the trading fees per instrument 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.