Closed andyherfer closed 1 year ago
Patch coverage: 100.00
% and project coverage change: -0.12
:warning:
Comparison is base (
6f699fd
) 99.42% compared to head (3feb53a
) 99.30%.
:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Thanks you for the fix.
I wanted to add multiple sector constraints, for example:
Where the main problem was that some assets belonged to more than one sector, and wanted to mix different sector classifications, such as debt can be subdivided between corporate and governmental.
When adding the second constraint, it looks for all registered tickers, where some may not be present in the second mapper, thus by changed the [] dict indexing notation for a .get notation, a None is returned, and therefore not added to the optimization constraint sum in: