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

Portfolio composition missing average price #18

Closed
Adam48521 opened this issue Sep 19, 2022 · 1 comment
Closed

Portfolio composition missing average price #18

Adam48521 opened this issue Sep 19, 2022 · 1 comment
Labels
wontfix This will not be worked on

Comments

@Adam48521
Copy link

Hi,

Please could you update the portfolio function to include the (weighted) average purchase price of the share?
Currently you can work out the average with the quantity of the shares purchased (y) and the total value invested (x), but x/y does not give you the weighted average purchase price. This data is provided by T212, so hopefully it can be incorporated into your scraping.

portfolio = trading212.get_portfolio_composition()

Thanks,
Adam

@HellAmbro
Copy link
Owner

Hi,
I don't want to touch Trading212 response, can you do it on your own?

@HellAmbro HellAmbro added the wontfix This will not be worked on label Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants