QuantLib-SWIG icon indicating copy to clipboard operation
QuantLib-SWIG copied to clipboard

Expose RiskyBond (and sub classes) into Python

Open jianxu305 opened this issue 5 years ago • 1 comments
trafficstars

Currently, the RiskyBond class is in experimental/credit in the C++ repo, but not exposed to Python. It would be nice to have RiskyBond and its two sub classes (RiskyFixedBond, RiskyFloatingBond) exposed to Python. Thanks!

jianxu305 avatar Nov 12 '20 14:11 jianxu305

Thanks for posting! It might take a while before we look at your issue, so don't worry if there seems to be no feedback. We'll get to it.

boring-cyborg[bot] avatar Nov 12 '20 14:11 boring-cyborg[bot]

The RiskyBond class and its subclasses have been deprecated in favor of the new RiskyBondEngine class, which can be used with the existing bonds and is exported to Python and other languages via SWIG.

lballabio avatar Jan 03 '23 16:01 lballabio