MandyChen622
MandyChen622

Reputation: 35

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?

Upvotes: 1

Views: 969

Answers (1)

Luigi Ballabio
Luigi Ballabio

Reputation: 4368

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.

Upvotes: 2

Related Questions