Money.Financial.internal_rate_of_return

You're seeing just the function internal_rate_of_return, go back to Money.Financial module for more information.
Link to this function

internal_rate_of_return(flows)

View Source

Specs

internal_rate_of_return([{integer(), Money.t()}]) :: number()

Calculates the interal rate of return for a given list of cash flows.

  • flows is a list of tuples representing a cash flow. Each flow is represented as a tuple of the form {period, %Money{}}