module 'QuantLib' has no attribute 'CallabilityPrice'

Question:

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?

Asked By: MandyChen622

||

Answers:

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.

Answered By: Luigi Ballabio

Just as a friendly reminder, the Python documentation still has the CallabilityPrice on this link.

Regards,
Serhat

Answered By: sguven
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.