aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/process_queue.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/process_queue.py b/python/process_queue.py
index d3538737..7b25e459 100644
--- a/python/process_queue.py
+++ b/python/process_queue.py
@@ -145,7 +145,7 @@ def build_line(obj, queue_name='bond_trades'):
'payment_rolldate': 'PaymentRollDateConvention',
'day_count': 'DayCount',
'protection': 'Protection',
- 'security_id': 'UnderlyingSecurityID',
+ 'security_id': 'UnderlyingSecurityId',
'security_desc': 'UnderlyingSecurityDescription',
'upfront': 'UpfrontFee',
'upfront_settle_date': 'UpfrontFeePayDate',
@@ -189,7 +189,7 @@ def build_line(obj, queue_name='bond_trades'):
if obj['InitialMarkinPercentage']:
obj['InitialMarginCurrency'] = obj['Currency']
obj['SwapType'] = 'CD_INDEX_OPTION'
- obj['UnderlyingInstrument'] = obj.pop('UnderlyingSecurityID')
+ obj['UnderlyingInstrument'] = obj.pop('UnderlyingSecurityId')
obj['Strike'] = obj.pop('strike')
if obj['swaption_type'] == 'PAYER':
obj['ReceiveLegRateType'] = 'Float'