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.
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