EconPapers    
Economics at your fingertips  
 

Dynamic Time Warping in Financial Data – Modification of Algorithm in Context of Stock Market Similarity Analysis

Tomasz Grzejszczak, Eryka Probierz, Adam Galuszka, Krzysztof Simek, Karol Jedrasiak and Tomasz Wisniewski

European Research Studies Journal, 2022, vol. XXV, issue 1, 967-979

Abstract: Purpose: The purpose of this paper is to use Dynamic Time Warping algorithm along with two statistical tests, Fourier transform and Random permutation, to analyze the similarity of company charts based on stock market data. Design/methodology/approach: The analyzed data from the Warsaw Stock Exchange will detect the similarity between different companies at different and the same time, and between different times for the same company. The research has been carried out based on data from the Warsaw Stock Exchange for selected companies on which DTW analysis has been performed, using AAiFT (Fourier transformations) and RP (Random permutations). Findings: Obtained results indicate that it is possible to detect high similarity between charts by DTW and verify this similarity using statistical tests. Boundary conditions were indicated for the analyses performed and various analysis cases were investigated. Practical Implications: Conducted research reveals the relevance of the use of DTW in a financial context and the possibility of further development as a tool to support investing. Originality/Value: Previous analyses using the DTW method have not included the use of statistical tests in the analysis of the resulting similarity. The use of such a solution is of particular importance in stock market data, allowing the analysis and detection of similarity, along with the determination of the probability of its occurrence.

Keywords: Dynamic Time Warping; Warsaw Stock Exchange; Stock Similarity; Random Permutation; Fourier Transformation. (search for similar items in EconPapers)
JEL-codes: D12 D47 D53 (search for similar items in EconPapers)
Date: 2022
References: View complete reference list from CitEc
Citations:

Downloads: (external link)
https://www.ersj.eu/journal/2897/download (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:ers:journl:v:xxv:y:2022:i:1:p:967-979

Access Statistics for this article

More articles in European Research Studies Journal from European Research Studies Journal
Bibliographic data for series maintained by Marios Agiomavritis ().

 
Page updated 2025-03-19
Handle: RePEc:ers:journl:v:xxv:y:2022:i:1:p:967-979