aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/swaption_pnl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/swaption_pnl.py b/python/swaption_pnl.py
index b80cbc3c..306ae8bc 100644
--- a/python/swaption_pnl.py
+++ b/python/swaption_pnl.py
@@ -68,7 +68,7 @@ def get_swaption_pv(
with conn.cursor() as c:
c.execute(
"SELECT termination_fee "
- "FROM swaptions WHERE termination_date=%s AND folder != 'STEEP'",
+ "FROM terminations WHERE termination_date=%s AND dealid LIKE 'SWPTN%%'",
(prev_day,),
)
for (fee,) in c: