Based on some data of the CSI 300 index, this paper uses the principal component analysis (PCA) to build the investor sentiment index, and then discusses the feasibility of constructing the investor sentiment index. It aims to build an investor sentiment index that matches the Chinese market, understand the psychological characteristics of investors, predict their expectations, and formulate effective regulatory policies.