Is Quantlib's NullCalendar exported to Python? Can't see that there.

Also, in general where can I see Quantlib's functions that are exported to Python, Excel, etc.?


1 Answer 1

Python 2.7.12 (default, Dec  4 2017, 14:50:18) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import QuantLib as ql
>>> cal = ql.NullCalendar()
>>> cal.isHoliday(ql.Date(1,4,2018))

There's no maintained list of what's in the wrappers, though. For Python and the other languages exported through SWIG, you can look into the SWIG interface files in QuantLib-SWIG/SWIG.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.