Clustering Stock Prices of Financial Sector Using K-Means Clustering with Dynamic Time Warping

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Citations (Scopus)

Abstract

An investor is a person who invests money in a business to make for a profit. Investment instruments in the capital market include stocks, bonds, warrants, rights, mutual funds, and various other derivative instruments. According to the IDX, the number of stock investors has increased to 3,988,341 SID as of June 24, 2022, an increase of more than 536 thousand SID or 15.6% from the previous year. Every investor wants to benefit from the shares they own. So it is necessary to consider which groups have desired price fluctuations. In this study, data on the share prices of financial sector companies are used for the period April 1, 2021, to March 31, 2022. The variables used are open, close, and HML (High Minus Low) stock prices. The method used is K-Means clustering with Dynamic Time Warping (DTW) distance. The K-Means was chosen because it is commonly used for large data scales; besides that, K-means with DTW was chosen because it is a non-linear sequence alignment distance, so it is considered suitable to be applied to stock price data in the form of time series data. The analysis was carried out by comparing the results of K-means with Euclidean and DTW distances. It was concluded that the DTW distance gave a higher silhouette score than the Euclidian distance.

Original languageEnglish
Title of host publicationProceeding - 6th International Conference on Information Technology, Information Systems and Electrical Engineering
Subtitle of host publicationApplying Data Sciences and Artificial Intelligence Technologies for Environmental Sustainability, ICITISEE 2022
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages503-507
Number of pages5
ISBN (Electronic)9798350399615
DOIs
Publication statusPublished - 2022
Event6th International Conference on Information Technology, Information Systems and Electrical Engineering, ICITISEE 2022 - Virtual, Online, Indonesia
Duration: 13 Dec 202214 Dec 2022

Publication series

NameProceeding - 6th International Conference on Information Technology, Information Systems and Electrical Engineering: Applying Data Sciences and Artificial Intelligence Technologies for Environmental Sustainability, ICITISEE 2022

Conference

Conference6th International Conference on Information Technology, Information Systems and Electrical Engineering, ICITISEE 2022
Country/TerritoryIndonesia
CityVirtual, Online
Period13/12/2214/12/22

Keywords

  • dynamic time warping
  • euclidean
  • k-means
  • silhouette score
  • stock

Fingerprint

Dive into the research topics of 'Clustering Stock Prices of Financial Sector Using K-Means Clustering with Dynamic Time Warping'. Together they form a unique fingerprint.

Cite this