コード例 #1
0
 private void SetCurrentCurrentRatioScore_IE(IECurrentParameter i0Score,
                                             InternationalEquitySuitabilityParameters table)
 {
     if (Sector == "Financial Services")
     {
         i0Score.CurrentRatio = table.Ief0Parameters.Defensive.ScoreRanking;
     }
     else if (F0Ratios.CurrentRatio >= table.Ief0Parameters.Defensive.CurrentRatio)
     {
         i0Score.CurrentRatio = table.Ief0Parameters.Defensive.ScoreRanking;
     }
     else if (F0Ratios.CurrentRatio >= table.Ief0Parameters.Conservative.CurrentRatio)
     {
         i0Score.CurrentRatio = table.Ief0Parameters.Conservative.ScoreRanking;
     }
     else if (F0Ratios.CurrentRatio >= table.Ief0Parameters.Balance.CurrentRatio)
     {
         i0Score.CurrentRatio = table.Ief0Parameters.Balance.ScoreRanking;
     }
     else if (F0Ratios.CurrentRatio >= table.Ief0Parameters.Assertive.CurrentRatio)
     {
         i0Score.CurrentRatio = table.Ief0Parameters.Assertive.ScoreRanking;
     }
     else
     {
         i0Score.CurrentRatio = table.Ief0Parameters.Aggressive.ScoreRanking;
     }
 }
コード例 #2
0
        private AssetSuitability GetInternationalEquityAssetSuitability()
        {
            var table   = new InternationalEquitySuitabilityParameters();
            var f0Score = new IECurrentParameter();

            SetF0Score_InternationalEquity(table, f0Score);
            f0Score.Total = f0Score.OneYearTotalReturn + f0Score.CurrentMarketCapitalisatiopn +
                            f0Score.DividendYield + f0Score.ROA + f0Score.ROE
                            + f0Score.QuickRatio + f0Score.CurrentRatio + f0Score.TotalDebtTotalEquityRatio +
                            f0Score.PERatio + f0Score.BetaFiveYear;


            var f1Score = new IEForecastParameter();

            SetF1Score_InternationalEquity(table, f1Score);
            f1Score.Total = f1Score.FiveYearTotalReturn + f1Score.MorningStarRecommendation + f1Score.DividendYield +
                            f1Score.ROAF1 + f1Score.ROEF1
                            + f1Score.FinancialLeverageF1 + f1Score.OneYearRevenueGrowthF1 + f1Score.DERatioF1 +
                            f1Score.CreditRating + f1Score.FairValueVariation;

            return(new AssetSuitability
            {
                F1Parameters = f1Score,
                SuitabilityRating = GetRatingScore(f1Score.Total + f0Score.Total),
                F0Parameters = f0Score,
                TotalScore = f1Score.Total + f0Score.Total
            });
        }
コード例 #3
0
 private void SetF0Score_InternationalEquity(InternationalEquitySuitabilityParameters table,
                                             IECurrentParameter f0Score)
 {
     SetCurrentOneYearReturnScore_IE(table, f0Score);
     SetCurrenCapitalisationScore_IE(table, f0Score);
     SetCurrentDividendScore_IE(table, f0Score);
     SetCurrentReturnOnAssetScore_IE(table, f0Score);
     SetCurrentReturnOnEquityScore_IE(table, f0Score);
     SetCurrentQuickRatioScore_IE(table, f0Score);
     SetCurrentCurrentRatioScore_IE(f0Score, table);
     SetCurrentDebtEquityRatioScore_IE(f0Score, table);
     SetCurrentPriceEarningRatioScore_IE(table, f0Score);
     SetCurrentBetaFiveYearsScore_IE(table, f0Score);
 }
コード例 #4
0
 private void SetCurrentOneYearReturnScore_IE(InternationalEquitySuitabilityParameters table,
                                              IECurrentParameter i0Score)
 {
     if (F0Ratios.OneYearReturn >= table.Ief0Parameters.Defensive.OneYearTotalReturn)
     {
         i0Score.OneYearTotalReturn = table.Ief0Parameters.Defensive.ScoreRanking;
     }
     else if (F0Ratios.OneYearReturn >= table.Ief0Parameters.Conservative.OneYearTotalReturn)
     {
         i0Score.OneYearTotalReturn = table.Ief0Parameters.Conservative.ScoreRanking;
     }
     else if (F0Ratios.OneYearReturn >= table.Ief0Parameters.Balance.OneYearTotalReturn)
     {
         i0Score.OneYearTotalReturn = table.Ief0Parameters.Balance.ScoreRanking;
     }
     else if (F0Ratios.OneYearReturn >= table.Ief0Parameters.Assertive.OneYearTotalReturn)
     {
         i0Score.OneYearTotalReturn = table.Ief0Parameters.Assertive.OneYearTotalReturn;
     }
     else
     {
         i0Score.OneYearTotalReturn = table.Ief0Parameters.Aggressive.OneYearTotalReturn;
     }
 }
