Need help with qlRateHelperSelection

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Need help with qlRateHelperSelection

baknewer
[hidden email]

I am very new to quantlib. So far trying to maintain a user application that calling qlratehelperselction to return a set of selected depo, futures and swaps. Somehow, not all of these instruments have returned values, and the result array shifted up with the return value. Will this meaning I am using wrong instrument ID? I am using qlDepositRateHelper/qlFutureRateHelper/qlSwapRateHelper to get following instrument ID.

AllRateHelpers Priority Selected
DepoONO#0002 1 DepoO2W
DepoO1W#0008 1 FUTTZ9
DepoO2W#0005 1 FUTTH0
DepoO1M#0002 1 FUTTM0
Depo2M#0004 1 FUTTU0
DepoO3M#0003 1 FUTTZ0
DepoO6M#0002 1 FUTTH1
FUTTZ9#0009 1 FUTTM1
FUTTH0#0003 1 FUTTU1
FUTTM0#0002 4 SwapP3Y
FUTTU0#0002 4 SwapP4Y
FUTTZ0#0002 4 SwapP5Y
FUTTH1#0000 4 SwapP6Y
FUTTM1#0000 4 SwapP7Y
FUTTU1#0000 4 SwapP8Y
SwapP3Y#0012 4 SwapP9Y
SwapP4Y#0002 4 SwapP10Y
SwapP5Y#0002 3 SwapP15Y
SwapP6Y#0002 3 SwapP20Y
SwapP7Y#0002 3 SwapP25Y
SwapP8Y#0002 3 SwapP30Y
SwapP9Y#0000 3 #N/A
SwapP10Y#0000 3 #N/A
SwapP15Y#0000 3 #N/A
SwapP20Y#0000 3 #N/A
SwapP25Y#0000 3 #N/A
SwapP30Y#0000 3 #N/A

Thanks in advance!