OAS(bps) for notinal 100 and price 92.00: 650.0283787796501
OAS(bps) for notinal 25 and price 92.00:: -5682.452474038515
OAS(bps) for notinal 25 and price 23.00:: 650.0283787796501
It seems that callable bond OAS / cleanPriceOAS methods does not convert prices to / from nominal value.
If that's the case I prepared pull request with fixes and test case added.
I notice that OAS for identical bonds with different notionals give different results. Problem representation.
Output:
It seems that callable bond
OAS / cleanPriceOAS
methods does not convert prices to / from nominal value.If that's the case I prepared pull request with fixes and test case added.