A Machine Learning Framework for Stock Trading: Integrating Technical and Economic Indicators

The increasing complexity of financial markets has driven the demand for intelligent trading systems capable of making accurate and timely decisions. This study presents a machine learning framework for stock trading that integrates both technical and economic indicators to enhance predictive performance and trading profitability. Utilizing a combination of Random Forest, XGBoost, and Long Short-Term Memory (LSTM) models, the research evaluates the effectiveness of these algorithms in forecasting stock price movements. Among them, the LSTM model demonstrated superior accuracy (71%) and a higher Area Under the Curve (AUC-ROC = 0.77), owing to its ability to capture temporal dependencies in financial time series data. The hybrid feature set included commonly used technical indicators (e.g., RSI, MACD, moving averages) and key macroeconomic variables (e.g., GDP growth, interest rates, CPI), improving the model’s adaptability to both market volatility and economic cycles. Backtesting over a three-year period revealed that the machine learning-based strategy yielded a cumulative return of 32.4% with a Sharpe ratio of 1.45, significantly outperforming traditional approaches like moving average crossover and buy-and-hold. Statistical validation through paired t-tests confirmed the significance of these results (p < 0.001). The findings underscore the potential of integrated machine learning approaches to offer more informed, resilient, and profitable trading strategies. This research contributes to the evolving field of AI in finance by offering a data-driven, interpretable, and scalable solution for stock market prediction and investment decision-making.

Authors

Institutions

Publication Details

Journal
Journal of Posthumanism
Published
2025-08-04
DOI
https://doi.org/10.63332/joph.v5i8.3133
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Machine Learning Framework for Stock Trading: Integrating Technical and Economic Indicators

Sarit Maitra, Smarth Behl, Jasmin Jarsania
Journal of Posthumanism
Stock Market Forecasting Methods
article

A Machine Learning Framework for Stock Trading: Integrating Technical and Economic Indicators

Sarit Maitra, Smarth Behl, Jasmin Jarsania
article en

Abstract

The increasing complexity of financial markets has driven the demand for intelligent trading systems capable of making accurate and timely decisions. This study presents a machine learning framework for stock trading that integrates both technical and economic indicators to enhance predictive performance and trading profitability. Utilizing a combination of Random Forest, XGBoost, and Long Short-Term Memory (LSTM) models, the research evaluates the effectiveness of these algorithms in forecasting stock price movements. Among them, the LSTM model demonstrated superior accuracy (71%) and a higher Area Under the Curve (AUC-ROC = 0.77), owing to its ability to capture temporal dependencies in financial time series data. The hybrid feature set included commonly used technical indicators (e.g., RSI, MACD, moving averages) and key macroeconomic variables (e.g., GDP growth, interest rates, CPI), improving the model’s adaptability to both market volatility and economic cycles. Backtesting over a three-year period revealed that the machine learning-based strategy yielded a cumulative return of 32.4% with a Sharpe ratio of 1.45, significantly outperforming traditional approaches like moving average crossover and buy-and-hold. Statistical validation through paired t-tests confirmed the significance of these results (p < 0.001). The findings underscore the potential of integrated machine learning approaches to offer more informed, resilient, and profitable trading strategies. This research contributes to the evolving field of AI in finance by offering a data-driven, interpretable, and scalable solution for stock market prediction and investment decision-making.

Journal of PosthumanismVol. 5(8)
EP Analytics (United States) (US), Data Management (Italy) (IT)
Decent work and economic growth
Openalex Percentile: Top 77%
Stock Market Forecasting Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A Machine Learning Framework for Stock Trading: Integrating Technical and Economic Indicators — Sarit Maitra, Smarth Behl, et al. · Journal of Posthumanism (2025) | TGRS Research Map | TGRS