-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xirr bug? #31
Comments
@crankharder why don't you give a try on my branch: https://github.com/tubedude/finance trans.xirr(1).apr.to_f # => -2.212298586260735
trans.xirr(0.1).apr.to_f # => 0.1882953622624719 |
@tubedude confirmed that your branch fixes the issue. My other test cases didn't change either. I thought it was odd that the 'transactions' param wasn't being used. |
Good catch! |
Good Doc's xirr() thinks the result should be: 0.1877607042
The result should certainly be positive.
The text was updated successfully, but these errors were encountered: