picks theoretical stocks from an input of prices on given days