aboutsummaryrefslogtreecommitdiffstats
path: root/python/process_queue.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/process_queue.py')
-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 43d7d9a7..f348dff0 100644
--- a/python/process_queue.py
+++ b/python/process_queue.py
@@ -179,8 +179,8 @@ def build_line(obj, queue_name='bond_trades'):
obj[direction + 'Notional'] = obj['Notional']
obj[direction + 'EffectiveDate'] = get_effective_date(obj['Trade Date'])
obj['PremiumCurrency'] = obj['Currency']
- obj['InitialMarkinPercentage'] = obj.pop('initial_margin_percentage')
- if obj['InitialMarkinPercentage']:
+ obj['InitialMarginPercentage'] = obj.pop('initial_margin_percentage')
+ if obj['InitialMarginPercentage']:
obj['InitialMarginCurrency'] = obj['Currency']
obj['SwapType'] = 'CD_INDEX_OPTION'
obj['UnderlyingInstrument'] = obj.pop('UnderlyingSecurityId')