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
  • Constructor Details

    • SimulatedAccountService

      protected SimulatedAccountService(SimulatedExchange exchange)
  • Method Details

    • getAccountInfo

      public AccountInfo getAccountInfo() throws IOException
      Description copied from interface: AccountService
      Get account info
      Specified by:
      getAccountInfo in interface AccountService
      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

      public void deposit(Currency currency, BigDecimal amount)