Hi @essamjoubori nice effort to write this package!
Pretty awesome!
I'm a bit new to this world and I'm having some difficult to understand why excel can do IRR with some values and finance.js can't. I'm guessing it's because javascript itself can't deal with imaginary numbers.
finance.js

excel

Please let me know your thoughts on how to overcome that.
Thank you!