Skip to content

Conversation

@kocielnik
Copy link
Contributor

@kocielnik kocielnik commented Feb 18, 2025

Live preview at https://isthisstockgood.vercel.app

PBT(NVDA) before = 17 years
PBT(NVDA) after = 13 years

PBT for NVDA:

- Before: 17 years,
- After: 13 years.
Error was:

```
  File "isthisstockgood/Active/MSNMoney.py", line 116, in parse_ratios_data
    self.last_year_net_income = sum(self.quarterly_eps[-4:]) \
TypeError: can't multiply sequence by non-int of type 'float'
```

The problem here was: how is the result of `sum()` a "sequence"?
@kocielnik kocielnik changed the title Use TTM EPS instead of the most recent year (#97) Use TTM EPS instead of the most recent year (closes #97) Feb 18, 2025
@kocielnik kocielnik changed the title Use TTM EPS instead of the most recent year (closes #97) Use TTM EPS instead of the most recent year (mrhappyasthma#97) Feb 18, 2025
@kocielnik kocielnik changed the title Use TTM EPS instead of the most recent year (mrhappyasthma#97) Use TTM EPS instead of the most recent year (#97) Feb 18, 2025
@kocielnik
Copy link
Contributor Author

kocielnik commented Mar 10, 2025

@mrhappyasthma, please let me know if I could help merge this in any way. Thanks! :)

@mrhappyasthma
Copy link
Owner

Sorry been busy. This LGTM and is a nice improvement.

@mrhappyasthma mrhappyasthma merged commit 23eba15 into mrhappyasthma:master Mar 26, 2025
1 check passed
@mrhappyasthma
Copy link
Owner

This should now be deployed.

@kocielnik
Copy link
Contributor Author

No problem, thanks for merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants