IDEAS home Printed from https://ideas.repec.org/a/ers/journl/vxxvy2022i1p967-979.html
   My bibliography  Save this article

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

Author

Listed:
  • Tomasz Grzejszczak
  • Eryka Probierz
  • Adam Galuszka
  • Krzysztof Simek
  • Karol Jedrasiak
  • Tomasz Wisniewski

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.

Suggested Citation

  • Tomasz Grzejszczak & Eryka Probierz & Adam Galuszka & Krzysztof Simek & Karol Jedrasiak & Tomasz Wisniewski, 2022. "Dynamic Time Warping in Financial Data – Modification of Algorithm in Context of Stock Market Similarity Analysis," European Research Studies Journal, European Research Studies Journal, vol. 0(1), pages 967-979.
  • Handle: RePEc:ers:journl:v:xxv:y:2022:i:1:p:967-979
    as

    Download full text from publisher

    File URL: https://www.ersj.eu/journal/2897/download
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    Dynamic Time Warping; Warsaw Stock Exchange; Stock Similarity; Random Permutation; Fourier Transformation.;
    All these keywords.

    JEL classification:

    • D12 - Microeconomics - - Household Behavior - - - Consumer Economics: Empirical Analysis
    • D47 - Microeconomics - - Market Structure, Pricing, and Design - - - Market Design
    • D53 - Microeconomics - - General Equilibrium and Disequilibrium - - - Financial Markets

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:ers:journl:v:xxv:y:2022:i:1:p:967-979. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Marios Agiomavritis (email available below). General contact details of provider: https://ersj.eu/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.