GLIDEPATH_VALIDATION: {
    AGES: {
        MIN_AGE: 0.1;
        MAX_AGE: 150;
        MIN_AGE_DIFFERENCE: 1;
    };
    RETURNS: {
        MIN_RETURN: -0.99;
        MAX_RETURN: 1;
        HIGH_RETURN_WARNING: 0.25;
    };
    ALLOCATIONS: {
        MIN_WEIGHT: 0;
        MAX_WEIGHT: 1;
    };
    FINANCIAL: {
        MIN_BALANCE: 0;
        MIN_CONTRIBUTION: 0;
        MAX_BALANCE: number;
    };
    WAYPOINTS: {
        MIN_WAYPOINTS: 1;
        MAX_WAYPOINTS: 100;
    };
} = ...

Validation constraints for dynamic glidepath parameters. These ensure mathematical soundness and prevent invalid configurations.

Type declaration

  • Readonly AGES: {
        MIN_AGE: 0.1;
        MAX_AGE: 150;
        MIN_AGE_DIFFERENCE: 1;
    }

    Age validation limits.

    • Readonly MIN_AGE: 0.1

      Minimum allowed age (must be positive)

    • Readonly MAX_AGE: 150

      Maximum reasonable age for calculations

    • Readonly MIN_AGE_DIFFERENCE: 1

      Minimum age difference for meaningful glidepath

  • Readonly RETURNS: {
        MIN_RETURN: -0.99;
        MAX_RETURN: 1;
        HIGH_RETURN_WARNING: 0.25;
    }

    Return rate validation limits.

    • Readonly MIN_RETURN: -0.99

      Minimum return rate (-99% loss maximum)

    • Readonly MAX_RETURN: 1

      Maximum reasonable return rate (100% annual gain)

    • Readonly HIGH_RETURN_WARNING: 0.25

      Typical range warning threshold for high returns

  • Readonly ALLOCATIONS: {
        MIN_WEIGHT: 0;
        MAX_WEIGHT: 1;
    }

    Allocation weight validation limits.

    • Readonly MIN_WEIGHT: 0

      Minimum allocation weight (0%)

    • Readonly MAX_WEIGHT: 1

      Maximum allocation weight (100%)

  • Readonly FINANCIAL: {
        MIN_BALANCE: 0;
        MIN_CONTRIBUTION: 0;
        MAX_BALANCE: number;
    }

    Financial parameter validation limits.

    • Readonly MIN_BALANCE: 0

      Minimum balance (must be non-negative)

    • Readonly MIN_CONTRIBUTION: 0

      Minimum contribution (must be non-negative)

    • Readonly MAX_BALANCE: number

      Maximum reasonable balance for calculations

  • Readonly WAYPOINTS: {
        MIN_WAYPOINTS: 1;
        MAX_WAYPOINTS: 100;
    }

    Waypoint validation limits.

    • Readonly MIN_WAYPOINTS: 1

      Minimum number of waypoints required

    • Readonly MAX_WAYPOINTS: 100

      Maximum recommended waypoints for performance

Generated using TypeDoc