aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/margin_estimates.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/margin_estimates.py b/python/margin_estimates.py
index 968350cd..5eb65d68 100644
--- a/python/margin_estimates.py
+++ b/python/margin_estimates.py
@@ -77,7 +77,7 @@ def get_excess_values(date, fund, conn):
sql = (
"SELECT date, custodian, current_excess_deficit AS excess, 'USD' as currency "
"FROM fcm_moneyline fm LEFT JOIN accounts ON account=cash_account "
- "WHERE date=%s AND fund=%s AND currency='ZZZZZ'"
+ "WHERE date=%s AND fund=%s AND currency=%s"
)
c.execute(
@@ -85,6 +85,7 @@ def get_excess_values(date, fund, conn):
(
args.date,
fund,
+ "USD" if fund == "BOWDST" else "ZZZZZ",
),
)