public class BondAnalyticsAPI
extends java.lang.Object
Constructor and Description |
---|
BondAnalyticsAPI() |
Modifier and Type | Method and Description |
---|---|
static void |
BondCDSCurveCalibration()
API demonstrating how to calibrate a CDS curve from CDS and bond quotes
USE WITH CARE: This sample ignores errors and does not handle exceptions.
|
static Bond |
CreateCustomBond(java.lang.String strName,
int iBondType)
Creates a custom named bond from the bond type and parameters
|
static void |
CustomBondAPISample()
Sample demonstrating the creation/usage of the custom bond API
USE WITH CARE: This sample ignores errors and does not handle exceptions.
|
static void |
main(java.lang.String[] astrArgs) |
public static final Bond CreateCustomBond(java.lang.String strName, int iBondType) throws java.lang.Exception
strName
- String representing the bond nameiBondType
- Integer representing the bond type (fixed/floating/custom)
USE WITH CARE: This sample ignores errors and does not handle exceptions.java.lang.Exception
public static final void CustomBondAPISample() throws java.lang.Exception
java.lang.Exception
public static void BondCDSCurveCalibration() throws java.lang.Exception
java.lang.Exception
public static final void main(java.lang.String[] astrArgs) throws java.lang.Exception
java.lang.Exception