Function mirr

  • Calculates the Modified Internal Rate of Return.

    Parameters

    • values: number[]

      Cash flows (must contain at least one positive and one negative value) or nan is returned. The first value is considered a sunk cost at time zero.

    • financeRate: number

      Interest rate paid on the cash flows

    • reinvestRate: number

      Interest rate received on the cash flows upon reinvestment

    Returns number

    Modified internal rate of return

    Since

    v0.1.0

Generated using TypeDoc