コード例 #1
0
        public static INumberTestDataSource GetAutocallableKnockInBarrierTestData()
        {
            AccessDatabaseNumericalStructureDetailSource dataSource =
                new AccessDatabaseNumericalStructureDetailSource
            {
                DesiredDetailTableColumnHeading    = "KI_Barrier",
                NameOfTableContainingDesiredDetail = "Autocallable"
            };

            return(dataSource);
        }
コード例 #2
0
        public static INumberTestDataSource GetPLUSUpsideLeverageTestData()
        {
            AccessDatabaseNumericalStructureDetailSource dataSource =
                new AccessDatabaseNumericalStructureDetailSource
            {
                DesiredDetailTableColumnHeading    = "Upside_Leverage",
                NameOfTableContainingDesiredDetail = "PLUS"
            };

            return(dataSource);
        }
コード例 #3
0
        public static INumberTestDataSource GetAutocallableCouponPerPeriodTestData()
        {
            AccessDatabaseNumericalStructureDetailSource dataSource =
                new AccessDatabaseNumericalStructureDetailSource
            {
                DesiredDetailTableColumnHeading    = "Coupon_Per_Period",
                NameOfTableContainingDesiredDetail = "Autocallable"
            };

            return(dataSource);
        }
コード例 #4
0
        public static INumberTestDataSource GetPLUSMaxReturnTestData()
        {
            AccessDatabaseNumericalStructureDetailSource dataSource =
                new AccessDatabaseNumericalStructureDetailSource
            {
                DesiredDetailTableColumnHeading    = "Max_Return",
                NameOfTableContainingDesiredDetail = "PLUS"
            };
            string additionalFilteringSqlQuery = "Upside_Is_Capped = TRUE";

            dataSource.AdditionalFilteringSqlSupplement = additionalFilteringSqlQuery;
            return(dataSource);
        }