search stock by function