update filterAndRank and buildPortfolio_walkForward