Pythonの良いquantlibの例を知っている人はいますか?どこにも見つからないようです...
6634 次
3 に答える
7
Ubuntuパッケージ には例があります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を使用していない場合は、OSに同様のパッケージがある可能性があります。または、quantlib-swig_0.9.9.orig.tar.gzをダウンロードしてこれらのファイルを取得することもできます。
于 2010-05-31T13:07:02.027 に答える
5
それらはQuantLib-SWIGディストリビューションにあります(おそらくQuantLibサイトからすでに入手しています)。tarball(またはzipアーカイブ)を解凍すると、Python\examplesフォルダーにあります。
于 2010-06-01T12:43:37.933 に答える
0
私がこれまでに見つけた最高の(唯一の...)QL / Pythonサンプルコードは、 https: //sites.google.com/site/tgwena/engineering-docs/engineering-permissions-listでTawandaGwenaによって書かれたものです。
于 2012-10-28T10:12:33.893 に答える