QuantLib-Python QuantLib-Python 是三个扩展中做的最好的,尽可能的移植了 C++ 版本的架构和使用方法,提供的功能也是最多的。quantlib-python 的安装十分轻松: pip3 install QuantLib 感谢Gouthaman Balaraman提供了 quantlib-python 详尽的范例教程,和他编写的书——QuantLib Python Cookbook。 如果想要扩展 QuantL...
QuantLib本身是使用C++写的,通过SWING技术封装后可以在Python调用。直接使用pip安装可能会报错,建议下载安装包的whl文件,然后再用pip进行安装。 下载安装 下载:https://www.lfd.uci.edu/~gohlke/pythonlibs/#quantlib 在线文档:https://quantlib-python-docs.readthedocs.io/en/latest/ QuantLib Python Tutorials Wit...
QuantLib是一个专门用于利率、债券与衍生品等金融工具定价分析的库,可以说是固定收益和金融衍生品分析的一个利器。 QuantLib本身是使用C++写的,通过SWING技术封装后可以在Python调用。直接使用pip安装可能会报错,建议下载安装包的whl文件,然后再用pip进行安装。 下载安装 下载:https://www.lfd.uci.edu/~gohlke/pytho...
QuantLib Python Cookbook Last updated on 2025-01-21 Luigi BallabioandGoutham Balaraman Quantitative finance in Python: a hands-on, interactive look at the QuantLib library through the use of Jupyter notebooks as working examples. Free! Minimum price ...
QuantLib-Python 是三个扩展中做的最好的,尽可能的移植了 C++ 版本的架构和使用方法,提供的功能也是最多的。quantlib-python 的安装十分轻松: pip3installQuantLib 感谢Gouthaman Balaraman提供了 quantlib-python 详尽的范例教程,和他编写的书——QuantLib Python Cookbook。
(quantlib-python-docs.readthedocs.io)。 03 金融工具定价应用实例 实例1:固定利率债券定价 直接借用《QuantLib Python Cookbook》上的例子: 假设有一种债券,票面价值为100,年息6%,于2015年1月15日发行,2016年1月15日到期。该债券将于2015年7月15日和2016年1月15日支付息票。100的票面金额也会在2016年1月15...
直接借用《QuantLib Python Cookbook》上的例子: 假设有一种债券,票面价值为100,年息6%,于2015年1月15日发行,2016年1月15日到期。该债券将于2015年7月15日和2016年1月15日支付息票。100的票面金额也会在2016年1月15日支付。 为了简化问题,假设已经知道2015年1月15日美国国债的即期汇率,年化即期汇率为6个月...
感谢Gouthaman Balaraman提供了 quantlib-python 详尽的范例教程,和他编写的书——QuantLib Python Cookbook。 如果想要扩展 quantlib-python 目前的功能,实现定制化,你需要一点SWIG的知识用来创建自己的封装。 QuantLibAddin LibreOffice Calc相当于 Ubuntu 上的 Excel,插件 QuantLibAddin 把 QuantLib 中的部分内容封装,...
这两个类是后续利率、债券、金融衍生品估值和定价分析的重要基础。后续推文将以专题的形式介绍Quantlib在固定收益分析中的应用案例,敬请期待。 参考资料: 1. Luigi Ballabio and Goutham Balaraman,2017,《QuantLib Python Cookbook》. 2. QuantLib官方网上英文教程:网页链接...
后续推文将以专题的形式介绍Quantlib在固定收益分析中的应用案例,敬请期待。 参考资料: 1. Luigi Ballabio and Goutham Balaraman,2017,《QuantLib Python Cookbook》. 2. QuantLib官方网上英文教程:https://quantlib-python-docs.readthedocs.io/en/latest/dates.html...