aboutsummaryrefslogtreecommitdiffstats
path: root/python/trade_dataclasses.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/trade_dataclasses.py')
-rw-r--r--python/trade_dataclasses.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/trade_dataclasses.py b/python/trade_dataclasses.py
index e9c8a097..bdb422d1 100644
--- a/python/trade_dataclasses.py
+++ b/python/trade_dataclasses.py
@@ -305,7 +305,7 @@ class Deal:
upload_buf(buf, fname, fund)
def admin_stage(self):
- self._admin_queue.append(self.to_admin())
+ self._admin_queue.append(self.to_globeop())
@classmethod
def commit(cls):
@@ -754,7 +754,7 @@ class TerminationDeal(
obj["Product Type"] = obj["product_type"]
return obj
- def to_admin(self):
+ def to_globeop(self):
obj = self.serialize("globeop")
obj["TerminationAmount"] *= self.factor
obj["FeesPaid"] = (
@@ -1000,7 +1000,7 @@ class TRSDeal(
)
return obj
- def to_admin(self):
+ def to_globeop(self):
obj = self.serialize("globeop")
if obj["buysell"]:
key1, key2 = "Pay", "Receive"
@@ -1095,7 +1095,7 @@ class IRSDeal(
)
(self.custodian,) = c.fetchone()
- def to_admin(self):
+ def to_globeop(self):
obj = self.serialize("globeop")
if obj["payreceive"]:
key1, key2 = "Receive", "Pay"