public CreditIndex(Guid eclId, EclType eclType) { this._eclId = eclId; this._eclType = eclType; _vasicekWorkings = new VasicekWorkings(ECL_Scenario.Best, this._eclId, this._eclType); _indexForecastBest = new IndexForecastWorkings(ECL_Scenario.Best, this._eclId, this._eclType); _indexForecastOptimistics = new IndexForecastWorkings(ECL_Scenario.Optimistic, this._eclId, this._eclType); _indexForecastDownturn = new IndexForecastWorkings(ECL_Scenario.Downturn, this._eclId, this._eclType); }
protected List <IndexForecast> GetScenarioIndexForecasting(IndexForecastWorkings indexForecastWorkings) { return(indexForecastWorkings.ComputeIndexForecast()); }
protected List <IndexForecast> GetScenarioIndexForecastResult() { var indexForecastWorkings = new IndexForecastWorkings(_scenario, this._eclId, this._eclType); return(indexForecastWorkings.ComputeIndexForecast()); }