Work

Design and Evaluation of a Hybrid Natural Language Processing and Machine Learning Model for Economic News Sentiment Analysis to Predict Price Fluctuations in the Iran Mercantile Exchange

Year: 2027
Type: article
Abstract: This study aimed to design and evaluate a hybrid Persian natural language processing and machine learning model for extracting economic news sentiment and predicting steel price fluctuations in the Iran Mercantile Exchange. This applied-developmental study employed a descriptive-analytical design based on secondary textual and time-series data. The dataset included 45,836 economic, industrial, and financial news articles published between January 2019 and January 2026 and 1,486 synchronized daily observations of steel billet and sheet transactions. A fine-tuned ParsBERT model classified news as positive, negative, or neutral, and a daily sentiment index was calculated using source credibility, publication timing, and news intensity. Numerical variables included closing prices, trading volume, supply, demand, the informal exchange rate, the global iron ore price, and technical indicators. Random Forest, LSTM, XGBoost, ParsBERT-LSTM, and ParsBERT-XGBoost were compared using walk-forward validation. ParsBERT achieved a sentiment-classification accuracy of 89.4% and an F1 score of 0.887. Granger causality analysis showed that the two-business-day lag of news sentiment significantly predicted price returns, with F = 8.75 and p = 0.003. ParsBERT-XGBoost produced the best performance, with an RMSE of 710 and an MAE of 520 Iranian rials per kilogram. Compared with numerical XGBoost, the hybrid model reduced RMSE by 27.6%. It also achieved a directional accuracy of 72.6%, a win rate of 67.4%, a Sharpe ratio of 1.76, and a maximum drawdown of 9.2%. The informal exchange rate, news sentiment index, and global iron ore price were the most influential predictors. Integrating Persian news embeddings with fundamental, transactional, and technical variables through the ParsBERT-XGBoost architecture improved forecasting accuracy and risk-adjusted performance and may provide an effective decision-support and early-warning tool for the Iran Mercantile Exchange.
Language: English
Open Access status: hybrid
OpenAlex ID: W7171865274
Cites: 18
Cited by:
Related to: 10