Class BloomStrategySignalProvider
java.lang.Object
com.bluebell.greenhouse.radicle.services.symbol.analysis.BloomStrategySignalProvider
- All Implemented Interfaces:
StrategySignalProvider
@Component
public class BloomStrategySignalProvider
extends Object
implements StrategySignalProvider
Strategy signal provider for the existing Bloom Anther implementation.
Bloom is intentionally exposed here as one strategy provider rather than being hardcoded into the symbol analysis facade so that future persisted strategy entities can reference providers by strategy code.
- Version:
- 2.0.4
- Author:
- Stephen Prizio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalyze(SymbolAnalysisRequest request, SymbolAnalysisContext context, List<MarketPrice> marketPrices) Analyzes the given request and price series.Returns the stable strategy reference code.
-
Constructor Details
-
BloomStrategySignalProvider
public BloomStrategySignalProvider()
-
-
Method Details
-
getStrategyReferenceCode
Returns the stable strategy reference code.- Specified by:
getStrategyReferenceCodein interfaceStrategySignalProvider- Returns:
- strategy reference code
-
analyze
public StrategySignal analyze(SymbolAnalysisRequest request, SymbolAnalysisContext context, List<MarketPrice> marketPrices) Analyzes the given request and price series.- Specified by:
analyzein interfaceStrategySignalProvider- Parameters:
request-SymbolAnalysisRequestcontext-SymbolAnalysisContextmarketPrices-ListofMarketPrice- Returns:
StrategySignal
-