IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2309.06393.html
   My bibliography  Save this paper

Real-time VaR Calculations for Crypto Derivatives in kdb+/q

Author

Listed:
  • Yutong Chen
  • Paul Bilokon
  • Conan Hales
  • Laura Kerr

Abstract

Cryptocurrency market is known for exhibiting significantly higher volatility than traditional asset classes. Efficient and adequate risk calculation is vital for managing risk exposures in such market environments where extreme price fluctuations occur in short timeframes. The objective of this thesis is to build a real-time computation workflow that provides VaR estimates for non-linear portfolios of cryptocurrency derivatives. Many researchers have examined the predictive capabilities of time-series models within the context of cryptocurrencies. In this work, we applied three commonly used models - EMWA, GARCH and HAR - to capture and forecast volatility dynamics, in conjunction with delta-gamma-theta approach and Cornish-Fisher expansion to crypto derivatives, examining their performance from the perspectives of calculation efficiency and accuracy. We present a calculation workflow which harnesses the information embedded in high-frequency market data and the computation simplicity inherent in analytical estimation procedures. This workflow yields reasonably robust VaR estimates with calculation latencies on the order of milliseconds.

Suggested Citation

  • Yutong Chen & Paul Bilokon & Conan Hales & Laura Kerr, 2023. "Real-time VaR Calculations for Crypto Derivatives in kdb+/q," Papers 2309.06393, arXiv.org.
  • Handle: RePEc:arx:papers:2309.06393
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2309.06393
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Bollerslev, Tim, 1986. "Generalized autoregressive conditional heteroskedasticity," Journal of Econometrics, Elsevier, vol. 31(3), pages 307-327, April.
    2. F. M. Bandi & J. R. Russell, 2008. "Microstructure Noise, Realized Variance, and Optimal Sampling," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 75(2), pages 339-369.
    3. Matthew Pritsker, 1997. "Evaluating Value at Risk Methodologies: Accuracy versus Computational Time," Journal of Financial Services Research, Springer;Western Finance Association, vol. 12(2), pages 201-242, October.
    4. Peter F. Christoffersen & Francis X. Diebold, 2000. "How Relevant is Volatility Forecasting for Financial Risk Management?," The Review of Economics and Statistics, MIT Press, vol. 82(1), pages 12-22, February.
    5. Jianqing Fan & Yingying Li & Ke Yu, 2012. "Vast Volatility Matrix Estimation Using High-Frequency Data for Portfolio Selection," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 107(497), pages 412-428, March.
    6. Yukun Liu & Aleh Tsyvinski, 2018. "Risks and Returns of Cryptocurrency," NBER Working Papers 24877, National Bureau of Economic Research, Inc.
    7. R. Cont, 2001. "Empirical properties of asset returns: stylized facts and statistical issues," Quantitative Finance, Taylor & Francis Journals, vol. 1(2), pages 223-236.
    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. Alexander Subbotin & Thierry Chauveau & Kateryna Shapovalova, 2009. "Volatility Models: from GARCH to Multi-Horizon Cascades," Université Paris1 Panthéon-Sorbonne (Post-Print and Working Papers) halshs-00390636, HAL.
    2. Subbotin, Alexandre, 2009. "Volatility Models: from Conditional Heteroscedasticity to Cascades at Multiple Horizons," Applied Econometrics, Russian Presidential Academy of National Economy and Public Administration (RANEPA), vol. 15(3), pages 94-138.
    3. Ata Türkoğlu, 2016. "Normally distributed high-frequency returns: a subordination approach," Quantitative Finance, Taylor & Francis Journals, vol. 16(3), pages 389-409, March.
    4. A. Amendola & V. Candila, 2016. "Evaluation of volatility predictions in a VaR framework," Quantitative Finance, Taylor & Francis Journals, vol. 16(5), pages 695-709, May.
    5. Ting Ting Chen & Tetsuya Takaishi, 2013. "Empirical Study of the GARCH model with Rational Errors," Papers 1312.7057, arXiv.org.
    6. Tetsuya Takaishi, 2013. "Empirical Analysis of Stochastic Volatility Model by Hybrid Monte Carlo Algorithm," Papers 1305.3184, arXiv.org.
    7. Takahashi, Makoto & Watanabe, Toshiaki & Omori, Yasuhiro, 2016. "Volatility and quantile forecasts by realized stochastic volatility models with generalized hyperbolic distribution," International Journal of Forecasting, Elsevier, vol. 32(2), pages 437-457.
    8. Zou, Yongjie & Li, Honggang, 2014. "Time spans between price maxima and price minima in stock markets," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 395(C), pages 303-309.
    9. Pierre Giot & Sébastien Laurent, 2003. "Value-at-risk for long and short trading positions," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 18(6), pages 641-663.
    10. Kei Nakagawa & Yusuke Uchiyama, 2020. "GO-GJRSK Model with Application to Higher Order Risk-Based Portfolio," Mathematics, MDPI, vol. 8(11), pages 1-12, November.
    11. Mittnik, Stefan & Robinzonov, Nikolay & Spindler, Martin, 2015. "Stock market volatility: Identifying major drivers and the nature of their impact," Journal of Banking & Finance, Elsevier, vol. 58(C), pages 1-14.
    12. Takaishi, Tetsuya, 2017. "Rational GARCH model: An empirical test for stock returns," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 473(C), pages 451-460.
    13. Vincenzo Candila, 2013. "A Comparison of the Forecasting Performances of Multivariate Volatility Models," Working Papers 3_228, Dipartimento di Scienze Economiche e Statistiche, Università degli Studi di Salerno.
    14. Pierre J. Venter & Eben Maré, 2020. "GARCH Generated Volatility Indices of Bitcoin and CRIX," JRFM, MDPI, vol. 13(6), pages 1-15, June.
    15. Matthew Pritsker, 2001. "The hidden dangers of historical simulation," Finance and Economics Discussion Series 2001-27, Board of Governors of the Federal Reserve System (U.S.).
    16. Ñíguez, Trino-Manuel & Perote, Javier, 2017. "Moments expansion densities for quantifying financial risk," The North American Journal of Economics and Finance, Elsevier, vol. 42(C), pages 53-69.
    17. Misiorek Adam & Trueck Stefan & Weron Rafal, 2006. "Point and Interval Forecasting of Spot Electricity Prices: Linear vs. Non-Linear Time Series Models," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 10(3), pages 1-36, September.
    18. B M, Lithin & chakraborty, Suman & iyer, Vishwanathan & M N, Nikhil & ledwani, Sanket, 2022. "Modeling asymmetric sovereign bond yield volatility with univariate GARCH models: Evidence from India," MPRA Paper 117067, University Library of Munich, Germany, revised 05 Jan 2023.
    19. Krishnamurthy, Vikram & Leoff, Elisabeth & Sass, Jörn, 2018. "Filterbased stochastic volatility in continuous-time hidden Markov models," Econometrics and Statistics, Elsevier, vol. 6(C), pages 1-21.
    20. Chrétien, Stéphane & Coggins, Frank, 2010. "Performance and conservatism of monthly FHS VaR: An international investigation," International Review of Financial Analysis, Elsevier, vol. 19(5), pages 323-333, December.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:arx:papers:2309.06393. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.