I'm pricing a vanilla swap. I have two stubs, front and back, and they can be short, long or a combination. In this case, what do I use in
ql.Schedule object for
Rule parameter? I use
ql.DateGeneration.Forward, but I wasn't sure for two stubs. In the QuantLib for python under Schedule Class, I didn't see for two stubs.