Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I have been using Quantlib Addin, now I am looking for the equivalent function for QuantLib in Python:
Or any workaround? I need to discount my NPV to today.
That would be
You'll find examples of various tasks in QuantLib-Python on Goutham Balaraman's blog or on the QuantLib Python Cookbook. Having a look at those might ease your learning curve.
Required, but never shown