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