Advanced Applications of Python in Market Trend Analysis Research
Journal: Modern Economics & Management Forum DOI: 10.32629/memf.v6i1.3565
Abstract
Objective: This paper explores the advanced applications of Python in market trend analysis, combining time series analysis, machine learning, and deep learning techniques to construct an efficient market trend forecasting framework, thereby improving the scientific and accurate decision-making process. Methods: Empirical analysis is conducted using historical financial market data to construct three models: ARIMA, LSTM, and SVR. Python is used for data preprocessing, model training, and prediction evaluation. The models' accuracy, stability, and robustness are comprehensively compared using three evaluation metrics: Mean Squared Error (MSE), Mean Absolute Error (MAE), and Trend Consistency Rate (TCR). Results: The experiments demonstrate that the LSTM model performs best in terms of prediction accuracy, trend consistency, and robustness, with the lowest MSE (0.015), lowest MAE (0.088), and highest TCR (85.3%). The SVR model ranks second, while ARIMA performs weakly when dealing with nonlinear data. Conclusion: Python, with its powerful data analysis capabilities and ease of algorithm implementation, provides comprehensive support for market trend analysis. The LSTM model, due to its ability to model non-linear relationships and capture long-term dependencies, is suitable for complex trend forecasting and provides valuable insights for market decision-making.
Keywords
python, market trend analysis, LSTM model, time series
Full Text
PDF - Viewed/Downloaded: 3 TimesReferences
[1] Dalawat L S , Soni D , Jain L ,et al.FUTURE MARKET TRENDS PREDICTION WITH PYTHON AND MACHINE LEARNING[J].International Journal of Advanced Research in Computer Science, 2022, 13.
[2] Lundberg L , Boldt M , Borg A ,et al.Bibliometric Mining of Research Trends in Machine Learning[J].AI, 2024, 5(1).
[3] Le Clercq L S .ABCal: a Python package for author bias computation and scientometric plotting for reviews and meta-analyses[J].Scientometrics: An International Journal for All Quantitative Aspects of the Science of Science Policy, 2024, 129(1):581-600.
[4] Barker D G , Barker T M , Pyron R A ,et al.A Discussion of Two Methods of Modeling Suitable Climate for the Burmese Python, Python bivittatus, with Comments on Rodda, Jarnevich and Reed (2011)[J]. 2022.
[5] Raffa G ,Jorge Blasco Alís, O'Keeffe D ,et al.AWSomePy: A Dataset and Characterization of Serverless Applications[J].Proceedings of the 1st Workshop on SErverless Systems, Applications and MEthodologies, 2023.
[2] Lundberg L , Boldt M , Borg A ,et al.Bibliometric Mining of Research Trends in Machine Learning[J].AI, 2024, 5(1).
[3] Le Clercq L S .ABCal: a Python package for author bias computation and scientometric plotting for reviews and meta-analyses[J].Scientometrics: An International Journal for All Quantitative Aspects of the Science of Science Policy, 2024, 129(1):581-600.
[4] Barker D G , Barker T M , Pyron R A ,et al.A Discussion of Two Methods of Modeling Suitable Climate for the Burmese Python, Python bivittatus, with Comments on Rodda, Jarnevich and Reed (2011)[J]. 2022.
[5] Raffa G ,Jorge Blasco Alís, O'Keeffe D ,et al.AWSomePy: A Dataset and Characterization of Serverless Applications[J].Proceedings of the 1st Workshop on SErverless Systems, Applications and MEthodologies, 2023.
Copyright © 2025 Zhoufan Yu

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License