aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/margin_estimates.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/margin_estimates.py b/python/margin_estimates.py
index 6bfa23c1..ff47abee 100644
--- a/python/margin_estimates.py
+++ b/python/margin_estimates.py
@@ -71,6 +71,7 @@ if __name__ == "__main__":
params=((args.trade_date + BDay(1)).date(), (args.trade_date + BDay(3)).date()),
)
body = [
+ "<html><body>",
"<h3> Collateral Estimates Receive/(Pay) at ISDA :</h3>",
html_generator(isda_cp, "excess"),
"<h3> Collateral Estimates Receive/(Pay) at FCM :</h3>",
@@ -79,12 +80,13 @@ if __name__ == "__main__":
html_generator(payment_settlements_agg, "receive"),
"<h3>Payment Settlements :</h3>",
html_generator(payment_settlements, "receive"),
+ "</html></body>",
]
em = ExchangeMessage()
em.send_email(
f"Collateral Estimates {args.trade_date:%Y-%m-%d}",
HTMLBody("".join(body)),
- ["fyu@lmcg.com"],
+ ["NYOps@lmcg.com"],
["fyu@lmcg.com"],
)