Пример #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);
        }