getAvgPrice have to test