aboutsummaryrefslogtreecommitdiffstats
path: root/python/ops/trade_dataclasses.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/ops/trade_dataclasses.py')
-rw-r--r--python/ops/trade_dataclasses.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/ops/trade_dataclasses.py b/python/ops/trade_dataclasses.py
index 339d53bd..220611a0 100644
--- a/python/ops/trade_dataclasses.py
+++ b/python/ops/trade_dataclasses.py
@@ -446,6 +446,9 @@ class Citco:
_citco_to_action = {"R": "UPDATE", "D": "CANCEL", "N": "NEW"}
warnings.warn("we will get rid of overwriting")
h["Fund"] = "ISOSEL"
+ # Ensure each file is unique
+ h["Comment"] = f"{datetime.datetime.now():%Y%m%d%H%M%S}"
+ h["Notes"] = f"{datetime.datetime.now():%Y%m%d%H%M%S}"
identifier = (
"instrument" if cls.file_tag == "i.innocap_serenitas." else "trade"
)