aboutsummaryrefslogtreecommitdiffstats
path: root/python/position.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/position.py')
-rw-r--r--python/position.py2
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()