QuantLib-SWIG
QuantLib-SWIG copied to clipboard
Expose RiskyBond (and sub classes) into Python
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!
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.
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.