[stock_extended]: write expects that ids is a list