diff options
Diffstat (limited to 'python/analytics/tranche_basket.py')
| -rw-r--r-- | python/analytics/tranche_basket.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/python/analytics/tranche_basket.py b/python/analytics/tranche_basket.py index 9049505e..1255f639 100644 --- a/python/analytics/tranche_basket.py +++ b/python/analytics/tranche_basket.py @@ -6,7 +6,6 @@ from .tranche_functions import ( from .index_data import get_singlenames_curves, get_tranche_quotes from collections import namedtuple from copy import deepcopy -from pyisda.cdsone import upfront_charge from pandas.tseries.offsets import BDay from scipy.optimize import brentq from scipy.interpolate import CubicSpline, PchipInterpolator @@ -79,11 +78,6 @@ class TrancheBasket(BasketIndex): self._snacpv(refspread * 1e-4, self.coupon(self.maturity), self.recovery)} raise ValueError("ref is missing") - def _snacpv(self, spread, coupon, recov): - return upfront_charge(self.trade_date, self.value_date, self.start_date, - self.step_in_date, self.start_date, self.maturity, - coupon, self.yc, spread, recov) - @property def default_prob(self): sm, tickers = super().survival_matrix(self.cs.index.values.astype('M8[D]').view('int') + 134774) |
