IDEAS home Printed from https://ideas.repec.org/a/spr/fininn/v10y2024i1d10.1186_s40854-024-00622-6.html
   My bibliography  Save this article

A structural VAR and VECM modeling method for open-high-low-close data contained in candlestick chart

Author

Listed:
  • Wenyang Huang

    (China Agricultural University)

  • Huiwen Wang

    (Beihang University
    Ministry of Education)

  • Shanshan Wang

    (Beihang University
    Beijing Advanced Innovation Center for Big Data and Brain Computing)

Abstract

The structural modeling of open-high-low-close (OHLC) data contained within the candlestick chart is crucial to financial practice. However, the inherent constraints in OHLC data pose immense challenges to its structural modeling. Models that fail to process these constraints may yield results deviating from those of the original OHLC data structure. To address this issue, a novel unconstrained transformation method, along with its explicit inverse transformation, is proposed to properly handle the inherent constraints of OHLC data. A flexible and effective framework for structurally modeling OHLC data is designed, and the detailed procedure for modeling OHLC data through the vector autoregression and vector error correction model are provided as an example of multivariate time-series analysis. Extensive simulations and three authentic financial datasets from the Kweichow Moutai, CSI 100 index, and 50 ETF of the Chinese stock market demonstrate the effectiveness and stability of the proposed modeling approach. The modeling results of support vector regression provide further evidence that the proposed unconstrained transformation not only ensures structural forecasting of OHLC data but also is an effective feature-extraction method that can effectively improve the forecasting accuracy of machine-learning models for close prices.

