Package org.knowm.xchange.simulated
Class SimulatedAccountService
java.lang.Object
org.knowm.xchange.service.BaseExchangeService<SimulatedExchange>
org.knowm.xchange.simulated.SimulatedAccountService
- All Implemented Interfaces:
AccountService
,BaseService
public class SimulatedAccountService extends BaseExchangeService<SimulatedExchange> implements AccountService
-
Field Summary
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
Constructors Modifier Constructor Description protected
SimulatedAccountService(SimulatedExchange exchange)
-
Method Summary
Modifier and Type Method Description void
deposit(Currency currency, BigDecimal amount)
AccountInfo
getAccountInfo()
Get account infoMethods 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
Methods inherited from interface org.knowm.xchange.service.account.AccountService
createFundingHistoryParams, getDynamicTradingFeesByInstrument, getFundingHistory, requestDepositAddress, requestDepositAddressData, withdrawFunds, withdrawFunds, withdrawFunds
-
Constructor Details
-
SimulatedAccountService
-
-
Method Details
-
getAccountInfo
Description copied from interface:AccountService
Get account info- Specified by:
getAccountInfo
in interfaceAccountService
- Returns:
- the AccountInfo object, null if some sort of error occurred. Implementers should log the error.
- Throws:
IOException
- - Indication that a networking error occurred while fetching JSON data
-
deposit
-