Class SymbolSentimentLookupService

java.lang.Object
com.bluebell.greenhouse.radicle.services.symbol.SymbolSentimentLookupService

@Service public class SymbolSentimentLookupService extends Object
Service-layer cache boundary for EOD-backed symbol sentiment lookups.
Version:
3.0.3
Author:
Stephen Prizio
  • Constructor Details

    • SymbolSentimentLookupService

      public SymbolSentimentLookupService()
  • Method Details

    • findSentiment

      @Cacheable(cacheNames="symbolSentiment", key="T(com.bluebell.greenhouse.platform.configuration.cache.symbol.SymbolCacheKeys).forSentiment(#providerSymbol, #start, #end)", sync=true) public List<EODSentimentPointResponse> findSentiment(String providerSymbol, LocalDate start, LocalDate end)
      Returns EOD-backed sentiment points for a provider symbol.
      Parameters:
      providerSymbol - provider symbol alias
      start - optional start date
      end - optional end date
      Returns:
      List of EODSentimentPointResponse