Suggested Citation

  • Wenyang Huang & Huiwen Wang & Shanshan Wang, 2024. "A structural VAR and VECM modeling method for open-high-low-close data contained in candlestick chart," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 10(1), pages 1-29, December.
  • Handle: RePEc:spr:fininn:v:10:y:2024:i:1:d:10.1186_s40854-024-00622-6
    DOI: 10.1186/s40854-024-00622-6
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1186/s40854-024-00622-6
    File Function: Abstract
    Download Restriction: no

    File URL: https://libkey.io/10.1186/s40854-024-00622-6?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
    ---><---

    References listed on IDEAS

    as
    1. Charles J. Corrado & Suk-Hun Lee, 1992. "Filter Rule Tests Of The Economic Significance Of Serial Dependencies In Daily Stock Returns," Journal of Financial Research, Southern Finance Association;Southwestern Finance Association, vol. 15(4), pages 369-387, December.
    2. Yin-Wong Cheung, 2007. "An empirical model of daily highs and lows," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 12(1), pages 1-20.
    3. Fiess, Norbert M & MacDonald, Ronald, 2002. "Towards the fundamentals of technical analysis: analysing the information content of High, Low and Close prices," Economic Modelling, Elsevier, vol. 19(3), pages 353-374, May.
    4. Ariss, Rima Turk & Rezvanian, Rasoul & Mehdian, Seyed M., 2011. "Calendar anomalies in the Gulf Cooperation Council stock markets," Emerging Markets Review, Elsevier, vol. 12(3), pages 293-307, September.
    5. Fama, Eugene F, 1970. "Efficient Capital Markets: A Review of Theory and Empirical Work," Journal of Finance, American Finance Association, vol. 25(2), pages 383-417, May.
    6. Marshall, Ben R. & Young, Martin R. & Rose, Lawrence C., 2006. "Candlestick technical trading strategies: Can they create value for investors?," Journal of Banking & Finance, Elsevier, vol. 30(8), pages 2303-2323, August.
    7. Johansen, Soren, 1991. "Estimation and Hypothesis Testing of Cointegration Vectors in Gaussian Vector Autoregressive Models," Econometrica, Econometric Society, vol. 59(6), pages 1551-1580, November.
    8. Malik Magdon-Ismail & Amir Atiya, 2003. "A maximum likelihood approach to volatility estimation for a Brownian motion using high, low and close price data," Quantitative Finance, Taylor & Francis Journals, vol. 3(5), pages 376-384.
    9. Johansen, Soren, 1988. "Statistical analysis of cointegration vectors," Journal of Economic Dynamics and Control, Elsevier, vol. 12(2-3), pages 231-254.
    10. Kon S. Lai & Michael Lai, 1991. "A cointegration test for market efficiency," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 11(5), pages 567-575, October.
    11. Smith, David M. & Wang, Na & Wang, Ying & Zychowicz, Edward J., 2016. "Sentiment and the Effectiveness of Technical Analysis: Evidence from the Hedge Fund Industry," Journal of Financial and Quantitative Analysis, Cambridge University Press, vol. 51(6), pages 1991-2013, December.
    12. Charles J. Corrado & Suk-Hun Lee, 1992. "Filter Rule Tests Of The Economic Significance Of Serial Dependencies In Daily Stock Returns," Journal of Financial Research, Southern Finance Association;Southwestern Finance Association, vol. 15(4), pages 369-387, December.
    13. Lu, Tsung-Hsun & Shiu, Yung-Ming & Liu, Tsung-Chi, 2012. "Profitable candlestick trading strategies—The evidence from a new perspective," Review of Financial Economics, Elsevier, vol. 21(2), pages 63-68.
    14. Javier Arroyo & Rosa Espínola & Carlos Maté, 2011. "Different Approaches to Forecast Interval Time Series: A Comparison in Finance," Computational Economics, Springer;Society for Computational Economics, vol. 37(2), pages 169-191, February.
    15. Doyle, John R. & Chen, Catherine Huirong, 2009. "The wandering weekday effect in major stock markets," Journal of Banking & Finance, Elsevier, vol. 33(8), pages 1388-1399, August.
    16. Agustín García & Agustín García & Miguel A. Jaramillo-Morán, 2020. "Short-term European Union Allowance price forecasting with artificial neural networks," Entrepreneurship and Sustainability Issues, VsI Entrepreneurship and Sustainability Center, vol. 8(1), pages 261-275, September.
    17. Armin Mahmoudi & Leila Hashemi & Milad Jasemi & James Pope, 2021. "A comparison on particle swarm optimization and genetic algorithm performances in deriving the efficient frontier of stocks portfolios based on a mean‐lower partial moment model," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 26(4), pages 5659-5665, October.
    18. Guoqiang Sun & Tong Chen & Zhinong Wei & Yonghui Sun & Haixiang Zang & Sheng Chen, 2016. "A Carbon Price Forecasting Model Based on Variational Mode Decomposition and Spiking Neural Networks," Energies, MDPI, vol. 9(1), pages 1-16, January.
    19. Jiayu Qiu & Bin Wang & Changjun Zhou, 2020. "Forecasting stock prices with long-short term memory neural network based on attention mechanism," PLOS ONE, Public Library of Science, vol. 15(1), pages 1-15, January.
    20. Sims, Christopher A, 1980. "Macroeconomics and Reality," Econometrica, Econometric Society, vol. 48(1), pages 1-48, January.
    21. Guo, Junpeng & Li, Wenhua & Li, Chenhua & Gao, Sa, 2012. "Standardization of interval symbolic data based on the empirical descriptive statistics," Computational Statistics & Data Analysis, Elsevier, vol. 56(3), pages 602-610.
    22. Piyapas Tharavanij & Vasan Siraprapasiri & Kittichai Rajchamaha, 2017. "Profitability of Candlestick Charting Patterns in the Stock Exchange of Thailand," SAGE Open, , vol. 7(4), pages 21582440177, October.
    23. Gloria González-Rivera & Wei Lin, 2013. "Constrained Regression for Interval-Valued Data," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 31(4), pages 473-490, October.
    24. Johansen, Soren, 1995. "Likelihood-Based Inference in Cointegrated Vector Autoregressive Models," OUP Catalogue, Oxford University Press, number 9780198774501, Decembrie.
    25. Po-Hsuan Hsu & Chung-Ming Kuan, 2005. "Reexamining the Profitability of Technical Analysis with Data Snooping Checks," Journal of Financial Econometrics, Oxford University Press, vol. 3(4), pages 606-628.
    26. Xiaojie Xu & Yun Zhang, 2023. "Coking coal futures price index forecasting with the neural network," Mineral Economics, Springer;Raw Materials Group (RMG);Luleå University of Technology, vol. 36(2), pages 349-359, June.
    27. Levy, Tamir & Yagil, Joseph, 2012. "The week-of-the-year effect: Evidence from around the globe," Journal of Banking & Finance, Elsevier, vol. 36(7), pages 1963-1974.
    28. Hao, Peng & Guo, Junpeng, 2017. "Constrained center and range joint model for interval-valued symbolic data regression," Computational Statistics & Data Analysis, Elsevier, vol. 116(C), pages 106-138.
    29. Michael A Kelly & Steven P Clark, 2011. "Returns in trading versus non-trading hours: The difference is day and night," Journal of Asset Management, Palgrave Macmillan, vol. 12(2), pages 132-145, June.
    30. Tsung‐Hsun Lu & Yung‐Ming Shiu & Tsung‐Chi Liu, 2012. "Profitable candlestick trading strategies—The evidence from a new perspective," Review of Financial Economics, John Wiley & Sons, vol. 21(2), pages 63-68, April.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Huiwen Wang & Wenyang Huang & Shanshan Wang, 2021. "Forecasting open-high-low-close data contained in candlestick chart," Papers 2104.00581, arXiv.org.
    2. Huang, Wenyang & Wang, Huiwen & Qin, Haotong & Wei, Yigang & Chevallier, Julien, 2022. "Convolutional neural network forecasting of European Union allowances futures using a novel unconstrained transformation method," Energy Economics, Elsevier, vol. 110(C).
    3. Leandro Maciel, 2020. "Technical analysis based on high and low stock prices forecasts: evidence for Brazil using a fractionally cointegrated VAR model," Empirical Economics, Springer, vol. 58(4), pages 1513-1540, April.
    4. Geweke, J. & Joel Horowitz & Pesaran, M.H., 2006. "Econometrics: A Bird’s Eye View," Cambridge Working Papers in Economics 0655, Faculty of Economics, University of Cambridge.
    5. Shangkun Deng & Zhihao Su & Yanmei Ren & Haoran Yu & Yingke Zhu & Chenyang Wei, 2022. "Can Japanese Candlestick Patterns be Profitable on the Component Stocks of the SSE50 Index?," SAGE Open, , vol. 12(3), pages 21582440221, August.
    6. Narayan, Seema & Smyth, Russell, 2015. "The financial econometrics of price discovery and predictability," International Review of Financial Analysis, Elsevier, vol. 42(C), pages 380-393.
    7. Yaya, OlaOluwa S & Gil-Alana, Luis A., 2018. "High and Low Intraday Commodity Prices: A Fractional Integration and Cointegration Approach," MPRA Paper 90518, University Library of Munich, Germany.
    8. Ramona Dumitriu & Razvan Stefanescu, 2015. "The Relationship Between Romanian Exports And Economic Growth After The Adhesion To European Union," Risk in Contemporary Economy, "Dunarea de Jos" University of Galati, Faculty of Economics and Business Administration, pages 17-26.
    9. Ericsson, Neil R & Hendry, David F & Mizon, Grayham E, 1998. "Exogeneity, Cointegration, and Economic Policy Analysis," Journal of Business & Economic Statistics, American Statistical Association, vol. 16(4), pages 370-387, October.
    10. Rault, Christophe, 2005. "Further Results on Weak Exogeneity in Vector Error Correction Models," Brazilian Review of Econometrics, Sociedade Brasileira de Econometria - SBE, vol. 25(2), November.
    11. Klaus Prettner & Robert Kunst, 2012. "The dynamic interrelations between unequal neighbors: an Austro-German case study," Empirical Economics, Springer, vol. 43(2), pages 741-761, October.
    12. Accolley, Delali, 2018. "Accounting for Busines Cycles in Canada: II. The Role of Money," MPRA Paper 85481, University Library of Munich, Germany.
    13. H. Holly Wang & Bingfan Ke, 2005. "Efficiency tests of agricultural commodity futures markets in China," Australian Journal of Agricultural and Resource Economics, Australian Agricultural and Resource Economics Society, vol. 49(2), pages 125-141, June.
    14. Norman J. Morin, 2006. "Likelihood ratio tests on cointegrating vectors, disequilibrium adjustment vectors, and their orthogonal complements," Finance and Economics Discussion Series 2006-21, Board of Governors of the Federal Reserve System (U.S.).
    15. Caporale, Guglielmo Maria & Gil-Alana, Luis A. & Poza, Carlos, 2020. "High and low prices and the range in the European stock markets: A long-memory approach," Research in International Business and Finance, Elsevier, vol. 52(C).
    16. Kühl, Michael, 2010. "Bivariate cointegration of major exchange rates, cross-market efficiency and the introduction of the Euro," Journal of Economics and Business, Elsevier, vol. 62(1), pages 1-19, January.
    17. Lee, Chien-Chiang & Zeng, Jhih-Hong, 2011. "Revisiting the relationship between spot and futures oil prices: Evidence from quantile cointegrating regression," Energy Economics, Elsevier, vol. 33(5), pages 924-935, September.
    18. Jacobson, Tor & Jansson, Per & Vredin, Anders & Warne, Anders, 1999. "A VAR Model for Monetary Policy Analysis in a Small Open Economy," Working Paper Series 77, Sveriges Riksbank (Central Bank of Sweden).
    19. Bakari, Sayef, 2024. "Causality between Domestic Investment and Economic Growth: New Evidence from Argentina," MPRA Paper 121799, University Library of Munich, Germany.
    20. João Leitão, 2004. "Demand Pull And Supply Push In Portuguese Cable Television," Econometrics 0409011, University Library of Munich, Germany.

    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:spr:fininn:v:10:y:2024:i:1:d:10.1186_s40854-024-00622-6. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.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.