Program generate averange purchase rate and standard deviation of selling rate from date range