Class SymbolSentimentLookupService
java.lang.Object
com.bluebell.greenhouse.radicle.services.symbol.SymbolSentimentLookupService
Service-layer cache boundary for EOD-backed symbol sentiment lookups.
- Version:
- 3.0.3
- Author:
- Stephen Prizio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindSentiment(String providerSymbol, LocalDate start, LocalDate end) Returns EOD-backed sentiment points for a provider symbol.
-
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 aliasstart- optional start dateend- optional end date- Returns:
ListofEODSentimentPointResponse
-