Stock Picker An implementation of stock picker in Ruby The method stock_picker accepts an array of prices as argument. It then returns an array containing the pair of days that would yield the best day to buy and the best day to sell.