2

This is linked to one of my earlier question:

Quantlib passing a date vector to Schedule class

Basically, I have got everything working in C++. If I use Python, know how can I pass boost::none into a Python function?

Many thanks.

Community
  • 1
  • 1
Ben10
  • 121
  • 1
  • 13
  • Just try passing `None`. Hopefully the wrapper layer translates it to `boost::none`. Otherwise you'd need Python bindings for boost :| – Paul Rooney Nov 24 '16 at 14:10
  • @Paul: Thanks for your suggestion. It doesn't work, but I think it might be due to the fact that I am using QuantLib_Python-1.6.1 instead of 1.8. Let me go and get an updated package to try it again. – Ben10 Nov 24 '16 at 15:38

1 Answers1

1

Unfortunately, you don't. We still haven't exported that part of the interface to Python.

Luigi Ballabio
  • 4,128
  • 21
  • 29