-
-
Notifications
You must be signed in to change notification settings - Fork 370
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
[IMPROVE] NaN values in PVGO #129
Comments
NVDA still exhibit a NaN value for 2008? Is this the anticipated behavior? |
Ah I see, probably because interest expense is NaN in that case. I'll adjust this later. |
Is that because we use WACC instead of the cost of equity, I can implement a flag to swap between using WACC or cost of equity. |
Feel free to do so! Makes sense to have both. |
I also talked to one of my finance teachers, and we figured it'd be better to go with the estimatedNetIncomeAvg from https://site.financialmodelingprep.com/developer/docs/analyst-estimates-api instead of using earnings from current period. |
That's indeed also a good option, note that this is obtainable directly from the Finance Toolkit as well: https://www.jeroenbouma.com/projects/financetoolkit/docs#get_analyst_estimates (but I think you are aware of that 😉 ) |
For the following code snippet:
I get the following result:
Does the FMP API miss something?
The text was updated successfully, but these errors were encountered: