OriKatz1

Results 6 comments of OriKatz1

There is a mistake in the code, should be: return ((future_cashflow / (1+rate)**np.arange(1, len(future_cashflow)+1)).sum(axis=0)) / -initial_inv

Yes, I read this, and I am trying to calculate it myself using the same formula, and I just don't get the same numbers. I get very different numbers.

Ok, thanks. And also thanks for the package in general, it's great.

Hi, I found the error: it turns out that the columns in my returns data were not in the same order as the rows in the expected returns data. You...

No, but it's very close. Before that I got 2 very different outcomes and couldn't understand why