IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2604.27210.html

Fast-Vollib: A Fast Implied Volatility Library for Pythonwith PyTorch, JAX, and CUDA Fused-Kernel Backends

Author

Listed:
  • Raeid Saqur

Abstract

We present fast-vollib, an open-source Python library that provides high-performance European option pricing, implied volatility (IV) computation, and Greeks under the Black-76, Black-Scholes, and Black-Scholes-Merton models. The library is designed as a drop-in alternative to the de-facto-standard py_vollib and py_vollib_vectorized packages, with pluggable PyTorch and JAX execution backends, a CUDA fused-kernel Triton contribution for batched IV workloads, and a compatibility-first public API. In addition to a vectorized Halley-method IV solver, fast-vollib ships an experimental, fully-vectorized implementation of J\"ackel's "Let's Be Rational" (LBR) algorithm with NumPy/Numba, torch.compile, JAX, and Triton single-pass GPU kernels for batched option chains. This note announces the library and describes its public API surface, with source, documentation, and packaging artifacts available at: GitHub (https://github.com/raeidsaqur/fast-vollib), Docs (https://raeidsaqur.github.io/fast-vollib/), PyPI (https://pypi.org/project/fast-vollib/).

Suggested Citation

  • Raeid Saqur, 2026. "Fast-Vollib: A Fast Implied Volatility Library for Pythonwith PyTorch, JAX, and CUDA Fused-Kernel Backends," Papers 2604.27210, arXiv.org, revised Jun 2026.
  • Handle: RePEc:arx:papers:2604.27210
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Corrado, Charles J. & Miller, Thomas Jr., 1996. "A note on a simple, accurate formula to compute implied standard deviations," Journal of Banking & Finance, Elsevier, vol. 20(3), pages 595-603, April.
    2. Black, Fischer, 1976. "The pricing of commodity contracts," Journal of Financial Economics, Elsevier, vol. 3(1-2), pages 167-179.
    3. Black, Fischer & Scholes, Myron S, 1973. "The Pricing of Options and Corporate Liabilities," Journal of Political Economy, University of Chicago Press, vol. 81(3), pages 637-654, May-June.
    4. Blanka Horvath & Aitor Muguruza & Mehdi Tomas, 2021. "Deep learning volatility: a deep neural network perspective on pricing and calibration in (rough) volatility models," Quantitative Finance, Taylor & Francis Journals, vol. 21(1), pages 11-27, January.
    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. Lim, Terence & Lo, Andrew W. & Merton, Robert C. & Scholes, Myron S., 2006. "The Derivatives Sourcebook," Foundations and Trends(R) in Finance, now publishers, vol. 1(5–6), pages 365-572, April.
    2. Kentaro Hoshisashi & Carolyn E. Phelan & Paolo Barucca, 2023. "No-Arbitrage Deep Calibration for Volatility Smile and Skewness," Papers 2310.16703, arXiv.org, revised Jan 2024.
    3. Pablo Rodriguez Manzi, 2026. "Volatility Surface Reconstruction using Deep Learning under No-Arbitrage Constraints," Papers 2605.24031, arXiv.org.
    4. Dan Stefanica & Radoš Radoičić, 2017. "An Explicit Implied Volatility Formula," International Journal of Theoretical and Applied Finance (IJTAF), World Scientific Publishing Co. Pte. Ltd., vol. 20(07), pages 1-32, November.
    5. Turvey, Calum G., 2001. "Random Walks And Fractal Structures In Agricultural Commodity Futures Prices," Working Papers 34151, University of Guelph, Department of Food, Agricultural and Resource Economics.
    6. Bujar Huskaj & Marcus Nossman, 2013. "A Term Structure Model for VIX Futures," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 33(5), pages 421-442, May.
    7. Bjork, Tomas, 2009. "Arbitrage Theory in Continuous Time," OUP Catalogue, Oxford University Press, edition 3, number 9780199574742.
    8. Gustavo Silva Araujo & Ricardo Alves Carmo Ribeiro, 2018. "Is Petrobras Options Market Efficient? A Study Using The Delta-Gamma Neutral Strategy," Anais do XLIV Encontro Nacional de Economia [Proceedings of the 44th Brazilian Economics Meeting] 126, ANPEC - Associação Nacional dos Centros de Pós-Graduação em Economia [Brazilian Association of Graduate Programs in Economics].
    9. Rodriguez, Ricardo J., 2002. "Lognormal option pricing for arbitrary underlying assets: a synthesis," The Quarterly Review of Economics and Finance, Elsevier, vol. 42(3), pages 577-586.
    10. Tabesh, Hamid, 1987. "Hedging price risk to soybean producers with futures and options: a case study," ISU General Staff Papers 1987010108000010306, Iowa State University, Department of Economics.
    11. Dean Buckner & Kevin Dowd & Hardy Hulley, 2024. "Arbitrage problems with reflected geometric Brownian motion," Finance and Stochastics, Springer, vol. 28(1), pages 1-26, January.
    12. Chuong Luong & Nikolai Dokuchaev, 2018. "Forecasting of Realised Volatility with the Random Forests Algorithm," JRFM, MDPI, vol. 11(4), pages 1-15, October.
    13. Samson Assefa, 2007. "Pricing Swaptions and Credit Default Swaptions in the Quadratic Gaussian Factor Model," PhD Thesis, Finance Discipline Group, UTS Business School, University of Technology, Sydney, number 3-2007, January-A.
    14. Robert McDonald & Daniel Siegel, 1981. "Option Pricing When the Underlying Asset is Non-Stored," Discussion Papers 512, Northwestern University, Center for Mathematical Studies in Economics and Management Science.
    15. Back, Janis & Prokopczuk, Marcel & Rudolf, Markus, 2013. "Seasonality and the valuation of commodity options," Journal of Banking & Finance, Elsevier, vol. 37(2), pages 273-290.
    16. Andrew Carver & Matthew Ennis, 2011. "The real options content of oil producer stocks," Applied Financial Economics, Taylor & Francis Journals, vol. 21(4), pages 217-231.
    17. Szakmary, Andrew & Ors, Evren & Kyoung Kim, Jin & Davidson, Wallace III, 2003. "The predictive power of implied volatility: Evidence from 35 futures markets," Journal of Banking & Finance, Elsevier, vol. 27(11), pages 2151-2175, November.
    18. Ako Doffou & Jimmy E. Hilliard, 2001. "Pricing Currency Options Under Stochastic Interest Rates And Jump-Diffusion Processes," Journal of Financial Research, Southern Finance Association;Southwestern Finance Association, vol. 24(4), pages 565-585, December.
    19. Carey, Alexander, 2006. "Path-conditional forward volatility," MPRA Paper 4964, University Library of Munich, Germany.
    20. Siriopoulos, Costas & Fassas, Athanasios, 2012. "An investor sentiment barometer — Greek Implied Volatility Index (GRIV)," Global Finance Journal, Elsevier, vol. 23(2), pages 77-93.

    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:2604.27210. 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: https://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.