Adding the overnightSchedule to ql.OvernightIndexedSwap constructor in Python
Need help with adding the overnightSchedule to ql.OvernightIndexedSwap constructor in Python as done in C++: https://rkapl123.github.io/QLAnnotatedSource/d5/d34/class_quant_lib_1_1_overnight_indexed_swap.html
QuantLib-SWIG already export the interface for the OvernightIndexedSwap that takes the overnightSchedule, look at the following line.
That's a different constructor but yes, it provides the same functionality (in fact, it's a bit more general).
In the Python layer I'd try not to add too many overloaded constructors if it can be helped; the ideal thing would be to have just one constructor exported that covers all the cases, so we can enable keyword arguments (SWIG can't provide them when a method is overloaded.)
This issue was automatically marked as stale because it has been open 60 days with no activity. Remove stale label or comment, or this will be closed in two weeks.
This issue was automatically closed because it has been stalled for two weeks with no further activity.