diff options
| -rw-r--r-- | python/reallocate_cash.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/reallocate_cash.py b/python/reallocate_cash.py index 01ae4ae2..2b15794c 100644 --- a/python/reallocate_cash.py +++ b/python/reallocate_cash.py @@ -67,7 +67,7 @@ def gen_offset(totals, trade_date): return offsets -def get_strategy_alloc(conn, trade_date): +def gen_strat_alloc(conn, trade_date): new_iam = [] totals = defaultdict(int) # Need to figure out how much to offset with conn.cursor() as c: @@ -117,7 +117,7 @@ def process_trades(conn, trade_date): def gen_iam_deals(conn, trade_date): - new_iam = get_strategy_alloc(conn, trade_date) + new_iam = gen_strat_alloc(conn, trade_date) iam_deals = [] with conn.cursor() as c: insert_query = ( |
