Skip to content

Conversation

@kocielnik
Copy link
Contributor

@kocielnik kocielnik commented Nov 23, 2024

I got very conservative estimates for the stocks I tried.

Probably this is still much better than nothing:)

growth-estimates

@kocielnik kocielnik force-pushed the master branch 2 times, most recently from 8ae4c82 to 56dcb5e Compare November 23, 2024 20:40
@kocielnik
Copy link
Contributor Author

@mrhappyasthma, ready now, feel free to take a look:)

kocielnik added a commit to kocielnik/IsThisStockGood that referenced this pull request Dec 6, 2024
I expect the breaking of this test to be fixed by PR mrhappyasthma#92.
mrhappyasthma pushed a commit that referenced this pull request Dec 16, 2024
* Add 10Cap valuation (closes #88).

* Delete the test that is not relevant anymore.

I expect the breaking of this test to be fixed by PR #92.

* Fix div id.

* Make the test test the *API*, not NVDA:)

Actually, the purpose of this commit is to bump the CI to run again,
because it failed with an error that seems intermittent, and very rare.

* Fix precision of 10Cap price.

Before: ten_cap("NVDA") = 10.834

After: ten_cap("NVDA") = 10.83

data = json.loads(res.text)
assert data['debt_payoff_time'] == 0
assert data['sticker_price'] > 0.0
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line and the next one verify that each valuation method still works.


def parse_json_data(self, data):
try:
print(data)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that's unrelated to the issue:)

@kocielnik
Copy link
Contributor Author

Resolved the conflicts. Feel free to take a look again, @mrhappyasthma! :)

@kocielnik kocielnik changed the title #91: Fix growth estimate (use Zacks). Fix MOSP: Use Zacks for growth estimates (closes #91). Jan 2, 2025
@kocielnik
Copy link
Contributor Author

Done:

  1. Squashed the commits,
  2. Removed the unrelated change to simplify reviews,
  3. Updated the preview at https://isthisstockgood.vercel.app merging recent changes to upstream's poetry.lock.

@mrhappyasthma, please let me know if I can help in any other way:)

@mrhappyasthma
Copy link
Owner

I'll try to take a pass on this ASAP. Been busy with the holidays and such.

@kocielnik
Copy link
Contributor Author

Sure, thanks!

In case it returns in the future (CR).
On no data from Yahoo Finance, use the estimate from Zacks.
@kocielnik
Copy link
Contributor Author

Thanks for the comments, @mrhappyasthma!

I believe I've applied all your suggestions.

Please let me know what you think!

@kocielnik
Copy link
Contributor Author

The preview at https://isthisstockgood.vercel.app/ uses the updated code now.

@mrhappyasthma mrhappyasthma merged commit ed27071 into mrhappyasthma:master Jan 23, 2025
1 check passed
@mrhappyasthma
Copy link
Owner

Thanks again for all the help. Will deploy now

@kocielnik
Copy link
Contributor Author

You're welcome! Thank you for keeping this tool useful and maintainable!

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