aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/trade_dataclasses.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/trade_dataclasses.py b/python/trade_dataclasses.py
index 0af16876..f46b6f5a 100644
--- a/python/trade_dataclasses.py
+++ b/python/trade_dataclasses.py
@@ -693,8 +693,8 @@ class TerminationDeal(
return obj
def to_globeop(self):
- self.termination_amount *= self.factor
obj = self.serialize("globeop")
+ obj["TerminationAmount"] *= self.factor
obj["FeesPaid"] = (
-obj["termination_fee"] if obj["termination_fee"] < 0 else None
)