Class UserServiceXChangeImplementation

  • All Implemented Interfaces:
    UserService

    public class UserServiceXChangeImplementation
    extends BaseService
    implements UserService
    Account service - XChange implementation.
    • Constructor Detail

      • UserServiceXChangeImplementation

        public UserServiceXChangeImplementation​(long rate,
                                                org.knowm.xchange.service.account.AccountService newXChangeAccountService)
        Constructor.
        Parameters:
        rate - rate in ms
        newXChangeAccountService - xchange account service
    • Method Detail

      • getUser

        public final Optional<UserDTO> getUser()
        Description copied from interface: UserService
        Retrieve user information from exchange (user, accounts and balances).
        Specified by:
        getUser in interface UserService
        Returns:
        account from exchange