Interface ExchangeAccountRepository
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ExchangeAccount,Long>
,org.springframework.data.repository.Repository<ExchangeAccount,Long>
@Repository public interface ExchangeAccountRepository extends org.springframework.data.repository.CrudRepository<ExchangeAccount,Long>
Exchange account repository.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<ExchangeAccount>
findByExchangeAndAccount(String exchange, String account)
Find the exchange account with the exchange name and exchange account.
-
-
-
Method Detail
-
findByExchangeAndAccount
Optional<ExchangeAccount> findByExchangeAndAccount(String exchange, String account)
Find the exchange account with the exchange name and exchange account.- Parameters:
exchange
- exchange nameaccount
- exchange account- Returns:
- exchange account
-
-