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

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

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

            return(dataSource);
        }
Exemplo 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);
        }