Record Class SigmaMoveProfileDTO

java.lang.Object
java.lang.Record
com.bluebell.greenhouse.platform.models.api.dto.symbol.analysis.SigmaMoveProfileDTO
Record Components:
sigmaThreshold - sigma threshold
sigmaMovePercent - sigma move percent
positivePriceTarget - positive price target
negativePriceTarget - negative price target
occurrenceCount - occurrence count
empiricalFrequency - empirical frequency
barsSinceLastOccurrence - bars since last occurrence
averageBarsBetweenOccurrences - average bars between occurrences
recencyAdjustedOccurrenceScore - recency-adjusted score
nextFiveBarOccurrenceProbability - 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 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 a SigmaMoveProfileDTO record class.
      Parameters:
      sigmaThreshold - the value for the sigmaThreshold record component
      sigmaMovePercent - the value for the sigmaMovePercent record component
      positivePriceTarget - the value for the positivePriceTarget record component
      negativePriceTarget - the value for the negativePriceTarget record component
      occurrenceCount - the value for the occurrenceCount record component
      empiricalFrequency - the value for the empiricalFrequency record component
      barsSinceLastOccurrence - the value for the barsSinceLastOccurrence record component
      averageBarsBetweenOccurrences - the value for the averageBarsBetweenOccurrences record component
      recencyAdjustedOccurrenceScore - the value for the recencyAdjustedOccurrenceScore record component
      nextFiveBarOccurrenceProbability - the value for the nextFiveBarOccurrenceProbability record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • sigmaThreshold

      public double sigmaThreshold()
      Returns the value of the sigmaThreshold record component.
      Returns:
      the value of the sigmaThreshold record component
    • sigmaMovePercent

      public double sigmaMovePercent()
      Returns the value of the sigmaMovePercent record component.
      Returns:
      the value of the sigmaMovePercent record component
    • positivePriceTarget

      public double positivePriceTarget()
      Returns the value of the positivePriceTarget record component.
      Returns:
      the value of the positivePriceTarget record component
    • negativePriceTarget

      public double negativePriceTarget()
      Returns the value of the negativePriceTarget record component.
      Returns:
      the value of the negativePriceTarget record component
    • occurrenceCount

      public int occurrenceCount()
      Returns the value of the occurrenceCount record component.
      Returns:
      the value of the occurrenceCount record component
    • empiricalFrequency

      public double empiricalFrequency()
      Returns the value of the empiricalFrequency record component.
      Returns:
      the value of the empiricalFrequency record component
    • barsSinceLastOccurrence

      public Integer barsSinceLastOccurrence()
      Returns the value of the barsSinceLastOccurrence record component.
      Returns:
      the value of the barsSinceLastOccurrence record component
    • averageBarsBetweenOccurrences

      public Double averageBarsBetweenOccurrences()
      Returns the value of the averageBarsBetweenOccurrences record component.
      Returns:
      the value of the averageBarsBetweenOccurrences record component
    • recencyAdjustedOccurrenceScore

      public Double recencyAdjustedOccurrenceScore()
      Returns the value of the recencyAdjustedOccurrenceScore record component.
      Returns:
      the value of the recencyAdjustedOccurrenceScore record component
    • nextFiveBarOccurrenceProbability

      public double nextFiveBarOccurrenceProbability()
      Returns the value of the nextFiveBarOccurrenceProbability record component.
      Returns:
      the value of the nextFiveBarOccurrenceProbability record component