aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/report_ops/custodians.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/python/report_ops/custodians.py b/python/report_ops/custodians.py
index a0763995..905ca9c2 100644
--- a/python/report_ops/custodians.py
+++ b/python/report_ops/custodians.py
@@ -31,10 +31,8 @@ def upload_to_custodian(account, trade_date, upload, em):
if any(
[
old_row.identifier != row.identifier,
- abs(float(old_row.principal_payment) - row.principal_payment)
- > 1e-2,
- abs(float(old_row.accrued_payment) - row.accrued_payment)
- > 1e-2,
+ old_row.principal_payment != row.principal_payment,
+ old_row.accrued_payment != row.accrued_payment,
]
):
old_trade = BondDeal.from_dict(