Skip to content

BUG: There may exist multplit roots in the solution of IRR function #98

Closed
@yatshunlee

Description

@yatshunlee

Describe the issue:

This was what I encountered:
image

What I got in Excel:
image

Reproduce the code example:

import numpy_financial as npf
print(npf.irr([-10000]+[327.24625]*16))

Error message:

NA

Runtime information:

NA

Context for the issue:

There may exist multplit roots in the solution of IRR function so that the irr() may give an incorrect result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions