aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/process_queue.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/process_queue.py b/python/process_queue.py
index e8ea369b..a071bd29 100644
--- a/python/process_queue.py
+++ b/python/process_queue.py
@@ -229,6 +229,7 @@ def build_line(obj, queue_name='bond_trades'):
obj['Transaction Type'] = 'Transfer'
obj['Instrument Type'] = 'Cashflow'
obj['Settlement Date'] = obj['Trade Date']
+ rename_keys(obj, {'amount': 'Amount'})
return [obj.get(h, None) for h in HEADERS[queue_name]]