Search code examples
pythonquantlib

module 'QuantLib' has no attribute 'CallabilityPrice'


I have pip installed newest QuantLib for python 1.23 for Windows.
ql.Callability() is available but ql.CallabilityPrice is not provided.
Is there any issue?


Solution

  • CallabilityPrice was renamed to BondPrice in the underlying C++ library a couple of versions ago. The Python module kept the old version for a while but eventually did the same.