aboutsummaryrefslogtreecommitdiffstats
path: root/python/risk/tranches.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/risk/tranches.py')
-rw-r--r--python/risk/tranches.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/risk/tranches.py b/python/risk/tranches.py
index 5f7edb39..5bc0613a 100644
--- a/python/risk/tranches.py
+++ b/python/risk/tranches.py
@@ -48,7 +48,7 @@ def insert_tranche_portfolio(portf, conn):
f"SET {update_str}")
with conn.cursor() as c:
for (strat, trade_id), trade in portf.items():
- print(strat, trade_id)
+ logger.info(f"marking tranche {trade_id} in {strat}")
try:
theta = trade.theta(method="TLP")
except ValueError: