Say if I have a pool of 300-500 stocks, I would like to sort out top 10 stocks by ranking algo, and compute the portfolio and then test win/loss. Do we have example of this?
@hobart-liu Guess I have asked something like this very recently - have a look my issue
Following should help you as well:
I'm fairy new to backtrader - so there could be better answers for your question.
Same as ranking 2 stocks. The number is not relevant.
Many thanks @tracy , @backtrader