Record Class SigmaMoveProfileDTO
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.platform.models.api.dto.symbol.analysis.SigmaMoveProfileDTO
- Record Components:
sigmaThreshold- sigma thresholdsigmaMovePercent- sigma move percentpositivePriceTarget- positive price targetnegativePriceTarget- negative price targetoccurrenceCount- occurrence countempiricalFrequency- empirical frequencybarsSinceLastOccurrence- bars since last occurrenceaverageBarsBetweenOccurrences- average bars between occurrencesrecencyAdjustedOccurrenceScore- recency-adjusted scorenextFiveBarOccurrenceProbability- next-five-bar occurrence probability
public record SigmaMoveProfileDTO(double sigmaThreshold, double sigmaMovePercent, double positivePriceTarget, double negativePriceTarget, int occurrenceCount, double empiricalFrequency, Integer barsSinceLastOccurrence, Double averageBarsBetweenOccurrences, Double recencyAdjustedOccurrenceScore, double nextFiveBarOccurrenceProbability)
extends Record
Sigma-move-profile DTO.
- Version:
- 2.0.6
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionSigmaMoveProfileDTO(double sigmaThreshold, double sigmaMovePercent, double positivePriceTarget, double negativePriceTarget, int occurrenceCount, double empiricalFrequency, Integer barsSinceLastOccurrence, Double averageBarsBetweenOccurrences, Double recencyAdjustedOccurrenceScore, double nextFiveBarOccurrenceProbability) Creates an instance of aSigmaMoveProfileDTOrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaverageBarsBetweenOccurrencesrecord component.Returns the value of thebarsSinceLastOccurrencerecord component.doubleReturns the value of theempiricalFrequencyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doubleReturns the value of thenegativePriceTargetrecord component.doubleReturns the value of thenextFiveBarOccurrenceProbabilityrecord component.intReturns the value of theoccurrenceCountrecord component.doubleReturns the value of thepositivePriceTargetrecord component.Returns the value of therecencyAdjustedOccurrenceScorerecord component.doubleReturns the value of thesigmaMovePercentrecord component.doubleReturns the value of thesigmaThresholdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SigmaMoveProfileDTO
public SigmaMoveProfileDTO(double sigmaThreshold, double sigmaMovePercent, double positivePriceTarget, double negativePriceTarget, int occurrenceCount, double empiricalFrequency, Integer barsSinceLastOccurrence, Double averageBarsBetweenOccurrences, Double recencyAdjustedOccurrenceScore, double nextFiveBarOccurrenceProbability) Creates an instance of aSigmaMoveProfileDTOrecord class.- Parameters:
sigmaThreshold- the value for thesigmaThresholdrecord componentsigmaMovePercent- the value for thesigmaMovePercentrecord componentpositivePriceTarget- the value for thepositivePriceTargetrecord componentnegativePriceTarget- the value for thenegativePriceTargetrecord componentoccurrenceCount- the value for theoccurrenceCountrecord componentempiricalFrequency- the value for theempiricalFrequencyrecord componentbarsSinceLastOccurrence- the value for thebarsSinceLastOccurrencerecord componentaverageBarsBetweenOccurrences- the value for theaverageBarsBetweenOccurrencesrecord componentrecencyAdjustedOccurrenceScore- the value for therecencyAdjustedOccurrenceScorerecord componentnextFiveBarOccurrenceProbability- the value for thenextFiveBarOccurrenceProbabilityrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
sigmaThreshold
public double sigmaThreshold()Returns the value of thesigmaThresholdrecord component.- Returns:
- the value of the
sigmaThresholdrecord component
-
sigmaMovePercent
public double sigmaMovePercent()Returns the value of thesigmaMovePercentrecord component.- Returns:
- the value of the
sigmaMovePercentrecord component
-
positivePriceTarget
public double positivePriceTarget()Returns the value of thepositivePriceTargetrecord component.- Returns:
- the value of the
positivePriceTargetrecord component
-
negativePriceTarget
public double negativePriceTarget()Returns the value of thenegativePriceTargetrecord component.- Returns:
- the value of the
negativePriceTargetrecord component
-
occurrenceCount
public int occurrenceCount()Returns the value of theoccurrenceCountrecord component.- Returns:
- the value of the
occurrenceCountrecord component
-
empiricalFrequency
public double empiricalFrequency()Returns the value of theempiricalFrequencyrecord component.- Returns:
- the value of the
empiricalFrequencyrecord component
-
barsSinceLastOccurrence
Returns the value of thebarsSinceLastOccurrencerecord component.- Returns:
- the value of the
barsSinceLastOccurrencerecord component
-
averageBarsBetweenOccurrences
Returns the value of theaverageBarsBetweenOccurrencesrecord component.- Returns:
- the value of the
averageBarsBetweenOccurrencesrecord component
-
recencyAdjustedOccurrenceScore
Returns the value of therecencyAdjustedOccurrenceScorerecord component.- Returns:
- the value of the
recencyAdjustedOccurrenceScorerecord component
-
nextFiveBarOccurrenceProbability
public double nextFiveBarOccurrenceProbability()Returns the value of thenextFiveBarOccurrenceProbabilityrecord component.- Returns:
- the value of the
nextFiveBarOccurrenceProbabilityrecord component
-