I'm currently using QuantLib Python. Let's say that I've got a VanillaSwap object:
import QuantLib as ql swap_obj = ql.VanillaSwap(... , iborIndex , ...)
How can I find out what is the underlying iborIndex of the swap object?
I've tried the following already, but none of the following works:
swap_obj.index swap_obj.iborIndex swap_obj.index() swap_obj.iborIndex()