In this paper,the successive rises and falls of Shanghai stock index returns are analyzed by survival analysis and extremum theory.The distributions of the successive rises and falls of returns are fitted with Gamma distribution.The conditional probability of the rises and falls of the stock index is obtained.Also the influence of the volume is analyzed.We think that the random walk hypothesis is only a rough approximation.And our study helps to better understand the efficient market theory.