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

Report Generator KeyError Exception Due to Missing Color Mapping #6532

Closed
4 tasks done
AlexCatarino opened this issue Aug 8, 2022 · 0 comments · Fixed by #6546
Closed
4 tasks done

Report Generator KeyError Exception Due to Missing Color Mapping #6532

AlexCatarino opened this issue Aug 8, 2022 · 0 comments · Fixed by #6546
Assignees

Comments

@AlexCatarino
Copy link
Member

AlexCatarino commented Aug 8, 2022

Expected Behavior

The Report generator generated Exposure chart for all securities types.

Actual Behavior

KeyError when the portfolio contains Index Options on ReportCharts.py#L964:L967, since there is no IndexOption key in those dictionaries.

Potential Solution

N/A

Reproducing the Problem

Generate a report using the following file:
3428b32e4ada5889b13e82eeb8d65a66.json

Checklist

  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • I have confirmed that this is not a duplicate issue by searching issues
  • I have provided detailed steps to reproduce the issue
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 a pull request may close this issue.

2 participants