Record Class SignalEvaluator.Report
java.lang.Object
java.lang.Record
com.quantfinlib.alpha.SignalEvaluator.Report
- Enclosing class:
SignalEvaluator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefactorNamerecord component.format()One-line human summary in fixed order for report diffs.final inthashCode()Returns a hash code value for this object.doublehitRate()Returns the value of thehitRaterecord component.double[]icSeries()Returns the value of theicSeriesrecord component.doubleicStd()Returns the value of theicStdrecord component.doubleir()Returns the value of theirrecord component.doublemeanIc()Returns the value of themeanIcrecord component.doubleReturns the value of themeanTurnoverrecord component.intReturns the value of theobservationsrecord component.final StringtoString()Returns a string representation of this record class.doubletStat()Returns the value of thetStatrecord component.
-
Constructor Details
-
Report
public Report(String factorName, double meanIc, double icStd, double ir, double tStat, double hitRate, double meanTurnover, int observations, double[] icSeries) Creates an instance of aReportrecord class.- Parameters:
factorName- the value for thefactorNamerecord componentmeanIc- the value for themeanIcrecord componenticStd- the value for theicStdrecord componentir- the value for theirrecord componenttStat- the value for thetStatrecord componenthitRate- the value for thehitRaterecord componentmeanTurnover- the value for themeanTurnoverrecord componentobservations- the value for theobservationsrecord componenticSeries- the value for theicSeriesrecord component
-
-
Method Details
-
format
One-line human summary in fixed order for report diffs. -
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. -
factorName
Returns the value of thefactorNamerecord component.- Returns:
- the value of the
factorNamerecord component
-
meanIc
public double meanIc()Returns the value of themeanIcrecord component.- Returns:
- the value of the
meanIcrecord component
-
icStd
public double icStd()Returns the value of theicStdrecord component.- Returns:
- the value of the
icStdrecord component
-
ir
public double ir()Returns the value of theirrecord component.- Returns:
- the value of the
irrecord component
-
tStat
public double tStat()Returns the value of thetStatrecord component.- Returns:
- the value of the
tStatrecord component
-
hitRate
public double hitRate()Returns the value of thehitRaterecord component.- Returns:
- the value of the
hitRaterecord component
-
meanTurnover
public double meanTurnover()Returns the value of themeanTurnoverrecord component.- Returns:
- the value of the
meanTurnoverrecord component
-
observations
public int observations()Returns the value of theobservationsrecord component.- Returns:
- the value of the
observationsrecord component
-
icSeries
public double[] icSeries()Returns the value of theicSeriesrecord component.- Returns:
- the value of the
icSeriesrecord component
-