Comments (5)
Running on master I've got the following value: -0.997374 which is close enough.
I see in your example you got the date wrong, but I'm assuming the dates to be 2014-04-15 and 2014-05-15. I'll make a new commit including your scenario in the tests.
from xirr.
It works for me until I reduce the third value to 500. I just updated the gem version. Instead of getting a <-100 value, I am getting 0.0. I am assuming it's the same problem. Would really appreciate if you could let me know what I am doing wrong here. Thanks in advance.
from xirr.
Actually the second value is 305.6 not -305.6.
from xirr.
Ok. Now it is real closed. I posted an updated in which I changed the limits at the negative side.
a068b21
from xirr.
Thanks. It works now.
from xirr.
Related Issues (11)
- Performance of XIRR gem HOT 7
- Remote server (heroku) crashes when loading xirr gem HOT 8
- Xirr.configure does not work
- Infinite loop HOT 8
- Support for Rails 6
- Wrong IRR at a specific threshold
- Release new version 0.7.0 HOT 1
- ArgumentError: comparison of FalseClass with BigDecimal failed HOT 2
- Error in production HOT 6
- Support for Rails 7 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xirr.