However, the OG curve builder is failing with the below error message:
Caused by: java.lang.IllegalArgumentException: xLower < minX
at org.apache.commons.lang.Validate.isTrue(Validate.java:136)
at com.opengamma.analytics.math.rootfinding.BracketRoot.getBracketedPoints(BracketRoot.java:71)
at com.opengamma.analytics.financial.credit.isdastandardmodel.ISDACompliantYieldCurveBuild.fitSwap(ISDACompliantYieldCurveBuild.java:282)
If I use version 1.8.2 of the ISDA CDS Model from cdsmodel.com and the same input data, the curve builds fine.
Negatives swap rates have been around since Q4 2015. Would it be possible to get a fix in the OG implementation?
Please note that our development has transitioned to Strata which contains this same Java implementation of the ISDA CDS model, so the fix will likely be implemented in this codebase initially.