aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/strat_cash_realloc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/strat_cash_realloc.py b/python/strat_cash_realloc.py
index e4530471..748b8de2 100644
--- a/python/strat_cash_realloc.py
+++ b/python/strat_cash_realloc.py
@@ -29,7 +29,7 @@ def generate_csv(date, conn, fund="BOWDST"):
)
for row in c:
if row.strat not in CASH_STRATEGY_MAPPING:
- obj = WireDeal.from_db_line(row._asdict())
+ obj = WireDeal(**row._asdict(), action="NEW")
offset = obj.offset(STRATEGY_CASH_MAPPING[obj.folder])
obj.stage()
offset.stage()