EconPapers    
Economics at your fingertips  
 

Pattern Discovery in Time Series Data Using Python Script and MS Excel

Andreev Viktor () and Vasilev Julian ()
Additional contact information
Andreev Viktor: University of Economics, Varna, Bulgaria
Vasilev Julian: University of Economics, Varna, Bulgaria

Proceedings of the International Conference on Business Excellence, 2025, vol. 19, issue 1, 958-968

Abstract: Pattern discovery is a novel approach to time series data. Even though many attempts are made, some innovative ideas for pattern discovery may be proposed. The purpose of this paper is to present an approach for extracting Yahoo finance data, converting it into MS Excel data, and discovering patterns in MS Excel. The main approach contains two steps: first, using a Python script for Yahoo finance data extraction and saving it as an MS Excel spreadsheet (time series data for a specific sector for a certain period), and second, using simple Excel formulas for pattern discovery. A standard count of pattern occurrences is calculated according to the length of the pattern. Patterns with different sizes are checked. Each pattern is checked – its appearances count in the time series compared to the standard count of occurrences. If the pattern occurrences count is greater than the standard occurrences count, it may be concluded that the pattern discovery method is successful. The paper presents an original (novel) approach to pattern discovery. The approach is limited to a single sector, but it can be applied to pattern discovery in any business sector. The paper is useful for practitioners who seek advanced forecasting techniques based on pattern discovery. The performance testing of different patterns is done by visualizing their occurrence count in the time series.

Keywords: Pattern discovery; time series data; Python script (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:

Downloads: (external link)
https://doi.org/10.2478/picbe-2025-0075 (text/html)

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:vrs:poicbe:v:19:y:2025:i:1:p:958-968:n:1009

DOI: 10.2478/picbe-2025-0075

Access Statistics for this article

Proceedings of the International Conference on Business Excellence is currently edited by Alina Mihaela Dima

More articles in Proceedings of the International Conference on Business Excellence from Sciendo
Bibliographic data for series maintained by Peter Golla ().

 
Page updated 2025-07-29
Handle: RePEc:vrs:poicbe:v:19:y:2025:i:1:p:958-968:n:1009