The Lexicon-Based Sentiment Analysis for Stock Price Prediction in Islamic Fashion Industry

Authors

DOI:

https://doi.org/10.57152/malcom.v6i2.2586

Keywords:

Behavioral Finance, Indonesia, Islamic Fashion, Sentiment Analysis, Stock Price Prediction

Abstract

This study develops a lexicon-based sentiment analysis method to examine the relationship between social media sentiment and stock price movements in Indonesia's Islamic fashion industry. We collected 6,087 social media comments from TikTok, Instagram, and Twitter over 396 days, alongside daily stock data from Elzatta (ZATA). Using an Indonesian fashion-specific lexicon with 42 positive and 38 negative indicators validated through inter-annotator agreement (Cohen's Kappa = 0.82), we employed ordinary least squares regression with heteroskedasticity-robust standard errors to test sentiment-return relationships. Results show no economically significant relationship between social media sentiment and stock returns (correlation = -0.06, p = 0.240), with models explaining only 2.09% of return variance. We identify three boundary conditions limiting sentiment-based prediction: (1) feature mismatch 82% of comments discuss product attributes rather than business fundamentals, (2) demographic disconnect social media users (78% female, aged 18-29) differ markedly from investors (68% male, aged 35-55), and (3) market microstructure constraints 43% zero-volume days and 2.3% bid-ask spreads impede price discovery. This study provides the first Indonesian fashion-specific sentiment lexicon and establishes actionable validation guidelines for practitioners: sentiment features must be verified for demographic alignment and market liquidity before deployment. For machine learning applications in emerging markets

Downloads

Download data is not yet available.

References

S. Long, B. Lucey, Y. Xie, and L. Yarovaya, “‘I just like the stock’: The role of Reddit sentiment in the GameStop share rally,” Financ. Rev., vol. 58, no. 3, pp. 531–561, Aug. 2023, doi: 10.1111/fire.12328.

M. Sharaf, E. E.-D. Hemdan, A. EL-SAYED, and N. A. El-Bahnasawy, “An efficient hybrid stock trend prediction system during COVID-19 pandemic based on stacked-LSTM and news sentiment analysis,” Multimed. Tools Appl., vol. 82, no. 16, pp. 23945–23977, Jun. 2023, doi: 10.1007/s11042-022-14216-w.

B. A. Abdelfattah, S. M. Darwish, and S. M. M. Elkaffas, “Enhancing the prediction of stock market movement using neutrosophic-logic-based sentiment analysis,” J. Theor. Appl. Electron. Commer. Res., vol. 19, no. 1, pp. 116–134, Jan. 2024, doi: 10.3390/jtaer19010007.

J. Bollen, H. Mao, and X. Zeng, “Twitter mood predicts the stock market,” J. Comput. Sci., vol. 2, no. 1, pp. 1–8, 2011, doi: 10.1016/j.jocs.2010.12.007.

P. C. Tetlock, “Giving content to investor sentiment: The role of media in the stock market,” J. Finance, vol. 62, no. 3, pp. 1139–1168, 2007, doi: 10.1111/j.1540-6261.2007.01232.x.

T. O. Sprenger, A. Tumasjan, P. G. Sandner, and I. M. Welpe, “Tweets and trades: The information content of stock microblogs,” Eur. Financ. Manag., vol. 20, no. 5, pp. 926–957, 2014, doi: 10.1111/j.1468-036X.2013.12007.x.

H. Chen, P. De, Y. (Jeffrey) Hu, and B.-H. Hwang, “Wisdom of crowds: The value of stock opinions transmitted through social media,” Rev. Financ. Stud., vol. 27, no. 5, pp. 1367–1403, 2014, doi: 10.1093/rfs/hhu001.

Z. Da, J. Engelberg, and P. Gao, “In search of attention,” J. Finance, vol. 66, no. 5, pp. 1461–1499, 2011, doi: 10.1111/j.1540-6261.2011.01679.x.

N. Vlastakis and R. N. Markellos, “Information demand and stock market volatility,” J. Bank. Financ., vol. 36, no. 6, pp. 1808–1821, 2012, doi: 10.1016/j.jbankfin.2012.02.007.

M. Schmeling, “Investor sentiment and stock returns: Some international evidence,” J. Empir. Financ., vol. 16, no. 3, pp. 394–408, 2009, doi: 10.1016/j.jempfin.2009.01.002.

E. Bartov, L. Faurel, and P. S. Mohanram, “Can Twitter help predict firm-level earnings and stock returns?,” Account. Rev., vol. 93, no. 3, pp. 25–57, 2018, doi: 10.2308/accr-51865.

A. M. Setiawan and S. Riyadi, “Islamic fashion industry development in Indonesia: Analysis of halal value chain,” J. Islam. Mark., vol. 14, no. 2, pp. 412–428, Feb. 2023, doi: 10.1108/JIMA-08-2021-0265.

Indonesia Creative Economy Agency, “Bekraf Outlook: Fashion Industry 2024,” Jakarta, 2024.

