I wish to backtest a portfolio of pairs trading algorithm. Same algorithm working on multiple pairs. What is the best way to do it

Author