diff options
Diffstat (limited to 'python/position.py')
| -rw-r--r-- | python/position.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/position.py b/python/position.py index 91286770..e1bccf15 100644 --- a/python/position.py +++ b/python/position.py @@ -363,7 +363,7 @@ def populate_cashflow_history(engine, session, workdate=None, fund="SERCGMAST"): conn.commit() to_insert.to_sql("cashflow_history", engine, if_exists="append", index=False) with conn.cursor() as c: - c.execute("REFRESH MATERIALIZED VIEW factors_history") + c.execute("REFRESH MATERIALIZED VIEW CONCURRENTLY factors_history") conn.commit() conn.close() |
