Python quantlib 示例?

标签 python quantlib

<分区>

有人知道 Python 的任何好的 quantlib 示例吗?我似乎找不到任何地方...

最佳答案

Ubuntu package中有例子quantlib-python:

/usr/share/doc/quantlib-python/examples/american-option.py
/usr/share/doc/quantlib-python/examples/basket-option.py
/usr/share/doc/quantlib-python/examples/bermudan-swaption.py.gz
/usr/share/doc/quantlib-python/examples/european-option.py
/usr/share/doc/quantlib-python/examples/swap.py.gz
/usr/share/doc/quantlib-python/examples/test/QuantLibTestSuite.py
/usr/share/doc/quantlib-python/examples/test/bonds.py.gz
/usr/share/doc/quantlib-python/examples/test/date.py
/usr/share/doc/quantlib-python/examples/test/instruments.py
/usr/share/doc/quantlib-python/examples/test/integrals.py
/usr/share/doc/quantlib-python/examples/test/marketelements.py
/usr/share/doc/quantlib-python/examples/test/ratehelpers.py
/usr/share/doc/quantlib-python/examples/test/solvers1d.py
/usr/share/doc/quantlib-python/examples/test/termstructures.py.gz

如果您使用的不是 Ubuntu/Debian,可能有适用于您的操作系统的类似软件包,或者您也可以通过下载 quantlib-swig_0.9.9.orig.tar.gz 来获取这些文件。 .

关于Python quantlib 示例?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2943516/

相关文章:

c++ - 无法在 Mac 上使用 Quantlib 运行示例代码

c++ - 在 Microsoft Windows 上安装 RQuantLib

python - 如何将 QuantLib 添加到 virtualenv (ubuntu)

部署 Shiny 应用程序时,RQuantLib 将不会加载

python - 更改 netCDF 文件中的 _FillValue

python - 神经网络错误率没有进步

python - 模型表单上的 Django Bootstrap input-group-addon 没有分隔字段

python - Locust.io 负载测试出现 "Connection aborted BadStatusLine"错误

python - 将任意命名的文件导入为 Python 模块,而不生成字节码文件

c++ - Octave 和痛饮。 mkoctfile 提示 : unrecognized argument