A. Aliandu, M. Adriani, and I. Budi, “Sentiment analysis for Indonesian tweets using transfer learning from English-based model,” J. Big Data, vol. 9, no. 1, pp. 1–15, Jan. 2022, doi: 10.1186/s40537-021-00558-w.

X. Li, P. Wu, and W. Wang, “Incorporating stock prices and news sentiments for stock market prediction: A case of Hong Kong,” Inf. Process. & Manag., vol. 57, no. 5, p. 102212, Sep. 2020, doi: 10.1016/j.ipm.2020.102212.

W. Long and Y. Zhong, “The neglected cohort: The impact of silent majority in social media on stock returns,” Financ. Res. Lett., vol. 58, p. 104456, 2023, doi: 10.1016/j.frl.2023.104456.

Indonesian NLP Resources, “Sastrawi: High quality stemmer library for Indonesian Language,” 2016. doi: https://github.com/sastrawi/sastrawi.

M. Thelwall, K. Buckley, G. Paltoglou, D. Cai, and A. Kappas, “Sentiment strength detection in short informal text,” J. Am. Soc. Inf. Sci. Technol., vol. 61, no. 12, pp. 2544–2558, Dec. 2010, doi: 10.1002/asi.21416.

F. Koto and M. Adriani, “A comparative study on Twitter sentiment analysis: Which features are good?,” in International Conference on Natural Language Processing, 2015, pp. 453–457. doi: 10.1007/978-3-319-19581-0_46.

W. L. Hamilton, K. Clark, J. Leskovec, and D. Jurafsky, “Inducing domain-specific sentiment lexicons from unlabeled corpora,” Proc. EMNLP, pp. 595–605, 2016, doi: 10.18653/v1/D16-1057.

Indonesian WordNet, “Indonesian WordNet Project,” 2019.

R. Artstein and M. Poesio, “Inter-coder agreement for computational linguistics,” Comput. Linguist., vol. 34, no. 4, pp. 555–596, 2008, doi: 10.1162/coli.07-034-R2.

J. R. Landis and G. G. Koch, “The measurement of observer agreement for categorical data,” Biometrics, vol. 33, no. 1, pp. 159–174, Mar. 1977, doi: 10.2307/2529310.

S. M. Mohammad and P. D. Turney, “Crowdsourcing a word-emotion association lexicon,” Comput. Intell., vol. 29, no. 3, pp. 436–465, 2013, doi: 10.1111/j.1467-8640.2012.00460.x.

M. Taboada, J. Brooke, M. Tofiloski, K. Voll, and M. Stede, Lexicon-based methods for sentiment analysis, vol. 37, no. 2. 2011. doi: 10.1162/COLI_a_00049.

J. Y. Campbell, A. W. Lo, and A. C. MacKinlay, The Econometrics of Financial Markets. Princeton University Press, 1997.

A. Petersen, “Analyzing panel data: Fixed- and random-effects models,” in Handbook of Research Methods in Corporate Governance, Cheltenham, UK: Edward Elgar Publishing, 2018, pp. 276–298.

R. Cont, “Empirical properties of asset returns: Stylized facts and statistical issues,” Quant. Financ., vol. 1, no. 2, pp. 223–236, 2001, doi: 10.1080/713665670.

H. Li, Y. Shen, and W. Zhang, “Feature engineering for machine learning in financial forecasting: A comprehensive review,” Expert Syst. Appl., vol. 162, p. 113866, Dec. 2020, doi: 10.1016/j.eswa.2020.113866.

A. R. Admati and P. Pfleiderer, “A theory of intraday patterns: Volume and price variability,” Rev. Financ. Stud., vol. 1, no. 1, pp. 3–40, 1988, doi: 10.1093/rfs/1.1.3.

J. A. Cookson, M. Niessner, and M. Schoenfeld, “How do individual investors trade?,” J. Finance, vol. 78, no. 2, pp. 695–745, Apr. 2023, doi: 10.1111/jofi.13206.

T. Renault, “Intraday online investor sentiment and return patterns in the U.S. stock market,” J. Bank. & Financ., vol. 84, pp. 25–40, Nov. 2017, doi: 10.1016/j.jbankfin.2017.07.002.

R. Porshnev, I. Redkin, and A. Shevchenko, “Machine learning in prediction of stock market indicators based on historical data and data from Twitter sentiment analysis,” in Proc. IEEE Conference on Data Mining Workshops, Shenzhen, China, Dec. 2013, pp. 440–444. doi: 10.1109/ICDMW.2013.111.

Downloads

Published

2026-04-19

How to Cite

Sutisna, E., Dafitri, R., & Daryani, D. (2026). The Lexicon-Based Sentiment Analysis for Stock Price Prediction in Islamic Fashion Industry. MALCOM: Indonesian Journal of Machine Learning and Computer Science, 6(2), 591-598. https://doi.org/10.57152/malcom.v6i2.2586