Skip to content

PPMT not behaving as expected #35

@VikkioKPMG

Description

@VikkioKPMG

Hello,

My apologies if this isn't the right place to post, I am a simple user rather than a developer. I just couldn't find a more appropriate location for this issue.

I have been using ppmt to calculate the amortisation schedule on a portfolio of loans, however the output from the function is incorrect. An extremely simple example with constants rather than variables:

npf.ppmt(0.1479, 297, 300, -270.51)

or

npf.ppmt(rate=0.1479, per=297, nper=300, pv=-270.51)

Returns:

2463.202029

This is obviously incorrect - how can a loan of 270 dollars pay a principal of 2463 dollars in just one period?

For reference, the correct output (obtained through Excel and a Texas Instruments financial calculator) is 24.03.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions