コード例 #1
0
ファイル: LoanFixedRate.cs プロジェクト: sandboxorg/QuantSA
        public ResultStore GetResultStore()
        {
            var results = new ResultStore();

            results.Add("id", id);
            results.Add("type", type);
            results.Add("ccy", ccy.ToString());
            results.Add("fixedRate", fixedRate);
            results.Add("loanDates", balanceDates);
            results.Add("loanBalances", balanceAmounts);
            return(results);
        }
コード例 #2
0
        /// <summary>
        /// Some useful information for a user who has an instance of this class.
        /// </summary>
        /// <returns></returns>
        public ResultStore GetResultStore()
        {
            ResultStore results = new ResultStore();

            results.Add("id", id);
            results.Add("type", type);
            results.Add("ccy", ccy.ToString());
            results.Add("floatIndex", index.ToString());
            results.Add("spread", spread);
            results.Add("loanDates", resetDates);
            results.Add("loanBalances", notionals);
            return(results);
        }
コード例 #3
0
        public ResultStore GetResultStore()
        {
            ResultStore swapDetails = new ResultStore();

            swapDetails.Add("payFixed", payFixed);
            swapDetails.Add("indexDates", indexDates);
            swapDetails.Add("payDates", paymentDates);
            swapDetails.Add("index", index.ToString());
            swapDetails.Add("spreads", spreads);
            swapDetails.Add("accrualFractions", accrualFractions);
            swapDetails.Add("notionals", notionals);
            swapDetails.Add("fixedRate", fixedRate);

            return(swapDetails);
        }