Interface TechnicalIndicator
- All Known Implementing Classes:
ExponentialMovingAverageIndicator, SimpleMovingAverageIndicator
public interface TechnicalIndicator
A technical indicator represents computed metadata about
MarketPrices.- Version:
- 1.0.1
- Author:
- Stephen Prizio
-
Method Summary
Modifier and TypeMethodDescriptionComputes the indicator values for the given market prices and input parameters.Returns theIndicatorType.
-
Method Details
-
compute
List<IndicatorValue> compute(List<MarketPrice> marketPrices, Map<String, Object> inputParameters, boolean commit) Computes the indicator values for the given market prices and input parameters.- Parameters:
marketPrices-ListofMarketPriceinputParameters- input parameterscommit- if true, will save the computed values to the database- Returns:
ListofIndicatorValue
-
getIndicator
-