aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/Dawn/models.py2
-rw-r--r--python/process_queue.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/python/Dawn/models.py b/python/Dawn/models.py
index f650732e..6b0e95b0 100644
--- a/python/Dawn/models.py
+++ b/python/Dawn/models.py
@@ -230,7 +230,7 @@ class SwaptionDeal(db.Model):
portfolio = db.Column(PORTFOLIO)
folder = db.Column(SWAPTION_STRAT, nullable=False)
custodian = db.Column(db.String(12), default='NONE', nullable=False)
- cashaccount = db.Column(db.String(10), default='SGNSCLMASW', nullable=False)
+ cashaccount = db.Column(db.String(10), default='V0NSCLMFCM', nullable=False)
cp_code = db.Column(db.String(12), db.ForeignKey('counterparties.code'),
info={'choices': [(None, '')],
'label': 'counterparty'}, nullable=False)
diff --git a/python/process_queue.py b/python/process_queue.py
index 2e8910d6..143f941a 100644
--- a/python/process_queue.py
+++ b/python/process_queue.py
@@ -262,10 +262,10 @@ def build_line(obj, queue_name='bond_trades'):
obj['InitialMarginCurrency'] = obj['Currency']
if obj.get('AttachmentPoint') is None:
obj['ExecutingBroker'] = obj['Counterparty']
- obj['Counterparty'] = 'BOMLCM' if obj['account_code'] == 'BAML' else 'SGFCM'
+ obj['Counterparty'] = 'BAMSNY' if obj['account_code'] == 'BAML' else 'SGFCM'
if obj['Clearing Facility'] is None:
obj['Clearing Facility'] = 'NOT CLEARED'
- obj['Custodian'] = 'NONE'
+ obj['Custodian'] = 'BOMLCM'
elif queue_name == 'future_trades':
obj['Deal Type'] = 'FutureDeal'