class FiatService {

    public double getUsdPrice(TokenValueDto... funds) {
        return Arrays.stream(funds)
                     .filter(f -> f != null && StringUtils.isNotBlank(f.getTokenSymbol()))
                     .map(this::getValue)
                     .mapToDouble(f -> f)
                     .sum();
    }

    public  FiatService(CryptoCompareService cryptoCompareService, CoinMarketCapService coinMarketCapService);

}