Forecasting the future price trend of a stock traded on a financial exchange is the aim of stock market prediction. In recent decades, stock market prediction has been a fascinating topic in the domain of Data Science and Finance. In reality, the stock movement is ambiguous and chaotic due to various influencing factors such as government policy, current events, interest rates Etc. At the same time, accurate enough forecasting of stock price movement leads to substantial benefits for investors. This paper provides a comprehensive review of the application and comparison of Machine Learning (ML) algorithms and Econometric Models in stock market prediction. The mentioned models are categorized into (i) ML algorithms, including Linear Regression (LR), K-nearest neighbors (KNN), Support Vector Machine (SVM), and Long Short-Term Memory (LSTM). (ii) Econometric Models, including Autoregressive Integrated Moving Average (ARIMA) Model, Capital Asset Pricing Model (CAPM), and Fama-French (FF) Factor Model.