I started to go live for some of my strategies and realised that whenever there is a buy or sell order, the returns shown (total returns & annualized returns) will be based on the new orders. Is there a way to track the live returns such that the returns will reflect the gains and losses on the stocks that were bought and sold after going live?
Right now there isn't such a feature as the main function of PyInvesting is to provide investors with trading signals. However Evan Koh from https://stocks.cafe/ is a friend of mine and his website specializes in tracking the live performance of your investment strategy.
We have done a collaboration where in the live email alerts that you receive, there is a column where there is a link for you to create orders directly in Stocks Cafe. Do check out the website!