Please be aware that Shanghai has multiple airports and that these results are for all airports serving the city.
The best day to arrive at Shanghai is Wednesday and it would be best to avoid Thursday, as prices are on average 35.46% higher than on Wednesday. (Average prices, based on 3349 datapoints.)
The best time to fly is at around 21. (Average prices, based on 288 datapoints.)