pyquantlib 0.3.0__tar.gz → 0.5.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/PKG-INFO +1 -6
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/README.md +0 -5
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/_static/custom.css +13 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/api/cashflows.md +45 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/api/experimental.md +63 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/api/index.md +2 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/api/indexes.md +19 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/api/instruments.md +351 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/api/math.md +46 -0
- pyquantlib-0.5.1/docs/api/methods.md +1033 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/api/models.md +152 -1
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/api/pricingengines.md +486 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/api/processes.md +60 -1
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/architecture.md +10 -0
- pyquantlib-0.5.1/docs/changelog.md +490 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/conf.py +8 -4
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/contributing.md +5 -5
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/design/index.md +1 -0
- pyquantlib-0.5.1/docs/design/reference-members.md +180 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/extending.md +4 -4
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/index.md +0 -4
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/installation.md +11 -7
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/internals.md +12 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/requirements.txt +3 -0
- pyquantlib-0.5.1/examples/inflation_derivatives.ipynb +824 -0
- pyquantlib-0.5.1/examples/spread_option.ipynb +412 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/include/pyquantlib/pyquantlib.h +179 -11
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/include/pyquantlib/trampolines.h +34 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/pyquantlib/__init__.py +1 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/pyquantlib/__init__.pyi +235 -2
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/pyquantlib/_pyquantlib/__init__.pyi +5765 -926
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/pyquantlib/_pyquantlib/base.pyi +274 -1
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/pyquantlib/builders.py +39 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/pyquantlib/extensions/svi_smile_section.py +28 -6
- pyquantlib-0.5.1/pyquantlib/version.py +1 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/pyquantlib/version.pyi +1 -1
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/scripts/stubgen.py +14 -4
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/cashflows/all.cpp +4 -0
- pyquantlib-0.5.1/src/cashflows/dividend.cpp +71 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/core/all.cpp +2 -0
- pyquantlib-0.5.1/src/core/forward.cpp +72 -0
- pyquantlib-0.5.1/src/experimental/all.cpp +53 -0
- pyquantlib-0.5.1/src/experimental/callablebonds/blackcallablebondengine.cpp +80 -0
- pyquantlib-0.5.1/src/experimental/callablebonds/callablebond.cpp +133 -0
- pyquantlib-0.5.1/src/experimental/callablebonds/callablebondconstantvol.cpp +75 -0
- pyquantlib-0.5.1/src/experimental/callablebonds/callablebondvolstructure.cpp +66 -0
- pyquantlib-0.5.1/src/experimental/callablebonds/treecallablebondengine.cpp +88 -0
- pyquantlib-0.5.1/src/experimental/exoticoptions/twoassetcorrelationoption.cpp +33 -0
- pyquantlib-0.5.1/src/experimental/variancegamma/analyticvariancegammaengine.cpp +30 -0
- pyquantlib-0.5.1/src/experimental/variancegamma/fftvariancegammaengine.cpp +30 -0
- pyquantlib-0.5.1/src/experimental/variancegamma/variancegammamodel.cpp +37 -0
- pyquantlib-0.5.1/src/experimental/variancegamma/variancegammaprocess.cpp +71 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/indexes/all.cpp +3 -0
- pyquantlib-0.5.1/src/indexes/equityindex.cpp +86 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/all.cpp +41 -0
- pyquantlib-0.5.1/src/instruments/bondforward.cpp +77 -0
- pyquantlib-0.5.1/src/instruments/bonds/amortizingcmsratebond.cpp +67 -0
- pyquantlib-0.5.1/src/instruments/bonds/convertiblebonds.cpp +158 -0
- pyquantlib-0.5.1/src/instruments/callabilityschedule.cpp +45 -0
- pyquantlib-0.5.1/src/instruments/cliquetoption.cpp +35 -0
- pyquantlib-0.5.1/src/instruments/complexchooseroption.cpp +35 -0
- pyquantlib-0.5.1/src/instruments/compoundoption.cpp +36 -0
- pyquantlib-0.5.1/src/instruments/equitytotalreturnswap.cpp +122 -0
- pyquantlib-0.5.1/src/instruments/floatfloatswaption.cpp +47 -0
- pyquantlib-0.5.1/src/instruments/forwardvanillaoption.cpp +35 -0
- pyquantlib-0.5.1/src/instruments/holderextensibleoption.cpp +37 -0
- pyquantlib-0.5.1/src/instruments/lookbackoption.cpp +80 -0
- pyquantlib-0.5.1/src/instruments/margrabeoption.cpp +39 -0
- pyquantlib-0.5.1/src/instruments/nonstandardswaption.cpp +52 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/payoffs.cpp +7 -0
- pyquantlib-0.5.1/src/instruments/quantoforwardvanillaoption.cpp +41 -0
- pyquantlib-0.5.1/src/instruments/quantovanillaoption.cpp +38 -0
- pyquantlib-0.5.1/src/instruments/simplechooseroption.cpp +31 -0
- pyquantlib-0.5.1/src/instruments/writerextensibleoption.cpp +40 -0
- pyquantlib-0.5.1/src/math/all.cpp +73 -0
- pyquantlib-0.5.1/src/math/randomnumbers/boxmullergaussianrng.cpp +37 -0
- pyquantlib-0.5.1/src/math/randomnumbers/burley2020sobolrsg.cpp +45 -0
- pyquantlib-0.5.1/src/math/randomnumbers/haltonrsg.cpp +39 -0
- pyquantlib-0.5.1/src/math/randomnumbers/inversecumulativerng.cpp +40 -0
- pyquantlib-0.5.1/src/math/randomnumbers/inversecumulativersg.cpp +78 -0
- pyquantlib-0.5.1/src/math/randomnumbers/mt19937uniformrng.cpp +37 -0
- pyquantlib-0.5.1/src/math/randomnumbers/randomsequencegenerator.cpp +46 -0
- pyquantlib-0.5.1/src/math/randomnumbers/sobolbrownianbridgersg.cpp +66 -0
- pyquantlib-0.5.1/src/math/randomnumbers/sobolrsg.cpp +60 -0
- pyquantlib-0.5.1/src/math/statistics/incrementalstatistics.cpp +78 -0
- pyquantlib-0.5.1/src/math/statistics/sequencestatistics.cpp +119 -0
- pyquantlib-0.5.1/src/math/statistics/statistics.cpp +137 -0
- pyquantlib-0.5.1/src/methods/all.cpp +162 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/boundarycondition.cpp +39 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/meshers/concentrating1dmesher.cpp +50 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/meshers/fdm1dmesher.cpp +44 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/meshers/fdmblackscholesmesher.cpp +71 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/meshers/fdmcev1dmesher.cpp +43 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/meshers/fdmhestonvariancemesher.cpp +59 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/meshers/fdmmesher.cpp +41 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/meshers/fdmmeshercomposite.cpp +56 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/meshers/fdmsimpleprocess1dmesher.cpp +43 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/meshers/predefined1dmesher.cpp +30 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/meshers/uniform1dmesher.cpp +29 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/fdm2dblackscholesop.cpp +47 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/fdmbatesop.cpp +40 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/fdmblackscholesfwdop.cpp +45 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/fdmblackscholesop.cpp +49 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/fdmcevop.cpp +48 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/fdmg2op.cpp +34 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/fdmhestonfwdop.cpp +39 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/fdmhestonhullwhiteop.cpp +36 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/fdmhestonop.cpp +40 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/fdmhullwhiteop.cpp +33 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/fdmlinearop.cpp +28 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/fdmlinearopcomposite.cpp +43 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/fdmlinearopiterator.cpp +46 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/fdmlinearoplayout.cpp +73 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/fdmlocalvolfwdop.cpp +40 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/fdmornsteinuhlenbeckop.cpp +36 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/fdmsabrop.cpp +35 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/fdmsquarerootfwdop.cpp +50 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/firstderivativeop.cpp +30 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/ninepointlinearop.cpp +36 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/secondderivativeop.cpp +30 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/secondordermixedderivativeop.cpp +30 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/operators/triplebandlinearop.cpp +55 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/schemes/craigsneydscheme.cpp +41 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/schemes/cranknicolsonscheme.cpp +45 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/schemes/douglasscheme.cpp +40 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/schemes/expliciteulerscheme.cpp +39 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/schemes/hundsdorferscheme.cpp +41 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/schemes/impliciteulerscheme.cpp +51 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/schemes/methodoflinesscheme.cpp +41 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/schemes/modifiedcraigsneydscheme.cpp +41 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/solvers/fdm1dimsolver.cpp +47 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/solvers/fdm2dimsolver.cpp +56 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/solvers/fdm3dimsolver.cpp +41 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/methods/finitedifferences/solvers/fdmbackwardsolver.cpp +32 -1
- pyquantlib-0.5.1/src/methods/finitedifferences/solvers/fdmblackscholessolver.cpp +97 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/solvers/fdmsolverdesc.cpp +55 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/stepcondition.cpp +32 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/stepconditions/fdmamericanstepcondition.cpp +33 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/stepconditions/fdmbermudanstepcondition.cpp +44 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/stepconditions/fdmsnapshotcondition.cpp +35 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/stepconditions/fdmstepconditioncomposite.cpp +57 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/utilities/bsmrndcalculator.cpp +31 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/utilities/cevrndcalculator.cpp +33 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/utilities/fdmdividendhandler.cpp +50 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/utilities/fdmhestongreensfct.cpp +27 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/utilities/fdminnervaluecalculator.cpp +91 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/utilities/fdmquantohelper.cpp +55 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/utilities/gbsmrndcalculator.cpp +31 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/utilities/hestonrndcalculator.cpp +33 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/utilities/riskneutraldensitycalculator.cpp +35 -0
- pyquantlib-0.5.1/src/methods/finitedifferences/utilities/squarerootprocessrndcalculator.cpp +40 -0
- pyquantlib-0.5.1/src/methods/montecarlo/brownianbridge.cpp +66 -0
- pyquantlib-0.5.1/src/methods/montecarlo/lsmbasissystem.cpp +32 -0
- pyquantlib-0.5.1/src/methods/montecarlo/multipath.cpp +47 -0
- pyquantlib-0.5.1/src/methods/montecarlo/multipathgenerator.cpp +71 -0
- pyquantlib-0.5.1/src/methods/montecarlo/path.cpp +51 -0
- pyquantlib-0.5.1/src/methods/montecarlo/pathgenerator.cpp +86 -0
- pyquantlib-0.5.1/src/methods/montecarlo/sample.cpp +72 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/models/all.cpp +22 -0
- pyquantlib-0.5.1/src/models/equity/gjrgarchmodel.cpp +43 -0
- pyquantlib-0.5.1/src/models/equity/hestonmodelhelper.cpp +90 -0
- pyquantlib-0.5.1/src/models/equity/hestonslvfdmmodel.cpp +164 -0
- pyquantlib-0.5.1/src/models/equity/hestonslvmcmodel.cpp +75 -0
- pyquantlib-0.5.1/src/models/marketmodels/browniangenerator.cpp +45 -0
- pyquantlib-0.5.1/src/models/marketmodels/browniangenerators/mtbrowniangenerator.cpp +37 -0
- pyquantlib-0.5.1/src/models/marketmodels/browniangenerators/sobolbrowniangenerator.cpp +83 -0
- pyquantlib-0.5.1/src/models/shortrate/calibrationhelpers/caphelper.cpp +78 -0
- pyquantlib-0.5.1/src/models/shortrate/onefactormodels/coxingersollross.cpp +37 -0
- pyquantlib-0.5.1/src/models/shortrate/onefactormodels/extendedcoxingersollross.cpp +52 -0
- pyquantlib-0.5.1/src/models/shortrate/onefactormodels/gaussian1dmodel.cpp +112 -0
- pyquantlib-0.5.1/src/models/shortrate/onefactormodels/gsr.cpp +141 -0
- pyquantlib-0.5.1/src/models/shortrate/onefactormodels/markovfunctional.cpp +243 -0
- pyquantlib-0.5.1/src/pricingengines/all.cpp +232 -0
- pyquantlib-0.5.1/src/pricingengines/bacheliercalculator.cpp +85 -0
- pyquantlib-0.5.1/src/pricingengines/blackcalculator.cpp +85 -0
- pyquantlib-0.5.1/src/pricingengines/bond/binomialconvertibleengine.cpp +139 -0
- pyquantlib-0.5.1/src/pricingengines/capfloor/analyticcapfloorengine.cpp +45 -0
- pyquantlib-0.5.1/src/pricingengines/capfloor/gaussian1dcapfloorengine.cpp +39 -0
- pyquantlib-0.5.1/src/pricingengines/capfloor/treecapfloorengine.cpp +56 -0
- pyquantlib-0.5.1/src/pricingengines/cliquet/analyticcliquetengine.cpp +30 -0
- pyquantlib-0.5.1/src/pricingengines/exotic/analyticamericanmargrabeengine.cpp +34 -0
- pyquantlib-0.5.1/src/pricingengines/exotic/analyticcomplexchooserengine.cpp +30 -0
- pyquantlib-0.5.1/src/pricingengines/exotic/analyticcompoundoptionengine.cpp +30 -0
- pyquantlib-0.5.1/src/pricingengines/exotic/analyticeuropeanmargrabeengine.cpp +34 -0
- pyquantlib-0.5.1/src/pricingengines/exotic/analyticholderextensibleoptionengine.cpp +30 -0
- pyquantlib-0.5.1/src/pricingengines/exotic/analyticsimplechooserengine.cpp +30 -0
- pyquantlib-0.5.1/src/pricingengines/exotic/analytictwoassetcorrelationengine.cpp +46 -0
- pyquantlib-0.5.1/src/pricingengines/exotic/analyticwriterextensibleoptionengine.cpp +30 -0
- pyquantlib-0.5.1/src/pricingengines/forward/forwardengine.cpp +44 -0
- pyquantlib-0.5.1/src/pricingengines/forward/mcforwardeuropeanbsengine.cpp +99 -0
- pyquantlib-0.5.1/src/pricingengines/forward/mcforwardeuropeanhestonengine.cpp +99 -0
- pyquantlib-0.5.1/src/pricingengines/lookback/analyticcontinuousfixedlookback.cpp +30 -0
- pyquantlib-0.5.1/src/pricingengines/lookback/analyticcontinuousfloatinglookback.cpp +30 -0
- pyquantlib-0.5.1/src/pricingengines/lookback/analyticcontinuouspartialfixedlookback.cpp +30 -0
- pyquantlib-0.5.1/src/pricingengines/lookback/analyticcontinuouspartialfloatinglookback.cpp +30 -0
- pyquantlib-0.5.1/src/pricingengines/quanto/quantoengine.cpp +95 -0
- pyquantlib-0.5.1/src/pricingengines/swaption/gaussian1dfloatfloatswaptionengine.cpp +57 -0
- pyquantlib-0.5.1/src/pricingengines/swaption/gaussian1djamshidianswaptionengine.cpp +31 -0
- pyquantlib-0.5.1/src/pricingengines/swaption/gaussian1dnonstandardswaptionengine.cpp +55 -0
- pyquantlib-0.5.1/src/pricingengines/swaption/gaussian1dswaptionengine.cpp +52 -0
- pyquantlib-0.5.1/src/pricingengines/vanilla/analyticbsmhullwhiteengine.cpp +36 -0
- pyquantlib-0.5.1/src/pricingengines/vanilla/analyticdigitalamericanengine.cpp +40 -0
- pyquantlib-0.5.1/src/pricingengines/vanilla/analyticdividendeuropeanengine.cpp +35 -0
- pyquantlib-0.5.1/src/pricingengines/vanilla/analyticgjrgarchengine.cpp +29 -0
- pyquantlib-0.5.1/src/pricingengines/vanilla/analytich1hwengine.cpp +48 -0
- pyquantlib-0.5.1/src/pricingengines/vanilla/analytichestonhullwhiteengine.cpp +44 -0
- pyquantlib-0.5.1/src/pricingengines/vanilla/analyticpdfhestonengine.cpp +39 -0
- pyquantlib-0.5.1/src/pricingengines/vanilla/analyticptdhestonengine.cpp +50 -0
- pyquantlib-0.5.1/src/pricingengines/vanilla/coshestonengine.cpp +49 -0
- pyquantlib-0.5.1/src/pricingengines/vanilla/exponentialfittinghestonengine.cpp +43 -0
- pyquantlib-0.5.1/src/pricingengines/vanilla/fdbatesvanillaengine.cpp +52 -0
- pyquantlib-0.5.1/src/pricingengines/vanilla/fdblackscholesshoutengine.cpp +50 -0
- pyquantlib-0.5.1/src/pricingengines/vanilla/fdcevvanillaengine.cpp +67 -0
- pyquantlib-0.5.1/src/pricingengines/vanilla/fdhestonhullwhitevanillaengine.cpp +62 -0
- pyquantlib-0.5.1/src/pricingengines/vanilla/fdhestonvanillaengine.cpp +98 -0
- pyquantlib-0.5.1/src/pricingengines/vanilla/fdornsteinuhlenbeckvanillaengine.cpp +56 -0
- pyquantlib-0.5.1/src/pricingengines/vanilla/fdsabrvanillaengine.cpp +73 -0
- pyquantlib-0.5.1/src/pricingengines/vanilla/hestonexpansionengine.cpp +40 -0
- pyquantlib-0.5.1/src/pricingengines/vanilla/juquadraticengine.cpp +31 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/vanilla/mcamericanengine.cpp +1 -11
- pyquantlib-0.5.1/src/pricingengines/vanilla/mcdigitalengine.cpp +99 -0
- pyquantlib-0.5.1/src/pricingengines/vanilla/mceuropeanhestonengine.cpp +106 -0
- pyquantlib-0.5.1/src/pricingengines/vanilla/qdplusamericanengine.cpp +53 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/processes/all.cpp +10 -0
- pyquantlib-0.5.1/src/processes/forwardmeasureprocess.cpp +47 -0
- pyquantlib-0.5.1/src/processes/gjrgarchprocess.cpp +95 -0
- pyquantlib-0.5.1/src/processes/hestonslvprocess.cpp +60 -0
- pyquantlib-0.5.1/src/processes/hullwhiteprocess.cpp +83 -0
- pyquantlib-0.5.1/src/processes/ornsteinuhlenbeckprocess.cpp +41 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/smilesection.cpp +7 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/time/period.cpp +11 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_cashflows.py +44 -4
- pyquantlib-0.5.1/tests/test_experimental_callablebonds.py +403 -0
- pyquantlib-0.5.1/tests/test_experimental_exoticoptions.py +72 -0
- pyquantlib-0.5.1/tests/test_experimental_variancegamma.py +214 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_experimental_volatility.py +25 -2
- pyquantlib-0.5.1/tests/test_extensions.py +161 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_indexes.py +80 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_instruments.py +928 -22
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_instruments_bonds.py +230 -1
- pyquantlib-0.5.1/tests/test_math_randomnumbers.py +532 -0
- pyquantlib-0.5.1/tests/test_math_statistics.py +274 -0
- pyquantlib-0.5.1/tests/test_methods.py +2566 -0
- pyquantlib-0.5.1/tests/test_models_equity.py +429 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_models_shortrate.py +418 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_pricingengines.py +108 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_pricingengines_bond.py +97 -7
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_pricingengines_capfloor.py +88 -1
- pyquantlib-0.5.1/tests/test_pricingengines_cliquet.py +59 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_pricingengines_credit.py +2 -2
- pyquantlib-0.5.1/tests/test_pricingengines_exotic.py +216 -0
- pyquantlib-0.5.1/tests/test_pricingengines_forward.py +167 -0
- pyquantlib-0.5.1/tests/test_pricingengines_lookback.py +140 -0
- pyquantlib-0.5.1/tests/test_pricingengines_quanto.py +168 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_pricingengines_swaption.py +206 -6
- pyquantlib-0.5.1/tests/test_pricingengines_vanilla.py +1672 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_processes.py +324 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_termstructures_credit.py +1 -1
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_termstructures_volatility.py +28 -30
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_time.py +41 -3
- pyquantlib-0.3.0/docs/changelog.md +0 -243
- pyquantlib-0.3.0/examples/modified_kirk_engine.ipynb +0 -494
- pyquantlib-0.3.0/pyquantlib/version.py +0 -1
- pyquantlib-0.3.0/src/experimental/all.cpp +0 -27
- pyquantlib-0.3.0/src/math/all.cpp +0 -38
- pyquantlib-0.3.0/src/methods/all.cpp +0 -21
- pyquantlib-0.3.0/src/pricingengines/all.cpp +0 -109
- pyquantlib-0.3.0/tests/test_extensions.py +0 -89
- pyquantlib-0.3.0/tests/test_methods.py +0 -330
- pyquantlib-0.3.0/tests/test_pricingengines_vanilla.py +0 -883
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/.gitattributes +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/.github/ISSUE_TEMPLATE/infrastructure.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/.github/scripts/build-quantlib-windows.ps1 +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/.github/workflows/linux.yml +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/.github/workflows/macos.yml +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/.github/workflows/wheels.yml +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/.github/workflows/windows.yml +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/.gitignore +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/.readthedocs.yaml +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/CITATION.cff +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/CMakeLists.txt +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/CMakePresets.json +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/CONTRIBUTING.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/LICENSE +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/SECURITY.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/_static/favicon.svg +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/_static/logo.svg +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/api/core.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/api/currencies.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/api/extensions.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/api/quotes.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/api/termstructures.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/api/time.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/building.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/design/api-design.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/design/bridge-defaults.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/design/builder-pattern.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/design/cross-tu-holders.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/design/diamond-inheritance.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/design/enum-singletons.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/design/hidden-handles.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/design/interpolation.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/design/protected-members.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/design/python-subclassing.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/design/settings-singleton.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/examples/index.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/handles.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/numpy.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/quickstart.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/docs/troubleshooting.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/examples/README.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/examples/bermudan_swaption.ipynb +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/examples/bonds.ipynb +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/examples/cds.ipynb +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/examples/equity_option.ipynb +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/examples/hello_pyquantlib.ipynb +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/examples/multicurve_bootstrapping.ipynb +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/examples/numpy_interoperability.ipynb +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/examples/replication.ipynb +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/examples/svi_smile.ipynb +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/extensions.json +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/include/pyquantlib/binding_manager.h +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/include/pyquantlib/interpolation_helper.h +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/include/pyquantlib/null_utils.h +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/include/pyquantlib/shared_ptr_from_python.h +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/include/pyquantlib/version.h +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/licenseheader.txt +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/pyproject.toml +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/pyquantlib/extensions/__init__.py +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/pyquantlib/extensions/modified_kirk_engine.py +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/pyquantlib/py.typed +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/requirements-dev.txt +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/scripts/README.md +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/scripts/build_docs.py +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/scripts/clean.py +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/scripts/rebuild.py +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/scripts/test.py +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/settings.json +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/cashflows/capflooredinflationcoupon.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/cashflows/cmscoupon.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/cashflows/coupon.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/cashflows/couponpricer.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/cashflows/duration.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/cashflows/fixedratecoupon.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/cashflows/floatingratecoupon.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/cashflows/iborcoupon.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/cashflows/inflationcoupon.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/cashflows/inflationcouponpricer.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/cashflows/lineartsrpricer.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/cashflows/overnightindexedcoupon.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/cashflows/rateaveraging.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/cashflows/simplecashflow.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/cashflows/yoyinflationcoupon.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/cashflows/zeroinflationcashflow.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/core/cashflow.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/core/cdspricingmodel.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/core/compounding.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/core/constants.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/core/currency.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/core/default.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/core/exchangerate.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/core/exercise.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/core/index.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/core/instrument.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/core/interestrate.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/core/money.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/core/option.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/core/payoff.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/core/pricingengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/core/quote.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/core/settings.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/core/stochasticprocess.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/core/termstructure.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/core/timegrid.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/currencies/all.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/currencies/currencies.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/currencies/exchangeratemanager.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/experimental/credit/blackcdsoptionengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/experimental/credit/cdsoption.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/experimental/volatility/svismilesection.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/indexes/ibor/eonia.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/indexes/ibor/estr.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/indexes/ibor/euribor.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/indexes/ibor/sofr.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/indexes/ibor/sonia.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/indexes/iborindex.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/indexes/inflation/aucpi.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/indexes/inflation/euhicp.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/indexes/inflation/frhicp.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/indexes/inflation/ukrpi.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/indexes/inflation/uscpi.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/indexes/inflation/zacpi.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/indexes/inflationindex.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/indexes/interestrateindex.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/indexes/region.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/indexes/swap/swapindexes.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/indexes/swapindex.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/asianoption.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/assetswap.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/averagetype.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/barrieroption.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/barriertype.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/basketoption.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/bond.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/bonds/amortizingfixedratebond.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/bonds/amortizingfloatingratebond.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/bonds/cmsratebond.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/bonds/cpibond.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/bonds/fixedratebond.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/bonds/floatingratebond.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/bonds/zerocouponbond.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/capfloor.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/claim.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/compositeinstrument.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/creditdefaultswap.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/doublebarrieroption.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/doublebarriertype.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/fixedvsfloatingswap.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/floatfloatswap.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/forwardrateagreement.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/inflationcapfloor.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/makecapfloor.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/makeois.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/makeswaption.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/makevanillaswap.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/makeyoyinflationcapfloor.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/multiassetoption.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/nonstandardswap.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/oneassetoption.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/overnightindexedswap.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/swap.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/swaption.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/vanillaoption.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/vanillaswap.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/varianceswap.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/yearonyearinflationswap.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/zerocouponinflationswap.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/instruments/zerocouponswap.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/main.cpp +1 -1
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/math/array.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/math/distributions/bivariatenormaldistribution.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/math/distributions/normaldistribution.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/math/interpolations/backwardflatinterpolation.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/math/interpolations/cubicinterpolation.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/math/interpolations/extrapolation.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/math/interpolations/interpolation.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/math/interpolations/linearinterpolation.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/math/interpolations/loglinearinterpolation.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/math/matrix.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/math/optimization/constraint.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/math/optimization/costfunction.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/math/optimization/endcriteria.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/math/optimization/levenbergmarquardt.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/math/optimization/method.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/math/optimization/problem.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/math/rounding.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/math/solvers1d/solvers1d.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/models/calibrationhelper.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/models/equity/batesmodel.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/models/equity/hestonmodel.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/models/model.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/models/parameter.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/models/piecewisetimedependenthestonmodel.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/models/shortrate/calibrationhelpers/swaptionhelper.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/models/shortrate/onefactormodel.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/models/shortrate/onefactormodels/blackkarasinski.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/models/shortrate/onefactormodels/hullwhite.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/models/shortrate/onefactormodels/vasicek.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/models/shortrate/twofactormodel.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/models/shortrate/twofactormodels/g2.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/patterns/all.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/patterns/lazyobject.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/patterns/observable.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/asian/analytic_cont_geom_av_price.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/asian/analytic_discr_geom_av_price.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/asian/mc_discr_arith_av_price.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/asian/turnbullwakemanasianengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/barrier/analyticbarrierengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/barrier/analyticdoublebarrierengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/barrier/fdblackscholesbarrierengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/basket/bjerksundstenslandspreadengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/basket/denglizhoubasketengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/basket/fd2dblackscholesvanillaengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/basket/kirkengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/basket/mceuropeanbasketengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/basket/operatorsplittingspreadengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/basket/spreadblackscholesvanillaengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/basket/stulzengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/blackformula.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/bond/bondfunctions.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/bond/discountingbondengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/capfloor/bacheliercapfloorengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/capfloor/blackcapfloorengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/credit/isdacdsengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/credit/midpointcdsengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/forward/replicatingvarianceswapengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/genericmodelengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/inflation/inflationcapfloorengines.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/swap/discountingswapengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/swaption/blackswaptionengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/swaption/fdg2swaptionengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/swaption/fdhullwhiteswaptionengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/swaption/g2swaptionengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/swaption/jamshidianswaptionengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/swaption/treeswaptionengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/vanilla/analyticeuropeanengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/vanilla/analyticeuropeanvasicekengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/vanilla/analytichestonengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/vanilla/baroneadesiwhaleyengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/vanilla/batesengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/vanilla/binomialengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/vanilla/bjerksundstenslandengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/vanilla/fdblackscholesvanillaengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/vanilla/integralengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/vanilla/mceuropeanengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/pricingengines/vanilla/qdfpamericanengine.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/processes/batesprocess.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/processes/blackscholesprocess.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/processes/eulerdiscretization.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/processes/hestonprocess.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/processes/stochasticprocessarray.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/quotes/all.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/quotes/compositequote.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/quotes/derivedquote.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/quotes/simplequote.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/submodules.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/all.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/credit/defaultprobabilityhelpers.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/credit/flathazardrate.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/credit/piecewisedefaultcurve.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/defaulttermstructure.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/inflation/inflationhelper.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/inflation/inflationhelpers.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/inflation/interpolatedyoyinflationcurve.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/inflation/interpolatedzeroinflationcurve.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/inflation/piecewiseyoyinflationcurve.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/inflation/piecewisezeroinflationcurve.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/inflation/seasonality.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/inflationtermstructure.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/capfloor/capfloortermvolatilitystructure.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/capfloor/capfloortermvolsurface.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/equityfx/blackconstantvol.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/equityfx/blackvariancesurface.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/equityfx/blackvoltermstructure.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/equityfx/fixedlocalvolsurface.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/equityfx/localconstantvol.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/equityfx/localvolsurface.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/equityfx/localvoltermstructure.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/equityfx/noexceptlocalvolsurface.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/inflation/yoyinflationoptionletvolatilitystructure.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/optionlet/constantoptionletvol.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/optionlet/optionletstripper.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/optionlet/optionletstripper1.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/optionlet/optionletvolatilitystructure.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/optionlet/strippedoptionletadapter.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/optionlet/strippedoptionletbase.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/sabrinterpolatedsmilesection.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/sabrsmilesection.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/swaption/sabrswaptionvolcube.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/swaption/swaptionconstantvol.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/swaption/swaptionvolcube.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/swaption/swaptionvoldiscrete.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/swaption/swaptionvolmatrix.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/swaption/swaptionvolstructure.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/volatility/volatilitytype.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/voltermstructure.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/yield/bondhelpers.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/yield/discountcurve.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/yield/fittedbonddiscountcurve.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/yield/flatforward.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/yield/forwardcurve.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/yield/nonlinearfittingmethods.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/yield/oisratehelper.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/yield/piecewiseyieldcurve.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/yield/ratehelpers.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/yield/zerocurve.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/yield/zerospreadedtermstructure.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/termstructures/yieldtermstructure.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/time/all.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/time/businessdayconvention.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/time/calendar.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/time/calendars/calendars.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/time/date.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/time/dategenerationrule.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/time/daycounter.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/time/daycounters/daycounters.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/time/frequency.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/time/schedule.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/time/timeunit.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/time/weekday.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/utilities/all.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/utilities/null.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/src/utilities/observablevalue.cpp +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/conftest.py +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_core.py +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_currencies.py +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_experimental_credit.py +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_math.py +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_math_distributions.py +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_math_solvers1d.py +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_models.py +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_pricingengines_asian.py +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_pricingengines_barrier.py +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_pricingengines_basket.py +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_quotes.py +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_termstructures.py +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_termstructures_inflation.py +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_termstructures_yield.py +0 -0
- {pyquantlib-0.3.0 → pyquantlib-0.5.1}/tests/test_utilities.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: pyquantlib
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.1
|
|
4
4
|
Summary: Python bindings for QuantLib
|
|
5
5
|
Keywords: quantlib,quantitative-finance,derivatives,pricing,risk,fixed-income,options,finance,pybind11
|
|
6
6
|
Author-Email: Yassine Idyiahia <yassine.id@gmail.com>
|
|
@@ -94,8 +94,6 @@ Description-Content-Type: text/markdown
|
|
|
94
94
|
[](https://www.python.org/downloads/)
|
|
95
95
|
[](https://github.com/quantales/pyquantlib/blob/main/CONTRIBUTING.md)
|
|
96
96
|
|
|
97
|
-
> **Beta Status**: This project is under active development. API may change.
|
|
98
|
-
|
|
99
97
|
## Overview
|
|
100
98
|
|
|
101
99
|
PyQuantLib provides Python bindings for [QuantLib](https://www.quantlib.org/), the open-source library for quantitative finance. Built with [pybind11](https://github.com/pybind/pybind11), it offers a more Pythonic API than existing alternatives.
|
|
@@ -248,6 +246,3 @@ BSD 3-Clause License. See [LICENSE](LICENSE) for details.
|
|
|
248
246
|
- [pybind11](https://github.com/pybind/pybind11) - C++/Python bindings
|
|
249
247
|
- [scikit-build-core](https://github.com/scikit-build/scikit-build-core) - Build system
|
|
250
248
|
|
|
251
|
-
## Status
|
|
252
|
-
|
|
253
|
-
PyQuantLib is under active development. For broader QuantLib coverage today, use [QuantLib-SWIG](https://github.com/lballabio/QuantLib-SWIG).
|
|
@@ -11,8 +11,6 @@
|
|
|
11
11
|
[](https://www.python.org/downloads/)
|
|
12
12
|
[](https://github.com/quantales/pyquantlib/blob/main/CONTRIBUTING.md)
|
|
13
13
|
|
|
14
|
-
> **Beta Status**: This project is under active development. API may change.
|
|
15
|
-
|
|
16
14
|
## Overview
|
|
17
15
|
|
|
18
16
|
PyQuantLib provides Python bindings for [QuantLib](https://www.quantlib.org/), the open-source library for quantitative finance. Built with [pybind11](https://github.com/pybind/pybind11), it offers a more Pythonic API than existing alternatives.
|
|
@@ -165,6 +163,3 @@ BSD 3-Clause License. See [LICENSE](LICENSE) for details.
|
|
|
165
163
|
- [pybind11](https://github.com/pybind/pybind11) - C++/Python bindings
|
|
166
164
|
- [scikit-build-core](https://github.com/scikit-build/scikit-build-core) - Build system
|
|
167
165
|
|
|
168
|
-
## Status
|
|
169
|
-
|
|
170
|
-
PyQuantLib is under active development. For broader QuantLib coverage today, use [QuantLib-SWIG](https://github.com/lballabio/QuantLib-SWIG).
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
/* PyQuantLib documentation custom styles */
|
|
2
2
|
|
|
3
|
+
/* Lower Furo's right sidebar breakpoint from 82em (1312px) to 72em (1152px) */
|
|
4
|
+
@media (min-width: 72em) and (max-width: 82em) {
|
|
5
|
+
.toc-drawer {
|
|
6
|
+
position: static !important;
|
|
7
|
+
right: auto !important;
|
|
8
|
+
height: auto !important;
|
|
9
|
+
border-left: none;
|
|
10
|
+
}
|
|
11
|
+
.toc-content-icon {
|
|
12
|
+
display: none !important;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
3
16
|
/* Headline sizes and spacing */
|
|
4
17
|
h1 {
|
|
5
18
|
font-size: 2rem;
|
|
@@ -348,6 +348,51 @@ pricer = ql.BlackYoYInflationCouponPricer(yoy_vol_handle)
|
|
|
348
348
|
ql.setCouponPricer(yoy_leg, pricer)
|
|
349
349
|
```
|
|
350
350
|
|
|
351
|
+
## Dividends
|
|
352
|
+
|
|
353
|
+
### FixedDividend
|
|
354
|
+
|
|
355
|
+
```{eval-rst}
|
|
356
|
+
.. autoclass:: pyquantlib.FixedDividend
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
Fixed cash dividend.
|
|
360
|
+
|
|
361
|
+
```python
|
|
362
|
+
div = ql.FixedDividend(2.50, ql.Date(15, 6, 2026))
|
|
363
|
+
print(div.amount()) # 2.5
|
|
364
|
+
print(div.date()) # June 15th, 2026
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
### FractionalDividend
|
|
368
|
+
|
|
369
|
+
```{eval-rst}
|
|
370
|
+
.. autoclass:: pyquantlib.FractionalDividend
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
Fractional (proportional) dividend: amount = rate * nominal.
|
|
374
|
+
|
|
375
|
+
```python
|
|
376
|
+
div = ql.FractionalDividend(0.03, 100.0, ql.Date(15, 6, 2026))
|
|
377
|
+
print(div.rate()) # 0.03
|
|
378
|
+
print(div.nominal()) # 100.0
|
|
379
|
+
```
|
|
380
|
+
|
|
381
|
+
### DividendVector
|
|
382
|
+
|
|
383
|
+
```{eval-rst}
|
|
384
|
+
.. autofunction:: pyquantlib.DividendVector
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
Builds a sequence of fixed dividends from dates and amounts.
|
|
388
|
+
|
|
389
|
+
```python
|
|
390
|
+
divs = ql.DividendVector(
|
|
391
|
+
[ql.Date(15, 6, 2026), ql.Date(15, 12, 2026)],
|
|
392
|
+
[2.50, 2.50],
|
|
393
|
+
)
|
|
394
|
+
```
|
|
395
|
+
|
|
351
396
|
## Duration
|
|
352
397
|
|
|
353
398
|
### DurationType
|
|
@@ -47,6 +47,69 @@ print(smile.volatility(110.0)) # OTM call vol
|
|
|
47
47
|
call_price = smile.optionPrice(110.0, ql.OptionType.Call)
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
## Callable Bonds
|
|
51
|
+
|
|
52
|
+
### CallableBondVolatilityStructure
|
|
53
|
+
|
|
54
|
+
```{eval-rst}
|
|
55
|
+
.. autoclass:: pyquantlib.base.CallableBondVolatilityStructure
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Abstract base class for callable-bond volatility term structures.
|
|
59
|
+
|
|
60
|
+
### CallableBondConstantVolatility
|
|
61
|
+
|
|
62
|
+
```{eval-rst}
|
|
63
|
+
.. autoclass:: pyquantlib.CallableBondConstantVolatility
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
```python
|
|
67
|
+
vol = ql.CallableBondConstantVolatility(today, 0.10, ql.Actual365Fixed())
|
|
68
|
+
# or with a Quote
|
|
69
|
+
vol = ql.CallableBondConstantVolatility(today, ql.SimpleQuote(0.10),
|
|
70
|
+
ql.Actual365Fixed())
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### TreeCallableFixedRateBondEngine
|
|
74
|
+
|
|
75
|
+
```{eval-rst}
|
|
76
|
+
.. autoclass:: pyquantlib.TreeCallableFixedRateBondEngine
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### TreeCallableZeroCouponBondEngine
|
|
80
|
+
|
|
81
|
+
```{eval-rst}
|
|
82
|
+
.. autoclass:: pyquantlib.TreeCallableZeroCouponBondEngine
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
```python
|
|
86
|
+
hw_model = ql.HullWhite(curve_handle, 0.03, 0.01)
|
|
87
|
+
engine = ql.TreeCallableFixedRateBondEngine(hw_model, 100)
|
|
88
|
+
bond.setPricingEngine(engine)
|
|
89
|
+
print(bond.cleanPrice())
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### BlackCallableFixedRateBondEngine
|
|
93
|
+
|
|
94
|
+
```{eval-rst}
|
|
95
|
+
.. autoclass:: pyquantlib.BlackCallableFixedRateBondEngine
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### BlackCallableZeroCouponBondEngine
|
|
99
|
+
|
|
100
|
+
```{eval-rst}
|
|
101
|
+
.. autoclass:: pyquantlib.BlackCallableZeroCouponBondEngine
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
```python
|
|
105
|
+
# Black engine requires exactly one call/put date
|
|
106
|
+
vol = ql.CallableBondConstantVolatility(today, 0.10, dc)
|
|
107
|
+
engine = ql.BlackCallableFixedRateBondEngine(vol, discount_curve)
|
|
108
|
+
bond.setPricingEngine(engine)
|
|
109
|
+
print(bond.cleanPrice())
|
|
110
|
+
print(bond.impliedVolatility(target_price, curve, 1e-8, 200, 0.001, 0.50))
|
|
111
|
+
```
|
|
112
|
+
|
|
50
113
|
## Credit
|
|
51
114
|
|
|
52
115
|
### CdsOption
|
|
@@ -20,6 +20,7 @@ PyQuantLib organizes QuantLib classes into logical groups:
|
|
|
20
20
|
- **Term Structures**: Yield curves, volatility surfaces
|
|
21
21
|
- **Processes**: Stochastic processes (Black-Scholes, Heston)
|
|
22
22
|
- **Models**: Pricing models (Heston, etc.)
|
|
23
|
+
- **Methods**: Monte Carlo paths, Brownian bridges, generators
|
|
23
24
|
- **Instruments**: Financial instruments (options, etc.)
|
|
24
25
|
- **Pricing Engines**: Analytic, Monte Carlo, finite difference
|
|
25
26
|
- **Experimental**: Experimental QuantLib features (SVI, etc.)
|
|
@@ -69,6 +70,7 @@ indexes
|
|
|
69
70
|
termstructures
|
|
70
71
|
processes
|
|
71
72
|
models
|
|
73
|
+
methods
|
|
72
74
|
instruments
|
|
73
75
|
pricingengines
|
|
74
76
|
experimental
|
|
@@ -217,6 +217,25 @@ swap_index = ql.EuriborSwapIsdaFixA(ql.Period(5, ql.Years), forwarding_curve)
|
|
|
217
217
|
swap_index = ql.EuriborSwapIsdaFixA(ql.Period(5, ql.Years), forwarding_curve, discounting_curve)
|
|
218
218
|
```
|
|
219
219
|
|
|
220
|
+
## Equity Indexes
|
|
221
|
+
|
|
222
|
+
### EquityIndex
|
|
223
|
+
|
|
224
|
+
```{eval-rst}
|
|
225
|
+
.. autoclass:: pyquantlib.EquityIndex
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
Equity index for total return swap pricing. Supports interest rate and dividend curves.
|
|
229
|
+
|
|
230
|
+
```python
|
|
231
|
+
eq_index = ql.EquityIndex("SPX", ql.UnitedStates(ql.UnitedStates.NYSE),
|
|
232
|
+
ql.USDCurrency())
|
|
233
|
+
|
|
234
|
+
# With term structures
|
|
235
|
+
eq_index = ql.EquityIndex("SPX", ql.UnitedStates(ql.UnitedStates.NYSE),
|
|
236
|
+
ql.USDCurrency(), interest_ts, dividend_ts, spot)
|
|
237
|
+
```
|
|
238
|
+
|
|
220
239
|
## Regions
|
|
221
240
|
|
|
222
241
|
Regions identify the geographic area for inflation indexes.
|
|
@@ -98,6 +98,143 @@ bond = ql.CPIBond(2, 100.0, 315.0, ql.Period(3, ql.Months),
|
|
|
98
98
|
ql.Actual365Fixed())
|
|
99
99
|
```
|
|
100
100
|
|
|
101
|
+
## Callable Bonds
|
|
102
|
+
|
|
103
|
+
### Callability
|
|
104
|
+
|
|
105
|
+
```{eval-rst}
|
|
106
|
+
.. autoclass:: pyquantlib.Callability
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
```{eval-rst}
|
|
110
|
+
.. autoclass:: pyquantlib.CallabilityType
|
|
111
|
+
:members:
|
|
112
|
+
:undoc-members:
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
| Value | Description |
|
|
116
|
+
|-------|-------------|
|
|
117
|
+
| `Call` | Issuer can call (redeem early) |
|
|
118
|
+
| `Put` | Holder can put (sell back early) |
|
|
119
|
+
|
|
120
|
+
```python
|
|
121
|
+
call_price = ql.BondPrice(100.0, ql.BondPriceType.Clean)
|
|
122
|
+
call = ql.Callability(call_price, ql.CallabilityType.Call,
|
|
123
|
+
ql.Date(15, ql.June, 2030))
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
### CallableFixedRateBond
|
|
127
|
+
|
|
128
|
+
```{eval-rst}
|
|
129
|
+
.. autoclass:: pyquantlib.CallableFixedRateBond
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
```python
|
|
133
|
+
call_schedule = [
|
|
134
|
+
ql.Callability(ql.BondPrice(100.0, ql.BondPriceType.Clean),
|
|
135
|
+
ql.CallabilityType.Call, call_date)
|
|
136
|
+
for call_date in call_dates
|
|
137
|
+
]
|
|
138
|
+
bond = ql.CallableFixedRateBond(2, 100.0, schedule, [0.05],
|
|
139
|
+
ql.Actual365Fixed(),
|
|
140
|
+
putCallSchedule=call_schedule)
|
|
141
|
+
bond.setPricingEngine(ql.TreeCallableFixedRateBondEngine(hw_model, 100))
|
|
142
|
+
print(bond.cleanPrice())
|
|
143
|
+
print(bond.OAS(clean_price, curve, dc, ql.Continuous, ql.Annual))
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### CallableZeroCouponBond
|
|
147
|
+
|
|
148
|
+
```{eval-rst}
|
|
149
|
+
.. autoclass:: pyquantlib.CallableZeroCouponBond
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
## Convertible Bonds
|
|
153
|
+
|
|
154
|
+
### SoftCallability
|
|
155
|
+
|
|
156
|
+
```{eval-rst}
|
|
157
|
+
.. autoclass:: pyquantlib.SoftCallability
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
Callability with a trigger level for soft-call provisions.
|
|
161
|
+
|
|
162
|
+
```python
|
|
163
|
+
soft_call = ql.SoftCallability(
|
|
164
|
+
ql.BondPrice(110.0, ql.BondPriceType.Clean),
|
|
165
|
+
call_date, 1.20,
|
|
166
|
+
)
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
### ConvertibleBond
|
|
170
|
+
|
|
171
|
+
```{eval-rst}
|
|
172
|
+
.. autoclass:: pyquantlib.ConvertibleBond
|
|
173
|
+
:members:
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
Base class for convertible bonds (not directly constructible).
|
|
177
|
+
|
|
178
|
+
### ConvertibleZeroCouponBond
|
|
179
|
+
|
|
180
|
+
```{eval-rst}
|
|
181
|
+
.. autoclass:: pyquantlib.ConvertibleZeroCouponBond
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
```python
|
|
185
|
+
exercise = ql.AmericanExercise(today, maturity)
|
|
186
|
+
bond = ql.ConvertibleZeroCouponBond(
|
|
187
|
+
exercise, 1.0, [], issue_date, 2,
|
|
188
|
+
ql.Actual365Fixed(), schedule,
|
|
189
|
+
)
|
|
190
|
+
bond.setPricingEngine(ql.BinomialConvertibleEngine(process, "crr", 801))
|
|
191
|
+
print(bond.NPV())
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
### ConvertibleFixedCouponBond
|
|
195
|
+
|
|
196
|
+
```{eval-rst}
|
|
197
|
+
.. autoclass:: pyquantlib.ConvertibleFixedCouponBond
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
```python
|
|
201
|
+
bond = ql.ConvertibleFixedCouponBond(
|
|
202
|
+
exercise, 1.0, call_schedule, issue_date, 2,
|
|
203
|
+
[0.05], ql.Thirty360(ql.Thirty360.BondBasis), schedule,
|
|
204
|
+
)
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
### ConvertibleFloatingRateBond
|
|
208
|
+
|
|
209
|
+
```{eval-rst}
|
|
210
|
+
.. autoclass:: pyquantlib.ConvertibleFloatingRateBond
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
```python
|
|
214
|
+
bond = ql.ConvertibleFloatingRateBond(
|
|
215
|
+
exercise, 1.0, [], issue_date, 2,
|
|
216
|
+
euribor6m, 2, [0.005], ql.Actual360(), schedule,
|
|
217
|
+
)
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
### EquityTotalReturnSwap
|
|
221
|
+
|
|
222
|
+
```{eval-rst}
|
|
223
|
+
.. autoclass:: pyquantlib.EquityTotalReturnSwap
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
Equity total return swap: equity leg vs interest rate leg.
|
|
227
|
+
|
|
228
|
+
```python
|
|
229
|
+
trs = ql.EquityTotalReturnSwap(
|
|
230
|
+
ql.SwapType.Payer, 1_000_000.0, schedule,
|
|
231
|
+
equity_index, ibor_index, ql.Actual360(), 0.005,
|
|
232
|
+
)
|
|
233
|
+
trs.setPricingEngine(ql.DiscountingSwapEngine(curve))
|
|
234
|
+
print(trs.NPV())
|
|
235
|
+
print(trs.fairMargin())
|
|
236
|
+
```
|
|
237
|
+
|
|
101
238
|
## Swaps
|
|
102
239
|
|
|
103
240
|
### VanillaSwap
|
|
@@ -508,8 +645,190 @@ asian_arith = ql.DiscreteAveragingAsianOption(
|
|
|
508
645
|
asian_arith.setPricingEngine(ql.TurnbullWakemanAsianEngine(process))
|
|
509
646
|
```
|
|
510
647
|
|
|
648
|
+
## Lookback Options
|
|
649
|
+
|
|
650
|
+
### ContinuousFloatingLookbackOption
|
|
651
|
+
|
|
652
|
+
```{eval-rst}
|
|
653
|
+
.. autoclass:: pyquantlib.ContinuousFloatingLookbackOption
|
|
654
|
+
```
|
|
655
|
+
|
|
656
|
+
Continuous floating-strike lookback option. The strike is determined at expiry as the minimum (call) or maximum (put) of the asset price over the option's life.
|
|
657
|
+
|
|
658
|
+
```python
|
|
659
|
+
payoff = ql.FloatingTypePayoff(ql.Call)
|
|
660
|
+
exercise = ql.EuropeanExercise(expiry)
|
|
661
|
+
option = ql.ContinuousFloatingLookbackOption(100.0, payoff, exercise)
|
|
662
|
+
```
|
|
663
|
+
|
|
664
|
+
### ContinuousFixedLookbackOption
|
|
665
|
+
|
|
666
|
+
```{eval-rst}
|
|
667
|
+
.. autoclass:: pyquantlib.ContinuousFixedLookbackOption
|
|
668
|
+
```
|
|
669
|
+
|
|
670
|
+
Continuous fixed-strike lookback option. The payoff is based on the maximum (call) or minimum (put) of the asset price over the option's life.
|
|
671
|
+
|
|
672
|
+
```python
|
|
673
|
+
payoff = ql.PlainVanillaPayoff(ql.Call, 100.0)
|
|
674
|
+
exercise = ql.EuropeanExercise(expiry)
|
|
675
|
+
option = ql.ContinuousFixedLookbackOption(100.0, payoff, exercise)
|
|
676
|
+
```
|
|
677
|
+
|
|
678
|
+
### ContinuousPartialFloatingLookbackOption
|
|
679
|
+
|
|
680
|
+
```{eval-rst}
|
|
681
|
+
.. autoclass:: pyquantlib.ContinuousPartialFloatingLookbackOption
|
|
682
|
+
```
|
|
683
|
+
|
|
684
|
+
Partial floating-strike lookback option with a lookback period ending before expiry.
|
|
685
|
+
|
|
686
|
+
```python
|
|
687
|
+
option = ql.ContinuousPartialFloatingLookbackOption(
|
|
688
|
+
100.0, 1.0, lookback_end, payoff, exercise,
|
|
689
|
+
)
|
|
690
|
+
```
|
|
691
|
+
|
|
692
|
+
### ContinuousPartialFixedLookbackOption
|
|
693
|
+
|
|
694
|
+
```{eval-rst}
|
|
695
|
+
.. autoclass:: pyquantlib.ContinuousPartialFixedLookbackOption
|
|
696
|
+
```
|
|
697
|
+
|
|
698
|
+
Partial fixed-strike lookback option with a lookback period starting after inception.
|
|
699
|
+
|
|
700
|
+
```python
|
|
701
|
+
option = ql.ContinuousPartialFixedLookbackOption(
|
|
702
|
+
lookback_start, payoff, exercise,
|
|
703
|
+
)
|
|
704
|
+
```
|
|
705
|
+
|
|
706
|
+
## Cliquet Options
|
|
707
|
+
|
|
708
|
+
### CliquetOption
|
|
709
|
+
|
|
710
|
+
```{eval-rst}
|
|
711
|
+
.. autoclass:: pyquantlib.CliquetOption
|
|
712
|
+
```
|
|
713
|
+
|
|
714
|
+
Cliquet (ratchet) option with periodic resets. The strike resets at each reset date to the then-current spot price.
|
|
715
|
+
|
|
716
|
+
```python
|
|
717
|
+
payoff = ql.PercentageStrikePayoff(ql.Call, 1.0)
|
|
718
|
+
exercise = ql.EuropeanExercise(expiry)
|
|
719
|
+
reset_dates = [today + ql.Period(f"{i}M") for i in range(3, 12, 3)]
|
|
720
|
+
option = ql.CliquetOption(payoff, exercise, reset_dates)
|
|
721
|
+
```
|
|
722
|
+
|
|
723
|
+
## Compound Options
|
|
724
|
+
|
|
725
|
+
### CompoundOption
|
|
726
|
+
|
|
727
|
+
```{eval-rst}
|
|
728
|
+
.. autoclass:: pyquantlib.CompoundOption
|
|
729
|
+
```
|
|
730
|
+
|
|
731
|
+
Compound option (option on an option). The mother option gives the right to buy/sell the daughter option.
|
|
732
|
+
|
|
733
|
+
```python
|
|
734
|
+
mother_payoff = ql.PlainVanillaPayoff(ql.Call, 5.0)
|
|
735
|
+
mother_exercise = ql.EuropeanExercise(today + ql.Period("6M"))
|
|
736
|
+
daughter_payoff = ql.PlainVanillaPayoff(ql.Call, 100.0)
|
|
737
|
+
daughter_exercise = ql.EuropeanExercise(expiry)
|
|
738
|
+
option = ql.CompoundOption(
|
|
739
|
+
mother_payoff, mother_exercise, daughter_payoff, daughter_exercise,
|
|
740
|
+
)
|
|
741
|
+
```
|
|
742
|
+
|
|
743
|
+
## Chooser Options
|
|
744
|
+
|
|
745
|
+
### SimpleChooserOption
|
|
746
|
+
|
|
747
|
+
```{eval-rst}
|
|
748
|
+
.. autoclass:: pyquantlib.SimpleChooserOption
|
|
749
|
+
```
|
|
750
|
+
|
|
751
|
+
Simple chooser option. The holder chooses at a future date whether the option is a call or put.
|
|
752
|
+
|
|
753
|
+
```python
|
|
754
|
+
option = ql.SimpleChooserOption(choosing_date, 100.0, exercise)
|
|
755
|
+
```
|
|
756
|
+
|
|
757
|
+
### ComplexChooserOption
|
|
758
|
+
|
|
759
|
+
```{eval-rst}
|
|
760
|
+
.. autoclass:: pyquantlib.ComplexChooserOption
|
|
761
|
+
```
|
|
762
|
+
|
|
763
|
+
Complex chooser option with different strikes and exercise dates for the call and put legs.
|
|
764
|
+
|
|
765
|
+
```python
|
|
766
|
+
option = ql.ComplexChooserOption(
|
|
767
|
+
choosing_date, call_strike, put_strike, call_exercise, put_exercise,
|
|
768
|
+
)
|
|
769
|
+
```
|
|
770
|
+
|
|
771
|
+
## Margrabe Options
|
|
772
|
+
|
|
773
|
+
### MargrabeOption
|
|
774
|
+
|
|
775
|
+
```{eval-rst}
|
|
776
|
+
.. autoclass:: pyquantlib.MargrabeOption
|
|
777
|
+
```
|
|
778
|
+
|
|
779
|
+
Margrabe option (exchange option): the right to exchange one asset for another.
|
|
780
|
+
|
|
781
|
+
```python
|
|
782
|
+
option = ql.MargrabeOption(1, 1, exercise)
|
|
783
|
+
option.setPricingEngine(engine)
|
|
784
|
+
print(option.delta1(), option.delta2())
|
|
785
|
+
print(option.gamma1(), option.gamma2())
|
|
786
|
+
```
|
|
787
|
+
|
|
788
|
+
## Forward-Start Options
|
|
789
|
+
|
|
790
|
+
### ForwardVanillaOption
|
|
791
|
+
|
|
792
|
+
```{eval-rst}
|
|
793
|
+
.. autoclass:: pyquantlib.ForwardVanillaOption
|
|
794
|
+
```
|
|
795
|
+
|
|
796
|
+
Forward-start vanilla option. The strike is set at a future reset date based on a moneyness ratio.
|
|
797
|
+
|
|
798
|
+
```python
|
|
799
|
+
option = ql.ForwardVanillaOption(1.0, reset_date, payoff, exercise)
|
|
800
|
+
```
|
|
801
|
+
|
|
802
|
+
## Quanto Options
|
|
803
|
+
|
|
804
|
+
### QuantoVanillaOption
|
|
805
|
+
|
|
806
|
+
```{eval-rst}
|
|
807
|
+
.. autoclass:: pyquantlib.QuantoVanillaOption
|
|
808
|
+
```
|
|
809
|
+
|
|
810
|
+
Quanto vanilla option with currency adjustment. Provides quanto-specific greeks: `qvega()`, `qrho()`, `qlambda()`.
|
|
811
|
+
|
|
812
|
+
```python
|
|
813
|
+
option = ql.QuantoVanillaOption(payoff, exercise)
|
|
814
|
+
option.setPricingEngine(engine)
|
|
815
|
+
print(option.qvega(), option.qrho(), option.qlambda())
|
|
816
|
+
```
|
|
817
|
+
|
|
511
818
|
## Payoffs
|
|
512
819
|
|
|
820
|
+
### FloatingTypePayoff
|
|
821
|
+
|
|
822
|
+
```{eval-rst}
|
|
823
|
+
.. autoclass:: pyquantlib.FloatingTypePayoff
|
|
824
|
+
```
|
|
825
|
+
|
|
826
|
+
Floating-strike payoff for lookback options.
|
|
827
|
+
|
|
828
|
+
```python
|
|
829
|
+
payoff = ql.FloatingTypePayoff(ql.Call)
|
|
830
|
+
```
|
|
831
|
+
|
|
513
832
|
### PlainVanillaPayoff
|
|
514
833
|
|
|
515
834
|
```{eval-rst}
|
|
@@ -659,6 +978,38 @@ payoff = ql.SuperSharePayoff(90.0, 110.0, 5.0)
|
|
|
659
978
|
.. autoclass:: pyquantlib.FloatFloatSwap
|
|
660
979
|
```
|
|
661
980
|
|
|
981
|
+
### NonstandardSwaption
|
|
982
|
+
|
|
983
|
+
```{eval-rst}
|
|
984
|
+
.. autoclass:: pyquantlib.NonstandardSwaption
|
|
985
|
+
```
|
|
986
|
+
|
|
987
|
+
### FloatFloatSwaption
|
|
988
|
+
|
|
989
|
+
```{eval-rst}
|
|
990
|
+
.. autoclass:: pyquantlib.FloatFloatSwaption
|
|
991
|
+
```
|
|
992
|
+
|
|
993
|
+
## Bond Forwards
|
|
994
|
+
|
|
995
|
+
### Forward
|
|
996
|
+
|
|
997
|
+
```{eval-rst}
|
|
998
|
+
.. autoclass:: pyquantlib.base.Forward
|
|
999
|
+
```
|
|
1000
|
+
|
|
1001
|
+
### ForwardTypePayoff
|
|
1002
|
+
|
|
1003
|
+
```{eval-rst}
|
|
1004
|
+
.. autoclass:: pyquantlib.ForwardTypePayoff
|
|
1005
|
+
```
|
|
1006
|
+
|
|
1007
|
+
### BondForward
|
|
1008
|
+
|
|
1009
|
+
```{eval-rst}
|
|
1010
|
+
.. autoclass:: pyquantlib.BondForward
|
|
1011
|
+
```
|
|
1012
|
+
|
|
662
1013
|
## Exercise Types
|
|
663
1014
|
|
|
664
1015
|
### EuropeanExercise
|
|
@@ -150,6 +150,52 @@ Monotonicity-preserving cubic spline that prevents oscillations.
|
|
|
150
150
|
The abstract base class `Interpolation` is available in `pyquantlib.base` for type checking.
|
|
151
151
|
```
|
|
152
152
|
|
|
153
|
+
## Statistics
|
|
154
|
+
|
|
155
|
+
### Statistics
|
|
156
|
+
|
|
157
|
+
```{eval-rst}
|
|
158
|
+
.. autoclass:: pyquantlib.Statistics
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
General statistics accumulator with empirical-distribution risk measures, Gaussian-assumption analytics, and percentile/VaR/ES methods.
|
|
162
|
+
|
|
163
|
+
```python
|
|
164
|
+
stats = ql.Statistics()
|
|
165
|
+
stats.addSequence([1.0, 2.0, 3.0, 4.0, 5.0])
|
|
166
|
+
print(stats.mean(), stats.standardDeviation(), stats.skewness())
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
### IncrementalStatistics
|
|
170
|
+
|
|
171
|
+
```{eval-rst}
|
|
172
|
+
.. autoclass:: pyquantlib.IncrementalStatistics
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
Online (streaming) statistics via boost accumulators. Supports weighted observations.
|
|
176
|
+
|
|
177
|
+
```python
|
|
178
|
+
stats = ql.IncrementalStatistics()
|
|
179
|
+
stats.add(1.0, 1.0)
|
|
180
|
+
stats.add(2.0, 1.0)
|
|
181
|
+
print(stats.mean(), stats.weightSum())
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
### SequenceStatistics
|
|
185
|
+
|
|
186
|
+
```{eval-rst}
|
|
187
|
+
.. autoclass:: pyquantlib.SequenceStatistics
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
N-dimensional statistics with covariance and correlation matrices.
|
|
191
|
+
|
|
192
|
+
```python
|
|
193
|
+
stats = ql.SequenceStatistics(2)
|
|
194
|
+
stats.add([1.0, 2.0])
|
|
195
|
+
stats.add([3.0, 4.0])
|
|
196
|
+
print(stats.mean(), stats.covariance())
|
|
197
|
+
```
|
|
198
|
+
|
|
153
199
|
## Optimization
|
|
154
200
|
|
|
155
201
|
### EndCriteria
|