Record Class ForwardMoveHorizonProfileDTO
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.platform.models.api.dto.symbol.analysis.ForwardMoveHorizonProfileDTO
- Record Components:
horizonBars- horizon barsexpectedAbsoluteMovePercent- expected absolute move percentmedianAbsoluteMovePercent- median absolute move percentpercentile50MovePercent- 50th percentile move percentpercentile68MovePercent- 68th percentile move percentpercentile95MovePercent- 95th percentile move percentaveragePositiveMovePercent- average positive forward move percentaverageNegativeMovePercent- average negative forward move percentpositivePriceTarget- positive price targetnegativePriceTarget- negative price targetupMoveProbability- up-move probabilitydownMoveProbability- down-move probability
public record ForwardMoveHorizonProfileDTO(int horizonBars, double expectedAbsoluteMovePercent, double medianAbsoluteMovePercent, double percentile50MovePercent, double percentile68MovePercent, double percentile95MovePercent, double averagePositiveMovePercent, double averageNegativeMovePercent, double positivePriceTarget, double negativePriceTarget, double upMoveProbability, double downMoveProbability)
extends Record
Forward-move-horizon DTO.
- Version:
- 2.0.6
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionForwardMoveHorizonProfileDTO(int horizonBars, double expectedAbsoluteMovePercent, double medianAbsoluteMovePercent, double percentile50MovePercent, double percentile68MovePercent, double percentile95MovePercent, double averagePositiveMovePercent, double averageNegativeMovePercent, double positivePriceTarget, double negativePriceTarget, double upMoveProbability, double downMoveProbability) Creates an instance of aForwardMoveHorizonProfileDTOrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the value of theaverageNegativeMovePercentrecord component.doubleReturns the value of theaveragePositiveMovePercentrecord component.doubleReturns the value of thedownMoveProbabilityrecord component.final booleanIndicates whether some other object is "equal to" this one.doubleReturns the value of theexpectedAbsoluteMovePercentrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of thehorizonBarsrecord component.doubleReturns the value of themedianAbsoluteMovePercentrecord component.doubleReturns the value of thenegativePriceTargetrecord component.doubleReturns the value of thepercentile50MovePercentrecord component.doubleReturns the value of thepercentile68MovePercentrecord component.doubleReturns the value of thepercentile95MovePercentrecord component.doubleReturns the value of thepositivePriceTargetrecord component.final StringtoString()Returns a string representation of this record class.doubleReturns the value of theupMoveProbabilityrecord component.
-
Constructor Details
-
ForwardMoveHorizonProfileDTO
public ForwardMoveHorizonProfileDTO(int horizonBars, double expectedAbsoluteMovePercent, double medianAbsoluteMovePercent, double percentile50MovePercent, double percentile68MovePercent, double percentile95MovePercent, double averagePositiveMovePercent, double averageNegativeMovePercent, double positivePriceTarget, double negativePriceTarget, double upMoveProbability, double downMoveProbability) Creates an instance of aForwardMoveHorizonProfileDTOrecord class.- Parameters:
horizonBars- the value for thehorizonBarsrecord componentexpectedAbsoluteMovePercent- the value for theexpectedAbsoluteMovePercentrecord componentmedianAbsoluteMovePercent- the value for themedianAbsoluteMovePercentrecord componentpercentile50MovePercent- the value for thepercentile50MovePercentrecord componentpercentile68MovePercent- the value for thepercentile68MovePercentrecord componentpercentile95MovePercent- the value for thepercentile95MovePercentrecord componentaveragePositiveMovePercent- the value for theaveragePositiveMovePercentrecord componentaverageNegativeMovePercent- the value for theaverageNegativeMovePercentrecord componentpositivePriceTarget- the value for thepositivePriceTargetrecord componentnegativePriceTarget- the value for thenegativePriceTargetrecord componentupMoveProbability- the value for theupMoveProbabilityrecord componentdownMoveProbability- the value for thedownMoveProbabilityrecord 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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
horizonBars
public int horizonBars()Returns the value of thehorizonBarsrecord component.- Returns:
- the value of the
horizonBarsrecord component
-
expectedAbsoluteMovePercent
public double expectedAbsoluteMovePercent()Returns the value of theexpectedAbsoluteMovePercentrecord component.- Returns:
- the value of the
expectedAbsoluteMovePercentrecord component
-
medianAbsoluteMovePercent
public double medianAbsoluteMovePercent()Returns the value of themedianAbsoluteMovePercentrecord component.- Returns:
- the value of the
medianAbsoluteMovePercentrecord component
-
percentile50MovePercent
public double percentile50MovePercent()Returns the value of thepercentile50MovePercentrecord component.- Returns:
- the value of the
percentile50MovePercentrecord component
-
percentile68MovePercent
public double percentile68MovePercent()Returns the value of thepercentile68MovePercentrecord component.- Returns:
- the value of the
percentile68MovePercentrecord component
-
percentile95MovePercent
public double percentile95MovePercent()Returns the value of thepercentile95MovePercentrecord component.- Returns:
- the value of the
percentile95MovePercentrecord component
-
averagePositiveMovePercent
public double averagePositiveMovePercent()Returns the value of theaveragePositiveMovePercentrecord component.- Returns:
- the value of the
averagePositiveMovePercentrecord component
-
averageNegativeMovePercent
public double averageNegativeMovePercent()Returns the value of theaverageNegativeMovePercentrecord component.- Returns:
- the value of the
averageNegativeMovePercentrecord 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
-
upMoveProbability
public double upMoveProbability()Returns the value of theupMoveProbabilityrecord component.- Returns:
- the value of the
upMoveProbabilityrecord component
-
downMoveProbability
public double downMoveProbability()Returns the value of thedownMoveProbabilityrecord component.- Returns:
- the value of the
downMoveProbabilityrecord component
-