Research article Special Issues

A topological based feature extraction method for the stock market

  • Received: 27 April 2023 Revised: 24 June 2023 Accepted: 03 July 2023 Published: 11 July 2023
  • JEL Codes: C65

  • We proposed a topology-based method for pre-processed time series data extracted from stock market data. The topology features are extracted from data after denoising and normalization by using a version of weighted Vietoris-Rips complex. We compare the features from bullish, bearish and normal periods of the Chinese stock market and found significant differences between the features extracted from the groups. Based on the previous research mentioned in the context, we proposed a topology-based stock market index which has the ability to distinguish different stages of the stock market and forewarn stock market crashes.

    Citation: Chen Chang, Hongwei Lin. A topological based feature extraction method for the stock market[J]. Data Science in Finance and Economics, 2023, 3(3): 208-229. doi: 10.3934/DSFE.2023013

    Related Papers:

  • We proposed a topology-based method for pre-processed time series data extracted from stock market data. The topology features are extracted from data after denoising and normalization by using a version of weighted Vietoris-Rips complex. We compare the features from bullish, bearish and normal periods of the Chinese stock market and found significant differences between the features extracted from the groups. Based on the previous research mentioned in the context, we proposed a topology-based stock market index which has the ability to distinguish different stages of the stock market and forewarn stock market crashes.



    加载中


    [1] Achelis S (2001) Technical analysis from a to z: covers every trading tool from the absolute breath index to the zig zag.
    [2] Adams H, Emerson T, Kirby M, et al. (2017) Persistence images: A stable vector representation of persistent homology. J Mach Learn Res 18.
    [3] Anai H, Chazal F, Glisse M, et al. (2020) Dtm-based filtrations. In Topological Data Analysis, 2020: 33–66. Springer.
    [4] Appel G (1985) The moving average convergence-divergence trading method: advanced version. Scientific Investment Systems.
    [5] Appel G (2005) Technical analysis: power tools for active investors. FT Press.
    [6] Basu D, Li T (2019) A machine-learning-based early warning system boosted by topological data analysis. Available at SSRN.
    [7] Belkin M, Niyogi P (2003) Laplacian eigenmaps for dimensionality reduction and data representation. Neural comput 15: 1373–1396. https://doi.org/10.1162/089976603321780317 doi: 10.1162/089976603321780317
    [8] Bollinger J (2002) Bollinger on Bollinger bands. McGraw-Hill New York.
    [9] Bubenik P, Dłotko P (2017) A persistence landscapes toolbox for topological statistics. J Symb Comput 78: 91–114. https://doi.org/10.1016/j.jsc.2016.03.009 doi: 10.1016/j.jsc.2016.03.009
    [10] Carlsson G (2009) Topology and data. B Am Math Soc 46: 255–308. https://doi.org/10.1090/S0273-0979-09-01249-X doi: 10.1090/S0273-0979-09-01249-X
    [11] Carrière M, Oudot SY, Ovsjanikov M (2015) Stable topological signatures for points on 3d shapes. In Computer graphics forum, 34: 1–12. Wiley Online Library. https://doi.org/10.1111/cgf.12692
    [12] Chazal F, Cohen-Steiner D, Mérigot Q (2011) Geometric inference for probability measures. Found Comput Math 11 : 733–751. https://doi.org/10.1007/s10208-011-9098-0 doi: 10.1007/s10208-011-9098-0
    [13] Chen AS, Leung MT, Daouk H (2003) Application of neural networks to an emerging financial market: forecasting and trading the taiwan stock index. Comput Oper Res 30: 901–923. https://doi.org/10.1016/S0305-0548(02)00037-0 doi: 10.1016/S0305-0548(02)00037-0
    [14] Chu X, Ilyas IF, Krishnan S, et al. (2016) Data cleaning: Overview and emerging challenges. In Proceedings of the 2016 international conference on management of data, 2201–2206. https://doi.org/10.1145/2882903.2912574
    [15] Cohen-Steiner D, Edelsbrunner H, Harer J (2007) Stability of persistence diagrams. Discrete computat geom, 37: 103–120. https://doi.org/10.1007/s00454-006-1276-5 doi: 10.1007/s00454-006-1276-5
    [16] Cohen-Steiner D, Edelsbrunner H, Harer J, et al. (2010) Lipschitz functions have l p-stable persistence. Found comput math 10: 127–139. https://doi.org/10.1007/s10208-010-9060-6 doi: 10.1007/s10208-010-9060-6
    [17] Corzo T, Prat M, Vaquero E (2014) Behavioral Finance in Joseph de la Vega's Confusion de Confusiones. J Behav Financ 15: 341–350. https://doi.org/10.1080/15427560.2014.968722 doi: 10.1080/15427560.2014.968722
    [18] Daubechies I (1992) Ten lectures on wavelets. SIAM. https://doi.org/10.1137/1.9781611970104
    [19] Deng M (2008) On the theoretical foundation of technical analysis: Market action discounts everything. Available at SSRN. https://doi.org/10.2139/ssrn.1259164 doi: 10.2139/ssrn.1259164
    [20] Dong S, Bremer PT, Garland M, et al. (2006) Spectral surface quadrangulation. In ACM SIGGRAPH 2006 Papers, 1057–1066. https://doi.org/10.1145/1179352.1141993
    [21] Donoho DL, Johnstone IM, Kerkyacharian G, et al. (1995) Wavelet shrinkage: asymptopia? J R Stat Soc B 57: 301–337. https://doi.org/10.1111/j.2517-6161.1995.tb02032.x doi: 10.1111/j.2517-6161.1995.tb02032.x
    [22] Edelsbrunner H, Harer J (2010) Computational topology: an introduction. American Mathematical Society. https://doi.org/10.1090/mbk/069
    [23] Edelsbrunner H, Letscher D, Zomorodian A (2000) Topological persistence and simplification. In Proceedings 41st annual symposium on foundations of computer science, 454–463. IEEE.
    [24] Gidea M (2017) Topological data analysis of critical transitions in financial networks. In International conference and school on network science, 47–59. Springer. https://doi.org/10.2139/ssrn.2903278
    [25] Gidea M, Goldsmith D, Katz Y, et al. (2020) Topological recognition of critical transitions in time series of cryptocurrencies. Physica A 548: 123843. https://doi.org/10.1016/j.physa.2019.123843 doi: 10.1016/j.physa.2019.123843
    [26] Gromov M (1987) Hyperbolic groups. In Essays in group theory, 75–263. Springer.
    [27] Guo H, Yu H, An Q, et al. (2022), Risk analysis of china's stock markets based on topological data structures. Procedia Comput Sci 202: 203–216. https://doi.org/10.1016/j.procs.2022.04.028 doi: 10.1016/j.procs.2022.04.028
    [28] Hensel F, Moor M, Rieck B (2021) A survey of topological machine learning methods. Front Artif Intell 4: 52. https://doi.org/10.3389/frai.2021.681108 doi: 10.3389/frai.2021.681108
    [29] Hu X, Li F, Samaras D, et al. (2019) Topology-preserving deep image segmentation. Advances in neural information processing systems, 32.
    [30] Hu X, Wang Y, Fuxin L, et al. (2021) Topology-aware segmentation using discrete morse theory. arXiv preprint arXiv.
    [31] Katz YA, Biem A (2021) Time-resolved topological data analysis of market instabilities. Physica A 571: 125816. https://doi.org/10.2139/ssrn.3581869 doi: 10.2139/ssrn.3581869
    [32] Kirkpatrick II CD, Dahlquist JA (2010) Technical analysis: the complete resource for financial market technicians. FT press.
    [33] Kusewitt Jr JB (1985) An exploratory study of strategic acquisition factors relating to performance. Strategic Manage J 6: 151–169. https://doi.org/10.1002/smj.4250060205 doi: 10.1002/smj.4250060205
    [34] Lum PY, Singh G, Lehman A, et al. (2013) Extracting insights from the shape of complex data using topology. Sci rep 3: 1236. https://doi.org/10.1038/srep01236 doi: 10.1038/srep01236
    [35] Nison S (1994) Beyond Candlesticks: New Japanese Charting Techniques Revealed. John Wiley & Sons. ISBN 9780471007203.
    [36] Pan I, Korre A, Das S, et al. (2012) Chaos suppression in a fractional order financial system using intelligent regrouping pso based fractional fuzzy control policy in the presence of fractional gaussian noise. Nonlinear Dynam 70: 2445–2461. https://doi.org/10.1007/s11071-012-0632-7 doi: 10.1007/s11071-012-0632-7
    [37] Perea JA, Harer J (2015) Sliding windows and persistence: An application of topological methods to signal analysis. Found Comput Math 15: 799–838. https://doi.org/10.1007/s10208-014-9206-z doi: 10.1007/s10208-014-9206-z
    [38] Prabowo NA, Widyanto RA, Hanafi M, et al. (2021) With topological data analysis, predicting stock market crashes. Int J Informatics Inf Syst 4: 63–70. https://doi.org/10.47738/ijiis.v4i1.78 doi: 10.47738/ijiis.v4i1.78
    [39] Rossmanith R (2003) Completion of market data. Math Financ.
    [40] Sheehy DR (2012) Linear-size approximations to the vietoris–rips filtration. In Proceedings of the twenty-eighth annual symposium on Computational geometry, 2012: 239–248. https://doi.org/10.1145/2261250.2261286
    [41] Skraba P, De Silva V, Vejdemo-Johansson M (2012) Topological analysis of recurrent systems. In NIPS 2012 Workshop on Algebraic Topology and Machine Learning, December 8th, Lake Tahoe, Nevada, 1–5.
    [42] Stolz B (2014) Computational topology in neuroscience. Master's thesis (University of Oxford, 2014).
    [43] Teixeira LA, De Oliveira ALI (2010) A method for automatic stock trading combining technical analysis and nearest neighbor classification. Expert Syst Appl 37: 6885–6890. https://doi.org/10.1016/j.eswa.2010.03.033 doi: 10.1016/j.eswa.2010.03.033
    [44] Topaz CM, Ziegelmeier L, Halverson T (2015) Topological data analysis of biological aggregation models. PloS One 10: e0126383. https://doi.org/10.1371/journal.pone.0126383 doi: 10.1371/journal.pone.0126383
    [45] Vallet B, Lévy B (2008) Spectral geometry processing with manifold harmonics. In Computer Graphics Forum, 27: 251–260. Wiley Online Library. https://doi.org/10.1111/j.1467-8659.2008.01122.x
    [46] Wang F, Liu H, Samaras D, et al. (2020) Topogan: A topology-aware generative adversarial network. In Computer Vision–ECCV 2020: 16th European Conference, Glasgow, UK, August 23–28, 2020, Proceedings, Part Ⅲ 16, 118–136. Springer. https://doi.org/10.1007/978-3-030-58580-8_8
    [47] Wang F, Kapse S, Liu S, et al. (2021) Topotxr: A topological biomarker for predicting treatment response in breast cancer. In Information Processing in Medical Imaging: 27th International Conference, IPMI 2021, Virtual Event, 386–397. Springer. https://doi.org/10.1007/978-3-030-78191-0_30
    [48] Westlin E (2022) Using topological data analysis on credit data to predict stock market crashes.
    [49] Wilcoxon F (1992) Individual comparisons by ranking methods. In Breakthroughs in statistics, 196–202. Springer. https://doi.org/10.1007/978-1-4612-4380-9_16
    [50] Wilder JW (1978) New concepts in technical trading systems. Trend Research.
    [51] Wu P, Chen C, Wang Y, et al. (2017) Optimal topological cycles and their application in cardiac trabeculae restoration. In Information Processing in Medical Imaging: 25th International Conference, IPMI 2017, Boone, NC, USA, 25: 80–92. Springer.
    [52] Xu C, Lin H, Fang X (2022) Manifold feature index: A novel index based on high-dimensional data simplification. Expert Syst Appl 200: 116957. https://doi.org/10.1016/j.eswa.2022.116957 doi: 10.1016/j.eswa.2022.116957
    [53] Yen PTW, Cheong SA (2021) Using topological data analysis (tda) and persistent homology to analyze the stock markets in singapore and taiwan. Front Phys 20.
    [54] Yen PTW, Xia K, Cheong SA (2021) Understanding changes in the topology and geometry of financial market correlations during a market crash. Entropy 23: 1211. https://doi.org/10.3390/e23091211 doi: 10.3390/e23091211
    [55] Yen PTW, Xia K, Cheong SA (2023) Laplacian spectra of persistent structures in taiwan, singapore, and us stock markets. Entropy 25: 846. https://doi.org/10.3390/e25060846 doi: 10.3390/e25060846
    [56] Zeng S, Graf F, Hofer C, et al. (2021) Topological attention for time series forecasting. Adv Neur Inf Processing Syst 34: 24871–24882.
  • Reader Comments
  • © 2023 the Author(s), licensee AIMS Press. This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0)
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Metrics

Article views(1797) PDF downloads(134) Cited by(1)

Article outline

Figures and Tables

Figures(11)  /  Tables(3)

Other Articles By Authors

/

DownLoad:  Full-Size Img  PowerPoint
Return
Return

Catalog