IDEAS home Printed from
   My bibliography  Save this paper

Modelling bid-ask spread conditional distributions using hierarchical correlation reconstruction


  • Jaros{l}aw Duda
  • Robert Syrek
  • Henryk Gurgul


While we would like to predict exact values, available incomplete information is rarely sufficient - usually allowing only to predict conditional probability distributions. This article discusses hierarchical correlation reconstruction (HCR) methodology for such prediction on example of usually unavailable bid-ask spreads, predicted from more accessible data like closing price, volume, high/low price, returns. In HCR methodology we first normalize marginal distributions to nearly uniform like in copula theory. Then we model (joint) densities as linear combinations of orthonormal polynomials, getting its decomposition into (mixed) moments. Then here we model each moment (separately) of predicted variable as a linear combination of mixed moments of known variables using least squares linear regression - getting accurate description with interpretable coefficients describing linear relations between moments. Combining such predicted moments we get predicted density as a polynomial, for which we can e.g. calculate expected value, but also variance to evaluate uncertainty of such prediction, or we can use the entire distribution e.g. for more accurate further calculations or generating random values. There were performed 10-fold cross-validation log-likelihood tests for 22 DAX companies, leading to very accurate predictions, especially when using individual models for each company as there were found large differences between their behaviors. Additional advantage of the discussed methodology is being computationally inexpensive, finding and evaluation a model with hundreds of parameters and thousands of data points takes a second on a laptop.

Suggested Citation

  • Jaros{l}aw Duda & Robert Syrek & Henryk Gurgul, 2019. "Modelling bid-ask spread conditional distributions using hierarchical correlation reconstruction," Papers 1911.02361,
  • Handle: RePEc:arx:papers:1911.02361

    Download full text from publisher

    File URL:
    File Function: Latest version
    Download Restriction: no

    Other versions of this item:

    References listed on IDEAS

    1. Mestel, Roland & Murg, Michael & Theissen, Erik, 2018. "Algorithmic trading and liquidity: Long term evidence from Austria," Finance Research Letters, Elsevier, vol. 26(C), pages 198-203.
    2. Chen, Xiaohong & Linton, Oliver & Yi, Yanping, 2017. "Semiparametric identification of the bid–ask spread in extended Roll models," Journal of Econometrics, Elsevier, vol. 200(2), pages 312-325.
    3. Henryk Gurgul & Artur Machno, 2017. "The impact of asynchronous trading on Epps effect on Warsaw Stock Exchange," Central European Journal of Operations Research, Springer;Slovak Society for Operations Research;Hungarian Operational Research Society;Czech Society for Operations Research;Österr. Gesellschaft für Operations Research (ÖGOR);Slovenian Society Informatika - Section for Operational Research;Croatian Operational Research Society, vol. 25(2), pages 287-301, June.
    4. Farshid Abdi & Angelo Ranaldo, 2017. "A Simple Estimation of Bid-Ask Spreads from Daily Close, High, and Low Prices," Review of Financial Studies, Society for Financial Studies, vol. 30(12), pages 4437-4480.
    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. Pham, Mia Hang, 2020. "In law we trust: Lawyer CEOs and stock liquidity," Journal of Financial Markets, Elsevier, vol. 50(C).
    2. Aghanya, Daniel & Agarwal, Vineet & Poshakwale, Sunil, 2020. "Market in Financial Instruments Directive (MiFID), stock price informativeness and liquidity," Journal of Banking & Finance, Elsevier, vol. 113(C).
    3. Broto, Carmen & Lamas, Matías, 2020. "Is market liquidity less resilient after the financial crisis? Evidence for US Treasuries," Economic Modelling, Elsevier, vol. 93(C), pages 217-229.
    4. Ramos, Henrique Pinto & Righi, Marcelo Brutti, 2020. "Liquidity, implied volatility and tail risk: A comparison of liquidity measures," International Review of Financial Analysis, Elsevier, vol. 69(C).
    5. Greppmair, Stefan & Theissen, Erik, 2019. "Small is beautiful? How the introduction of mini futures contracts affects the regular contract," CFR Working Papers 19-06, University of Cologne, Centre for Financial Research (CFR).
    6. Inekwe, John Nkwoma, 2020. "Liquidity connectedness and output synchronisation," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 66(C).
    7. Yinghui Chen & Lunan Jiang, 2019. "Liquidity Risk and Corporate Bond Yield Spread: Evidence from China," CFDS Discussion Paper Series 2019/9, Center for Financial Development and Stability at Henan University, Kaifeng, Henan, China.
    8. Tae Wan Kim & Matloob Khushi, 2020. "Portfolio Optimization with 2D Relative-Attentional Gated Transformer," Papers 2101.03138,
    9. Chia, Yee-Ee & Lim, Kian-Ping & Goh, Kim-Leng, 2020. "Liquidity and firm value in an emerging market: Nonlinearity, political connections and corporate ownership," The North American Journal of Economics and Finance, Elsevier, vol. 52(C).
    10. Andrew Y. Chen & Mihail Velikov, 2020. "Zeroing in on the Expected Returns of Anomalies," Finance and Economics Discussion Series 2020-039, Board of Governors of the Federal Reserve System (U.S.).
    11. Chen, Xiaohong & Linton, Oliver & Schneeberger, Stefan & Yi, Yanping, 2019. "Semiparametric estimation of the bid–ask spread in extended roll models," Journal of Econometrics, Elsevier, vol. 208(1), pages 160-178.
    12. Marshall, Ben R. & Nguyen, Nhut H. & Visaltanachoti, Nuttawat, 2018. "Do liquidity proxies measure liquidity accurately in ETFs?," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 55(C), pages 94-111.
    13. Będowska-Sójka, Barbara & Kliber, Agata, 2021. "Information content of liquidity and volatility measures," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 563(C).
    14. Chuliá, Helena & Koser, Christoph & Uribe, Jorge M., 2020. "Uncovering the time-varying relationship between commonality in liquidity and volatility," International Review of Financial Analysis, Elsevier, vol. 69(C).
    15. Dang, Tung Lam & Nguyen, Thi Minh Hue, 2020. "Liquidity risk and stock performance during the financial crisis," Research in International Business and Finance, Elsevier, vol. 52(C).
    16. Soini, Vesa & Lorentzen, Sindre, 2019. "Option prices and implied volatility in the crude oil market," Energy Economics, Elsevier, vol. 83(C), pages 515-539.
    17. Hadhri, Sinda & Ftiti, Zied, 2019. "Commonality in liquidity among Middle East and North Africa emerging stock markets: Does it really matter?," Economic Systems, Elsevier, vol. 43(3).
    18. Díaz, Antonio & Escribano, Ana, 2020. "Measuring the multi-faceted dimension of liquidity in financial markets: A literature review," Research in International Business and Finance, Elsevier, vol. 51(C).
    19. Chia, Yee-Ee & Lim, Kian-Ping & Goh, Kim-Leng, 2020. "More shareholders, higher liquidity? Evidence from an emerging stock market," Emerging Markets Review, Elsevier, vol. 44(C).
    20. BenSaïda, Ahmed, 2019. "Good and bad volatility spillovers: An asymmetric connectedness," Journal of Financial Markets, Elsevier, vol. 43(C), pages 78-95.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:


    Access and download statistics


    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:arx:papers:1911.02361. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (arXiv administrators). General contact details of provider: .

    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 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.

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

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.