aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/process_queue.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/process_queue.py b/python/process_queue.py
index 22342a4b..cb34dd9c 100644
--- a/python/process_queue.py
+++ b/python/process_queue.py
@@ -262,6 +262,8 @@ def build_line(obj, queue_name='bond_trades'):
obj['InitialMarginCurrency'] = obj['Currency']
if obj.get('AttachmentPoint') is None:
obj['Counterparty'], obj['ExecutingBroker'] = 'SGFCM', obj['Counterparty']
+ if obj['Clearing Facility'] is None:
+ obj['Clearing Facility'] = 'NOT CLEARED'
elif queue_name == 'future_trades':
obj['Deal Type'] = 'FutureDeal'