Navigating Market Sentiments: A Novel Approach to Iron Ore Price Forecasting with Weighted Fuzzy Time Series
<p>Flowchart of the methodology proposal. Source: the authors.</p> "> Figure 2
<p>Real iron ore prices. Source: the authors.</p> "> Figure 3
<p>Aggregated sentiment. Source: the authors.</p> "> Figure 4
<p>Number of tweets. Source: the authors.</p> "> Figure 5
<p>Transformer architecture. Source: Adaptaded from Vaswani et al. [<a href="#B18-information-15-00251" class="html-bibr">18</a>].</p> "> Figure 6
<p>Scale product attention. Source: Adaptaded from Vaswani et al. [<a href="#B18-information-15-00251" class="html-bibr">18</a>].</p> "> Figure 7
<p>Multihead attention. Source: Adaptaded from Vaswani et al. [<a href="#B18-information-15-00251" class="html-bibr">18</a>].</p> "> Figure 8
<p>BERT pretraining. Source: Adaptaded from Devlin et al. [<a href="#B17-information-15-00251" class="html-bibr">17</a>].</p> "> Figure 9
<p>Forecasts for 7 months using the complete dataset. Source: the authors.</p> "> Figure 10
<p>Boxplots of RMSE from the experiments. Source: the authors.</p> "> Figure 11
<p>Boxplots of MAPE from the experiments. Source: the authors.</p> ">
Abstract
:1. Introduction
2. Related Work
3. Proposed Solution
3.1. Dataset
3.2. Iron Ore Prices
3.3. Aggregate Sentiment Index of Tweets
3.3.1. Sentiment Extraction
3.3.2. Sentiment Aggregation
3.4. Iron Ore Price Forecasting
- Preprocessing: This initial step aims to diminish the presence of irrelevant or minor data within the forecasted time series dataset Y.
- Partitioning: This involves dividing the universe of discourse U into k fuzzy sets to establish the linguistic variable .
- Fuzzification: This step generates the linguistic representation F of data Y based on the variable .
- Rule Extraction and Representation: Through this process, the knowledge model identifies patterns within F by examining temporal patterns across a set number of lags .
- Preprocessing: Necessary preprocessing is applied to the input sample .
- Fuzzification: The linguistic representation F of data Y is derived from the variable .
- Inference: Utilizing elements of from F, the model estimates .
- Defuzzification: The forecast is assigned a numerical value .
- Postprocessing: The forecasted output may be subjected to additional data transformations.
4. Performance Evaluation
4.1. Experiment Setup
4.2. Impact of the Obtained Results
5. Conclusions and Future Works
Author Contributions
Funding
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Mendes, J.A. O ferro na história: Das artes mecânicas às Belas-Artes. Gestáo Desenvolv. 2000, 9, 301–318. [Google Scholar] [CrossRef]
- Li, D.; Moghaddam, M.R.; Monjezi, M.; Jahed Armaghani, D.; Mehrdanesh, A. Development of a Group Method of Data Handling Technique to Forecast Iron Ore Price. Appl. Sci. 2020, 10, 2364. [Google Scholar] [CrossRef]
- Tuo, J.; Zhang, F. Modelling the iron ore price index: A new perspective from a hybrid data reconstructed EEMD-GORU model. J. Manag. Sci. Eng. 2020, 5, 212–225. [Google Scholar] [CrossRef]
- Market Index. FAQs. Market Index. 2022. Available online: https://www.marketindex.com.au/ (accessed on 25 April 2024).
- Arias, M.; Arratia, A.; Xuriguera, R. Forecasting with twitter data. ACM Trans. Intell. Syst. Technol. (TIST) 2014, 5, 1–24. [Google Scholar] [CrossRef]
- Nobre, R.A.; Nascimento, K.C.d.; Vargas, P.A.; Valejo, A.D.B.; Pessin, G.; Villas, L.A.; Filho, G.P.R. AURORA: An autonomous agent-oriented hybrid trading service. Neural Comput. Appl. 2022, 34, 1–16. [Google Scholar] [CrossRef]
- Ewees, A.A.; Elaziz, M.A.; Alameer, Z.; Ye, H.; Jianhua, Z. Improving multilayer perceptron neural network using chaotic grasshopper optimization algorithm to forecast iron ore price volatility. Resour. Policy 2020, 65, 101555. [Google Scholar] [CrossRef]
- Jowitt, S.M. COVID-19 and the global mining industry. SEG Discov. 2020, 122, 33–41. [Google Scholar] [CrossRef]
- Ma, Y.; Wang, J. Time-varying spillovers and dependencies between iron ore, scrap steel, carbon emission, seaborne transportation, and China’s steel stock prices. Res. Policy 2021, 74, 102254. [Google Scholar] [CrossRef]
- Keenan, M.J.S. Advanced Positioning, Flow, and Sentiment Analysis in Commodity Markets: Bridging Fundamental and Technical Analysis; Wiley: Hoboken, NJ, USA, 2019. [Google Scholar]
- Alves, D.S. Uso de Técnicas de Computação Social para Tomada de Decisão de Compra e Venda de Ações no Mercado Brasileiro de Bolsa de Valores. Ph.D. Thesis, Departamento de Engenharia Elétrica, Faculdade de Tecnologia, Universidade de Brasília, Brasília, DF, Brazil, 2015; 133p. [Google Scholar]
- Igarashi, W.; Valdevieso, G.S.; Igarashi, D.C.C. Análise de sentimentos e indicadores técnicos: Uma análise da correlação dos preços de ativos com a polaridade de notícias do mercado de ações. Braz. J. Bus. 2020, 3, 470–486. [Google Scholar] [CrossRef]
- Sousa, M.G.; Sakiyama, K.; de Souza Rodrigues, L.; Moraes, P.H.; Fernandes, E.R.; Matsubara, E.T. BERT for stock market sentiment analysis. In Proceedings of the 2019 IEEE 31st International Conference on Tools with Artificial Intelligence (ICTAI), Portland, OR, USA, 4–6 November 2019; pp. 1597–1601. [Google Scholar]
- Dolabela Dias, B.C.; Sadaei, H.J.; De Lima e Silva, P.C.; Guimarães, F.G. Aggregation of Sentiment Analysis Index with Hesitant Fuzzy Sets for Financial Time Series Forecasting. In Proceedings of the 2021 IEEE World AI IoT Congress (AIIoT), Virtual, 10–13 May 2021; pp. 433–439. [Google Scholar] [CrossRef]
- Li, W.; Huang, S.; Qi, Y.; Haizhong, A. Rdeu Hawk-Dove Game Analysis of the China-Australia Iron Ore Trade Conflict. Resour. Policy 2022, 77, 102643. [Google Scholar] [CrossRef]
- Tonidandel, H., Jr.; Guimarães, F.G. Aplicação de Modelos Nebulosos Univariados e Multivariados na Previsão de Preços de Minério De Ferro: Um Estudo Comparativo. In Proceedings of the Congresso Brasileiro de Automática-CBA: 2022, Fortaleza, Brazil, 16–19 October 2022. [Google Scholar]
- Devlin, J.; Chang, M.W.; Lee, K.; Toutanova, K. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv 2018, arXiv:1810.04805. [Google Scholar]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention is all you need. In Proceedings of the Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, Long Beach, CA, USA, 4–9 December 2017. [Google Scholar]
- Torra, V. Hesitant fuzzy sets. Int. J. Intell. Syst. 2010, 25, 529–539. [Google Scholar] [CrossRef]
- Xia, M.; Xu, Z. Hesitant fuzzy information aggregation in decision making. Int. J. Approx. Reason. 2011, 52, 395–407. [Google Scholar] [CrossRef]
- Song, Q.; Chissom, B.S. Fuzzy time series and its models. Fuzzy Sets Syst. 1993, 54, 269–277. [Google Scholar] [CrossRef]
- Cheng, C.H.; Chen, C.H. Fuzzy time series model based on weighted association rule for financial market forecasting. Expert Syst. 2018, 35, e12271. [Google Scholar] [CrossRef]
- de Lima, P.C. Scalable Models for Probabilistic Forecasting with Fuzzy Time Series. 2019. Available online: https://repositorio.ufmg.br/bitstream/1843/30040/1/Final_Thesis.pdf (accessed on 17 March 2024).
- Silva, P.C.; e Lucas, P.d.O.; Sadaei, H.J.; Guimaraes, F.G. Distributed evolutionary hyperparameter optimization for fuzzy time series. IEEE Trans. Netw. Serv. Manag. 2020, 17, 1309–1321. [Google Scholar] [CrossRef]
Data | Tweet |
---|---|
25 July 2019 | The mining industry is starting to split on who bears responsibility for all the carbon emissions caused by smeltin |
25 July 2019 | Anglo American plans to buy back up to billion of shares after the diversified miner reaped bumper profits from |
20 July 2019 | Vale’s second quarter production due next week may offer clues on an end to shortages |
19 July 2019 | BHP forecasts iron ore production will rise as much as this fiscal year after output slumped to a first annual d |
12 July 2019 | Forget about oil bonds and tech. This tiny ETF has gained more than so far in July |
12 July 2019 | The world s largest mining company says it could build more iron ore mines over the next to years in nort |
Tweet | Sentiment BERT |
---|---|
The mining industry is starting to split on who bears responsibility for all the carbon emissions caused by smeltin | 0.30201486 |
Anglo American plans to buy back up to billion of shares after the diversified miner reaped bumper profits from | 0.61859 |
Vale’s second quarter production due next week may offer clues on an end to shortages | 0.19472954 |
BHP forecasts iron ore production will rise as much as this fiscal year after output slumped to a first annual d | 0.33379474 |
Forget about oil bonds and tech. This tiny ETF has gained more than so far in July | 0.20920986 |
The world s largest mining company says it could build more iron ore mines over the next to years in nort | 0.35044497 |
Data | Tweet | BERT Sentiment | Aggregated Sentiment |
---|---|---|---|
July 2019 | The mining industry is starting to split on who bears responsibility for all the carbon emissions caused by smeltin | 0.30201486 | 0.35299 |
Anglo American plans to buy back up to billion of shares after the diversified miner reaped bumper profits from | 0.61859 | ||
Vale’s second quarter production due next week may offer clues on an end to shortages | 0.19472954 | ||
BHP forecasts iron ore production will rise as much as this fiscal year after output slumped to a first annual | 0.33379474 | ||
Forget about oil bonds and tech. This tiny ETF has gained more than so far in July | 0.20920986 | ||
The world s largest mining company says it could build more iron ore mines over the next to years in nort | 0.35044497 |
Number of Tweets | Aggregated Sentiment | Real Iron Ore Prices | |
---|---|---|---|
Count | 79.000000 | 79.000000 | 79.000000 |
Mean | 6.379747 | 0.254674 | 90.302152 |
Std | 5.189496 | 0.165029 | 39.877650 |
Min | 0.000000 | 0.010230 | 41.500000 |
25% | 2.000000 | 0.129363 | 64.750000 |
50% | 6.000000 | 0.233284 | 81.350000 |
75% | 9.000000 | 0.335585 | 104.200000 |
Max | 23.000000 | 0.846314 | 214.550000 |
Model | RMSE | MAPE | MDA |
---|---|---|---|
WMVFTS (P + S + C) | 28.21 | 17.86 | 1.0 |
WMVFTS (P + S) | 28.62 | 18.36 | 1.0 |
WMVFTS (P + C) | 29.65 | 19.98 | 1.0 |
Model | Average RMSE | Average MAPE | Average MDA |
---|---|---|---|
WMVFTS (P + S + C) | 1.08 | 0.74 | 0.96 |
WMVFTS (P + S) | 3.98 | 2.96 | 0.8 |
WMVFTS (P + C) | 3.02 | 2.12 | 0.96 |
RESULTS | (P + S + C) | (P + S) | (P + C) | FDTFTS_ID3 | FDTFTS_CART | FDTFTS_RF |
---|---|---|---|---|---|---|
Minimum | 0.00 | 0.00 | 0.00 | 7.96 | 7.96 | 4.69 |
Median | 1.53 | 3.59 | 3.64 | 19.15 | 19.20 | 16.17 |
Maximum | 3.65 | 11.91 | 10.18 | 37.30 | 37.73 | 30.30 |
IQR | 3.04 | 5.41 | 4.00 | 15.51 | 13.28 | 16.07 |
RESULTS | (P + S + C) | (P + S) | (P + C) | FDTFTS_ID3 | FDTFTS_CART | FDTFTS_RF |
---|---|---|---|---|---|---|
Minimum | 0.00 | 0.00 | 0.00 | 3.71 | 3.71 | 1.97 |
Median | 1.09 | 2.89 | 2.43 | 11.94 | 12.06 | 10.50 |
Maximum | 2.73 | 10.72 | 7.70 | 30.25 | 30.47 | 22.17 |
IQR | 1.62 | 4.01 | 3.70 | 10.63 | 8.73 | 9.04 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Souza, F.M.d.C.; Filho, G.P.R.; Guimarães, F.G.; Meneguette, R.I.; Pessin, G. Navigating Market Sentiments: A Novel Approach to Iron Ore Price Forecasting with Weighted Fuzzy Time Series. Information 2024, 15, 251. https://doi.org/10.3390/info15050251
Souza FMdC, Filho GPR, Guimarães FG, Meneguette RI, Pessin G. Navigating Market Sentiments: A Novel Approach to Iron Ore Price Forecasting with Weighted Fuzzy Time Series. Information. 2024; 15(5):251. https://doi.org/10.3390/info15050251
Chicago/Turabian StyleSouza, Flavio Mauricio da Cunha, Geraldo Pereira Rocha Filho, Frederico Gadelha Guimarães, Rodolfo I. Meneguette, and Gustavo Pessin. 2024. "Navigating Market Sentiments: A Novel Approach to Iron Ore Price Forecasting with Weighted Fuzzy Time Series" Information 15, no. 5: 251. https://doi.org/10.3390/info15050251