razorpay / go-financial

A go port of numpy-financial functions and more.
MIT License
310 stars 22 forks source link

Financial Functions enhancement #18

Open thsubaku9 opened 3 years ago

thsubaku9 commented 3 years ago

There exist various other financial functions (XIRR, Declining Balance, Slope, etc.) that are currently not mentioned in go-financials (these do not exist on numpy_financial either). Any plans on bringing some of the excel financial functions to go ?

gyanesh-m commented 3 years ago

We can add them here. Can you share a list of such functions which you have in mind?

thsubaku9 commented 3 years ago

This list covers it all : https://support.microsoft.com/en-us/office/financial-functions-reference-5658d81e-6035-4f24-89c1-fbf124c2b1d8

While I don't see a utility for all of them, some of them do have an appeal (XIRR for discontinuous cash flows, DB and DDB for declining balance, cumipmt and cumprinc for cumulative interest and principle, etc.)

gyanesh-m commented 3 years ago

ok. We can pick few of those which you mentioned to be added. Rest can be taken up as and when there is a requirement.