Class AlphaCombiner.Combination
java.lang.Object
com.quantfinlib.alpha.AlphaCombiner.Combination
- All Implemented Interfaces:
AlphaFactor
- Enclosing class:
AlphaCombiner
Fitted weights and the combined factor.
-
Method Summary
Modifier and TypeMethodDescriptionintdates()IC dates used in the fit.intdoubleic(int k) Horizon-matched, date-weighted mean IC of (orthogonalised) factork.double[]icsCopy()name()Human-readable name used in reports; override for real factors.double[]scores(AlphaContext ctx, int index) Combined score:Σ w_k z'_kwith the same per-date orthogonalisation as the fit; NaN where any factor has no score.doubleweight(int k) Weight of factork.double[]
-
Method Details
-
weight
public double weight(int k) Weight of factork. -
weightsCopy
public double[] weightsCopy() -
ic
public double ic(int k) Horizon-matched, date-weighted mean IC of (orthogonalised) factork. -
icsCopy
public double[] icsCopy() -
factorCount
public int factorCount() -
dates
public int dates()IC dates used in the fit. -
scores
Combined score:Σ w_k z'_kwith the same per-date orthogonalisation as the fit; NaN where any factor has no score.- Specified by:
scoresin interfaceAlphaFactor
-
name
Description copied from interface:AlphaFactorHuman-readable name used in reports; override for real factors.- Specified by:
namein interfaceAlphaFactor
-