aboutsummaryrefslogtreecommitdiffstats
path: root/python/custodian_wire.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/custodian_wire.py')
-rw-r--r--python/custodian_wire.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/python/custodian_wire.py b/python/custodian_wire.py
deleted file mode 100644
index a6fd5fba..00000000
--- a/python/custodian_wire.py
+++ /dev/null
@@ -1,23 +0,0 @@
-from report_ops.wires import BowdstWire, NTWire
-import datetime
-
-if __name__ == "__main__":
- from serenitas.utils.exchange import ExchangeMessage
- import logging
- import argparse
-
- logger = logging.getLogger(__name__)
- parser = argparse.ArgumentParser()
- parser.add_argument(
- "workdate",
- nargs="?",
- type=datetime.date.fromisoformat,
- default=datetime.date.today(),
- help="working date",
- )
- args = parser.parse_args()
- for wire_report in (BowdstWire, NTWire):
- try:
- wire_report.to_db(args.workdate)
- except ValueError as e:
- logger.info(e)