Skip to content
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

StockStats class not working #205

Open
NathanT621 opened this issue Apr 18, 2023 · 1 comment
Open

StockStats class not working #205

NathanT621 opened this issue Apr 18, 2023 · 1 comment

Comments

@NathanT621
Copy link

Whenever I use a get method from the StockStats class, the value returned is null. Can you let me know why this might be happening?

@VictorM-Coder
Copy link

Hello, I hope everything is fine. After evaluating the issue you submitted, I was able to find a series of issues that may have implicated in this case. However, in general, the problem is correlated with the following issues:

API problem

  • The API currently used by this version of the project can no longer be accessed in the same way as before. This problem has been solved in the following FORK of the project fork.

Only model class

  • Furthermore, the StockStat class is only a model class. Because of this, if you are trying to directly access its data, it will not be possible to load the API data, as it does not handle this communication on its own.

Another Yahoo Finance problem

  • Finally, as indicated in the class itself, any other issue that prevents direct communication with Yahoo Finance will result in the return of null values.
    imagem_2023-11-02_114515520

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

No branches or pull requests

2 participants