diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/reallocate_iam.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/reallocate_iam.py b/python/reallocate_iam.py index 50380b9b..d162be97 100644 --- a/python/reallocate_iam.py +++ b/python/reallocate_iam.py @@ -40,7 +40,7 @@ def gen_new_iam_offsets(fund, cob, conn): _ignore = {"BOWDST": ("GS_FCM",)} with conn.cursor() as c: c.execute( - "SELECT broker, currency, fund, sum(start_money) AS start_money " + "SELECT broker, currency, fund, sum(-start_money) AS start_money " "FROM list_iam(%s, %s) GROUP BY (broker, currency, fund);", ( cob, |
