Class UserServiceDryModeImplementation

    • Constructor Detail

      • UserServiceDryModeImplementation

        public UserServiceDryModeImplementation()
        Constructor.
    • Method Detail

      • setDependencies

        public void setDependencies​(GenericCassandreStrategy newStrategy)
        Set dependencies.
        Parameters:
        newStrategy - strategy
      • 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
      • getFilesToLoad

        public List<org.springframework.core.io.Resource> getFilesToLoad()
        Returns the list of files to import.
        Returns:
        files to import.
      • addToBalance

        public void addToBalance​(CurrencyDTO currency,
                                 BigDecimal amount)
        Update balance of trade account.
        Parameters:
        currency - currency
        amount - amount