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/EF - adding start/end dates, or period flag, generates Error: shapes (1002, 13) and (14, 20032) not aligned #2372

Closed
deeleeramone opened this issue Aug 19, 2022 · 3 comments · Fixed by #2446
Assignees
Labels
bug Fix bug portfolio Portfolio menu

Comments

@deeleeramone
Copy link
Contributor

When deploying the start/end dates, errors and empty charts can be returned.

ef
Screen Shot 2022-08-19 at 9 46 22 AM

ef -s 2018-08-19 -e 2022-08-18
Screen Shot 2022-08-19 at 9 48 29 AM

`ef -s 2019-08-19 -e 2022-08-18'
Screen Shot 2022-08-19 at 9 49 35 AM

2022 Aug 19, 12:49 /portfolio/po/ $ ef -p max
Error: shapes (6939, 3) and (14, 133) not aligned

Screen Shot 2022-08-19 at 9 50 19 AM

@github-actions github-actions bot added bug Fix bug portfolio Portfolio menu labels Aug 19, 2022
@DidierRLopes
Copy link
Collaborator

Screenshot 2022-08-27 at 19 10 15

I've tried several portfolios, they all worked. When reporting a bug you need to say everything about it otherwise it's hard to recreate.

@deeleeramone
Copy link
Contributor Author

deeleeramone commented Aug 27, 2022

Did you try with ef -p max?

load -f Public_Equity_Orderbook.xlsx
po
ef -p max

Error: shapes (10515, 2) and (10, 129) not aligned

Screen Shot 2022-08-27 at 1 04 15 PM

ef -p 5y produces the expected results:
Screen Shot 2022-08-27 at 1 05 07 PM

Selecting a starting date from 2012 produces the error:
Screen Shot 2022-08-27 at 1 07 11 PM

soggyomelette added a commit that referenced this issue Aug 28, 2022
…rates Error: shapes (1002, 13) and (14, 20032) not aligned #2372
@soggyomelette
Copy link
Contributor

I was having a look at this a couple days ago, should be fixed now!

DidierRLopes pushed a commit that referenced this issue Aug 28, 2022
…rates Error: shapes (1002, 13) and (14, 20032) not aligned #2372 (#2446)
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

Successfully merging a pull request may close this issue.

4 participants