Hi,
I want to run multiple strategies on the same account. I need to make sure that the algo's don't sell eachothers holdings but that's easy with a custom object. The main question is that I would like to know how much profit an algo has generated and it would be awesome if I could use context.portfolio.capital_used or context.portfolio.initial_cash+context.portfolio.pnl to make sure the algo trades in its "own" universe.
So....
does the portfolio object refer to the total portfolio in and outside the defined universe or does it refer to the portfolio in relation to the defined universe?
Any answers and/ or tips how to force this? I dont want to rebuild the logic of the backtester to separate the algo's....
cheers, Peter