aboutsummaryrefslogtreecommitdiffstats
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/et_tables.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/et_tables.sql b/sql/et_tables.sql
index e6d5082a..af13c782 100644
--- a/sql/et_tables.sql
+++ b/sql/et_tables.sql
@@ -479,7 +479,7 @@ CREATE OR REPLACE FUNCTION et_cusip_details(p_cusips VARIADIC varchar(10)[])
RETURN QUERY SELECT a.Orig_Moody, a.Curr_Moody, NULL, b."Deal Name", b.manager, NULL,
a.Spread/100, a.Coupon/100, b."Deal Issue Date", b."Reinv End Date", b.Maturity,
e.stalepercentage, greatest(b."CDO Percentage"/100, e.cdopercentage), e.wapbasis,
- e.dealspread5y, e.dealspread, a.subordination, a.thickness, NULL, d.updatedate,
+ e.dealspread5y, e.dealspread, a.curr_attach/100, (a.curr_detach-a.curr_attach)/100, NULL, d.updatedate,
d.delta, d.duration, d.wal, d.price
FROM latest_cusip_universe a LEFT JOIN latest_clo_universe b
ON a.dealname = b.dealname