コード例 #5
0
 private void SetCurrenCapitalisationScore_IE(InternationalEquitySuitabilityParameters table,
                                              IECurrentParameter i0Score)
 {
     if (F0Ratios.Capitalisation >= table.Ief0Parameters.Defensive.CurrentMarketCapitalisatiopn)
     {
         i0Score.CurrentMarketCapitalisatiopn = table.Ief0Parameters.Defensive.ScoreRanking;
     }
     else if (F0Ratios.Capitalisation >= table.Ief0Parameters.Conservative.CurrentMarketCapitalisatiopn)
     {
         i0Score.CurrentMarketCapitalisatiopn = table.Ief0Parameters.Conservative.ScoreRanking;
     }
     else if (F0Ratios.Capitalisation >= table.Ief0Parameters.Balance.CurrentMarketCapitalisatiopn)
     {
         i0Score.CurrentMarketCapitalisatiopn = table.Ief0Parameters.Balance.ScoreRanking;
     }
     else if (F0Ratios.Capitalisation >= table.Ief0Parameters.Assertive.CurrentMarketCapitalisatiopn)
     {
         i0Score.CurrentMarketCapitalisatiopn = table.Ief0Parameters.Assertive.ScoreRanking;
     }
     else
     {
         i0Score.CurrentMarketCapitalisatiopn = table.Ief0Parameters.Aggressive.ScoreRanking;
     }
 }
コード例 #6
0
 private void SetCurrentDividendScore_IE(InternationalEquitySuitabilityParameters table,
                                         IECurrentParameter i0Score)
 {
     if (F0Ratios.DividendYield >= table.Ief0Parameters.Defensive.DividendYield)
     {
         i0Score.DividendYield = table.Ief0Parameters.Defensive.ScoreRanking;
     }
     else if (F0Ratios.DividendYield >= table.Ief0Parameters.Conservative.DividendYield)
     {
         i0Score.DividendYield = table.Ief0Parameters.Conservative.ScoreRanking;
     }
     else if (F0Ratios.DividendYield >= table.Ief0Parameters.Balance.DividendYield)
     {
         i0Score.DividendYield = table.Ief0Parameters.Balance.ScoreRanking;
     }
     else if (F0Ratios.DividendYield >= table.Ief0Parameters.Assertive.DividendYield)
     {
         i0Score.DividendYield = table.Ief0Parameters.Assertive.ScoreRanking;
     }
     else
     {
         i0Score.DividendYield = table.Ief0Parameters.Aggressive.ScoreRanking;
     }
 }
コード例 #7
0
 private void SetCurrentReturnOnAssetScore_IE(InternationalEquitySuitabilityParameters table,
                                              IECurrentParameter i0Score)
 {
     if (F0Ratios.ReturnOnAsset >= table.Ief0Parameters.Defensive.ROA)
     {
         i0Score.ROA = table.Ief0Parameters.Defensive.ScoreRanking;
     }
     else if (F0Ratios.ReturnOnAsset >= table.Ief0Parameters.Conservative.ROA)
     {
         i0Score.ROA = table.Ief0Parameters.Conservative.ScoreRanking;
     }
     else if (F0Ratios.ReturnOnAsset >= table.Ief0Parameters.Balance.ROA)
     {
         i0Score.ROA = table.Ief0Parameters.Balance.ScoreRanking;
     }
     else if (F0Ratios.ReturnOnAsset >= table.Ief0Parameters.Assertive.ROA)
     {
         i0Score.ROA = table.Ief0Parameters.Assertive.ScoreRanking;
     }
     else
     {
         i0Score.ROA = table.Ief0Parameters.Aggressive.ScoreRanking;
     }
 }
コード例 #8
0
 private void SetCurrentQuickRatioScore_IE(InternationalEquitySuitabilityParameters table,
                                           IECurrentParameter i0Score)
 {
     if (F0Ratios.QuickRatio >= table.Ief0Parameters.Defensive.QuickRatio)
     {
         i0Score.QuickRatio = table.Ief0Parameters.Defensive.ScoreRanking;
     }
     else if (F0Ratios.QuickRatio >= table.Ief0Parameters.Conservative.QuickRatio)
     {
         i0Score.QuickRatio = table.Ief0Parameters.Conservative.ScoreRanking;
     }
     else if (F0Ratios.QuickRatio >= table.Ief0Parameters.Balance.QuickRatio)
     {
         i0Score.QuickRatio = table.Ief0Parameters.Balance.ScoreRanking;
     }
     else if (F0Ratios.QuickRatio >= table.Ief0Parameters.Assertive.QuickRatio)
     {
         i0Score.QuickRatio = table.Ief0Parameters.Assertive.ScoreRanking;
     }
     else
     {
         i0Score.QuickRatio = table.Ief0Parameters.Aggressive.ScoreRanking;
     }
 }
コード例 #9
0
 private void SetCurrentBetaFiveYearsScore_IE(InternationalEquitySuitabilityParameters table,
                                              IECurrentParameter i0Score)
 {
     if (F0Ratios.BetaFiveYears <= table.Ief0Parameters.Defensive.BetaFiveYear)
     {
         i0Score.BetaFiveYear = table.Ief0Parameters.Defensive.ScoreRanking;
     }
     else if (F0Ratios.BetaFiveYears <= table.Ief0Parameters.Conservative.BetaFiveYear)
     {
         i0Score.BetaFiveYear = table.Ief0Parameters.Conservative.ScoreRanking;
     }
     else if (F0Ratios.BetaFiveYears <= table.Ief0Parameters.Balance.BetaFiveYear)
     {
         i0Score.BetaFiveYear = table.Ief0Parameters.Balance.ScoreRanking;
     }
     else if (F0Ratios.BetaFiveYears <= table.Ief0Parameters.Assertive.BetaFiveYear)
     {
         i0Score.BetaFiveYear = table.Ief0Parameters.Assertive.ScoreRanking;
     }
     else
     {
         i0Score.BetaFiveYear = table.Ief0Parameters.Aggressive.ScoreRanking;
     }
 }