예제 #1
0
        public static object[,] FwdCurve_GetFromCollection(string collectionName, CurveTenor tenor)
        {
            ObjectMap.CheckExists(ObjectMap.FwdCurveCollections, collectionName, "Fwd curve collection does not exist");
            Curve fwdCurve = ObjectMap.FwdCurveCollections[collectionName].GetCurve(tenor);

            return(ExcelUtilities.BuildObjectArrayFromCurve(fwdCurve, collectionName));
        }
예제 #2
0
        public static object[,] FwdCurveRepresentation_Get(string handle)
        {
            ObjectMap.CheckExists(ObjectMap.DiscCurves, handle, "Disc Curve does not exist");

            return(ExcelUtilities.BuildObjectArrayFromCurve(ObjectMap.FwdCurveRepresentations[handle].FwdCurve, handle));
        }
예제 #3
0
        public static object[,] DiscCurve_Get(string name)
        {
            ObjectMap.CheckExists(ObjectMap.DiscCurves, name, "Disc Curve does not exist");

            return(ExcelUtilities.BuildObjectArrayFromCurve(ObjectMap.DiscCurves[name], name));
        }