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

Why is risk management null? #82

Open
na-stewart opened this issue Jan 30, 2025 · 7 comments
Open

Why is risk management null? #82

na-stewart opened this issue Jan 30, 2025 · 7 comments
Labels
bug Something isn't working

Comments

@na-stewart
Copy link

Why is the risk management percentage always none?

@na-stewart na-stewart added the bug Something isn't working label Jan 30, 2025
@Liuchenxi1
Copy link

Also running the same problem, the program no input for portfolio management.

@virattt
Copy link
Owner

virattt commented Jan 31, 2025

Happy to take a look.

Can you share any screenshots or examples so it is easier to debug?

@patzoul
Copy link

patzoul commented Feb 1, 2025

Hello,
I dont know if it is the same issue. I clone this github. When I run the example command, poetry run python src/main.py --ticker AAPL,MSFT,NVDA, I get a portfolio management error: Error in portfolio management, defaulting to hold. Do you understand what could be causing that?

@umershahid84
Copy link

umershahid84 commented Feb 1, 2025 via email

@virattt
Copy link
Owner

virattt commented Feb 1, 2025

@patzoul @umershahid84

Pull the latest changes from the main branch, run it again, and then screenshot (any) errors and post in this issue.

@patzoul
Copy link

patzoul commented Feb 1, 2025

Thanks. I had to comment 'from utils.visualize import save_graph_as_png' as my utils module doesnt a visualize class. I however still then get 'Error in portfolio management, defaulting to hold'.

@Febl
Copy link

Febl commented Feb 1, 2025

Did you set your own API keys for requesting the LLMs ? Without those, "Hold" would be the default value you get.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants