aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/risk/bonds.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/risk/bonds.py b/python/risk/bonds.py
index 0f398bcf..8b5d2801 100644
--- a/python/risk/bonds.py
+++ b/python/risk/bonds.py
@@ -235,6 +235,7 @@ def get_portfolio(date, conn, asset_class: AssetClass, fund="SERCGMAST"):
def crt_risk(date, dawn_conn, crt_engine, fund="SERCGMAST"):
hy_ontr = CreditIndex("HY", on_the_run("HY", date), "5yr", date)
+ hy_ontr.mark()
yc = YC(evaluation_date=date)
df = get_portfolio(date, dawn_conn, AssetClass.CRT, fund)
scen = {