arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2604.27210q-fin.CPcs.MSq-fin.MFq-fin.PR
收藏

Fast-Vollib: 一种基于Python的高性能隐含波动率库,支持PyTorch、JAX和CUDA融合内核后端

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

Mathematical Institute, University of Oxford(牛津大学数学研究所)

Raeid Saqur

AI总结:

fast-vollib通过PyTorch、JAX和CUDA后端实现高性能期权定价与隐含波动率计算,提供兼容性强的API,并集成向量化算法提升批量处理效率。

摘要:

我们介绍了fast-vollib,一个开源的Python库,提供高性能的欧式期权定价、隐含波动率(IV)计算及希腊字母计算,适用于Black-76、Black-Scholes和Black-Scholes-Merton模型。该库设计为py_vollib和py_vollib_vectorized的替代品,支持PyTorch和JAX执行后端,CUDA融合内核Triton贡献用于批量IV工作负载,以及优先考虑兼容性的公共API。除了向量化Halley方法IV求解器,fast-vollib还包含实验性的完全向量化实现的Jäckel的“Let's Be Rational”(LBR)算法,使用NumPy/Numba、torch.compile、JAX和Triton单次通过GPU内核处理批量期权链。本文宣布该库并描述其公共API表面,源代码、文档和打包工件可在GitHub(https://github.com/raeidsaqur/fast-vollib)、Docs(https://raeidsaqur.github.io/fast-vollib/)和PyPI(https://pypi.org/project/fast-vollib/)获取。

英文摘要:

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äckel'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/).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