Class UserServiceXChangeImplementation
- java.lang.Object
-
- tech.cassandre.trading.bot.util.base.Base
-
- tech.cassandre.trading.bot.util.base.BaseService
-
- tech.cassandre.trading.bot.service.xchange.UserServiceXChangeImplementation
-
- All Implemented Interfaces:
UserService
public class UserServiceXChangeImplementation extends BaseService implements UserService
Account service - XChange implementation.
-
-
Constructor Summary
Constructors Constructor Description UserServiceXChangeImplementation(long rate, org.knowm.xchange.service.account.AccountService newXChangeAccountService)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<UserDTO>
getUser()
Retrieve user information from exchange (user, accounts and balances).-
Methods inherited from class tech.cassandre.trading.bot.util.base.BaseService
getBucket, getCurrencyPair
-
-
-
-
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 interfaceUserService
- Returns:
- account from exchange
-
-