IDEAS home Printed from https://ideas.repec.org/a/vrs/poicbe/v19y2025i1p958-968n1009.html
   My bibliography  Save this article

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

Author

Listed:
  • Andreev Viktor

    (University of Economics, Varna, Bulgaria)

  • Vasilev Julian

    (University of Economics, Varna, Bulgaria)

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.

Suggested Citation

  • Andreev Viktor & Vasilev Julian, 2025. "Pattern Discovery in Time Series Data Using Python Script and MS Excel," Proceedings of the International Conference on Business Excellence, Sciendo, vol. 19(1), pages 958-968.
  • Handle: RePEc:vrs:poicbe:v:19:y:2025:i:1:p:958-968:n:1009
    DOI: 10.2478/picbe-2025-0075
    as

    Download full text from publisher

    File URL: https://doi.org/10.2478/picbe-2025-0075
    Download Restriction: no

    File URL: https://libkey.io/10.2478/picbe-2025-0075?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;

    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:vrs:poicbe:v:19:y:2025:i:1:p:958-968:n:1009. 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: Peter Golla (email available below). General contact details of provider: https://www.sciendo.com .

    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.