Record Class SymbolAnalysisTrendSummaryDTO
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.platform.models.api.dto.symbol.analysis.SymbolAnalysisTrendSummaryDTO
- Record Components:
regime- regimedirection- directionregimeConfidence- regime confidenceslopePercentPerBar- slope percent per baremaAlignmentScore- EMA alignment scorerangeCompressionScore- range compression scoreshortTermSummary- short-term summarylongTermSummary- long-term summarypriceExpansionState- price expansion statevolumeExpansionState- volume expansion state
public record SymbolAnalysisTrendSummaryDTO(EnumDisplay regime, EnumDisplay direction, double regimeConfidence, double slopePercentPerBar, double emaAlignmentScore, double rangeCompressionScore, String shortTermSummary, String longTermSummary, EnumDisplay priceExpansionState, EnumDisplay volumeExpansionState)
extends Record
Trend-summary DTO.
- Version:
- 2.0.4
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionSymbolAnalysisTrendSummaryDTO(EnumDisplay regime, EnumDisplay direction, double regimeConfidence, double slopePercentPerBar, double emaAlignmentScore, double rangeCompressionScore, String shortTermSummary, String longTermSummary, EnumDisplay priceExpansionState, EnumDisplay volumeExpansionState) Creates an instance of aSymbolAnalysisTrendSummaryDTOrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedirectionrecord component.doubleReturns the value of theemaAlignmentScorerecord component.empty()Creates an empty DTO shell.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelongTermSummaryrecord component.Returns the value of thepriceExpansionStaterecord component.doubleReturns the value of therangeCompressionScorerecord component.regime()Returns the value of theregimerecord component.doubleReturns the value of theregimeConfidencerecord component.Returns the value of theshortTermSummaryrecord component.doubleReturns the value of theslopePercentPerBarrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevolumeExpansionStaterecord component.
-
Constructor Details
-
SymbolAnalysisTrendSummaryDTO
public SymbolAnalysisTrendSummaryDTO(EnumDisplay regime, EnumDisplay direction, double regimeConfidence, double slopePercentPerBar, double emaAlignmentScore, double rangeCompressionScore, String shortTermSummary, String longTermSummary, EnumDisplay priceExpansionState, EnumDisplay volumeExpansionState) Creates an instance of aSymbolAnalysisTrendSummaryDTOrecord class.- Parameters:
regime- the value for theregimerecord componentdirection- the value for thedirectionrecord componentregimeConfidence- the value for theregimeConfidencerecord componentslopePercentPerBar- the value for theslopePercentPerBarrecord componentemaAlignmentScore- the value for theemaAlignmentScorerecord componentrangeCompressionScore- the value for therangeCompressionScorerecord componentshortTermSummary- the value for theshortTermSummaryrecord componentlongTermSummary- the value for thelongTermSummaryrecord componentpriceExpansionState- the value for thepriceExpansionStaterecord componentvolumeExpansionState- the value for thevolumeExpansionStaterecord component
-
-
Method Details
-
empty
Creates an empty DTO shell.- Returns:
SymbolAnalysisTrendSummaryDTO
-
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. -
regime
-
direction
-
regimeConfidence
public double regimeConfidence()Returns the value of theregimeConfidencerecord component.- Returns:
- the value of the
regimeConfidencerecord component
-
slopePercentPerBar
public double slopePercentPerBar()Returns the value of theslopePercentPerBarrecord component.- Returns:
- the value of the
slopePercentPerBarrecord component
-
emaAlignmentScore
public double emaAlignmentScore()Returns the value of theemaAlignmentScorerecord component.- Returns:
- the value of the
emaAlignmentScorerecord component
-
rangeCompressionScore
public double rangeCompressionScore()Returns the value of therangeCompressionScorerecord component.- Returns:
- the value of the
rangeCompressionScorerecord component
-
shortTermSummary
Returns the value of theshortTermSummaryrecord component.- Returns:
- the value of the
shortTermSummaryrecord component
-
longTermSummary
Returns the value of thelongTermSummaryrecord component.- Returns:
- the value of the
longTermSummaryrecord component
-
priceExpansionState
Returns the value of thepriceExpansionStaterecord component.- Returns:
- the value of the
priceExpansionStaterecord component
-
volumeExpansionState
Returns the value of thevolumeExpansionStaterecord component.- Returns:
- the value of the
volumeExpansionStaterecord component
-