Looks like it takes only 2 arguments, but you are passing 3
https://tk3369.github.io/NPFinancial.jl/latest/index.html