Esempio n. 1
0
        public static INumberTestDataSource GetAutocallableKnockInBarrierTestData()
        {
            AccessDatabaseNumericalStructureDetailSource dataSource =
                new AccessDatabaseNumericalStructureDetailSource
            {
                DesiredDetailTableColumnHeading    = "KI_Barrier",
                NameOfTableContainingDesiredDetail = "Autocallable"
            };

            return(dataSource);
        }
Esempio n. 2
0
        public static INumberTestDataSource GetPLUSUpsideLeverageTestData()
        {
            AccessDatabaseNumericalStructureDetailSource dataSource =
                new AccessDatabaseNumericalStructureDetailSource
            {
                DesiredDetailTableColumnHeading    = "Upside_Leverage",
                NameOfTableContainingDesiredDetail = "PLUS"
            };

            return(dataSource);
        }
Esempio n. 3
0
        public static INumberTestDataSource GetAutocallableCouponPerPeriodTestData()
        {
            AccessDatabaseNumericalStructureDetailSource dataSource =
                new AccessDatabaseNumericalStructureDetailSource
            {
                DesiredDetailTableColumnHeading    = "Coupon_Per_Period",
                NameOfTableContainingDesiredDetail = "Autocallable"
            };

            return(dataSource);
        }
Esempio n. 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);
        }