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

[Bug] portfolio/po/mktcap - Error: argument of type 'int' is not iterable, unsupported operand type for +=: 'int' and 'list' #5156

Closed
deeleeramone opened this issue Jun 19, 2023 · 2 comments
Labels
bug Fix bug portfolio Portfolio menu

Comments

@deeleeramone
Copy link
Contributor

deeleeramone commented Jun 19, 2023

/portfolio/po/load --example/mktcap

Screenshot 2023-06-19 at 4 22 57 PM

Same error occurs for blacklitterman

Screenshot 2023-06-19 at 4 26 07 PM

@deeleeramone deeleeramone added bug Fix bug portfolio Portfolio menu labels Jun 19, 2023
@deeleeramone
Copy link
Contributor Author

This was apparently resolved in this PR: #4688

@deeleeramone
Copy link
Contributor Author

Reopening because this issue has not been resolved.

(🦋) /portfolio/po/ $ load --example

Loading an example, please type `about` to learn how to create your own Portfolio Optimization Excel sheet.

Portfolio loaded: OpenBB Example Portfolio
Categories: ASSET_CLASS, SECTOR, INDUSTRY, COUNTRY, CURRENCY


(🦋) /portfolio/po/ $ mktcap

Optimization can take time. Please be patient...

Error: argument of type 'int' is not iterable

Error: unsupported operand type(s) for +=: 'int' and 'list'

Error: not enough values to unpack (expected 2, got 0)


(🦋) /portfolio/po/ $

@deeleeramone deeleeramone reopened this Aug 26, 2023
@jmaslek jmaslek closed this as completed May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fix bug portfolio Portfolio menu
Projects
None yet
Development

No branches or pull requests

3 participants