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


翻译:摘要:本文介绍fast-vollib——一个开源Python库,用于在Black-76、Black-Scholes和Black-Scholes-Merton模型下实现高性能欧式期权定价、隐含波动率(IV)计算及希腊值求解。该库设计为现行标准库py_vollib与py_vollib_vectorized的直接替代方案,配备了可插拔的PyTorch和JAX执行后端、用于批量IV工作负载的CUDA融合内核Triton贡献模块,以及优先保障兼容性的公共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)、文档 (https://raeidsaqur.github.io/fast-vollib/)、PyPI (https://pypi.org/project/fast-vollib/)。

0
下载
关闭预览

相关内容

FAST:Conference on File and Storage Technologies。 Explanation:文件和存储技术会议。 Publisher:USENIX。 SIT:http://dblp.uni-trier.de/db/conf/fast/
高性能Python(第3版),257页pdf
专知会员服务
58+阅读 · 2024年8月1日
【干货书】数值Python计算,Numerical Python,709页pdf
专知会员服务
116+阅读 · 2021年5月30日
专知会员服务
92+阅读 · 2021年4月12日
【干货书】PyTorch 深度学习,255页pdf
专知会员服务
282+阅读 · 2021年4月3日
17种深度强化学习算法用Pytorch实现
新智元
31+阅读 · 2019年9月16日
Github库分享:超全的PyTorch学习资源汇总
专知
25+阅读 · 2019年5月9日
PyTorch实现多种深度强化学习算法
专知
36+阅读 · 2019年1月15日
GitHub获赞过千:PyTorch 自然语言处理项目Top 5
新智元
12+阅读 · 2018年7月10日
手把手教 | 深度学习库PyTorch(附代码)
数据派THU
27+阅读 · 2018年3月15日
从基础概念到实现,小白如何快速入门PyTorch
机器之心
13+阅读 · 2018年2月26日
国家自然科学基金
4+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Arxiv
0+阅读 · 4月21日
VIP会员
最新内容
论文 | OmniScientist:全模态全学科AI科学家
专知会员服务
3+阅读 · 8月16日
无人机已改变战场,但并未解决指挥问题
专知会员服务
8+阅读 · 8月14日
驱动军事决策变革的顶尖人工智能指挥系统
专知会员服务
11+阅读 · 8月11日
非对称防御中的自组织临界性:俄乌战争
专知会员服务
10+阅读 · 8月10日
相关VIP内容
相关资讯
17种深度强化学习算法用Pytorch实现
新智元
31+阅读 · 2019年9月16日
Github库分享:超全的PyTorch学习资源汇总
专知
25+阅读 · 2019年5月9日
PyTorch实现多种深度强化学习算法
专知
36+阅读 · 2019年1月15日
GitHub获赞过千:PyTorch 自然语言处理项目Top 5
新智元
12+阅读 · 2018年7月10日
手把手教 | 深度学习库PyTorch(附代码)
数据派THU
27+阅读 · 2018年3月15日
从基础概念到实现,小白如何快速入门PyTorch
机器之心
13+阅读 · 2018年2月26日
相关基金
国家自然科学基金
4+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员