aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/process_queue.py50
1 files changed, 26 insertions, 24 deletions
diff --git a/python/process_queue.py b/python/process_queue.py
index c8e7a044..bb686c0b 100644
--- a/python/process_queue.py
+++ b/python/process_queue.py
@@ -22,30 +22,32 @@ from db import dbconn
from send_email import EmailMessage
from tabulate import tabulate
-HEADERS = {'bond_trades':['Deal Type', 'Deal ID', 'Action', 'Client', 'Reserved', 'Reserved',
- 'Folder', 'Custodian', 'Cash Account', 'Counterparty', 'Comments',
- 'State', 'Trade Date', 'Settlement Date', 'Reserved', 'GlopeOp Security Identifier',
- 'CUSIP', 'ISIN', 'Reserved', 'Reserved',
- 'Reserved', 'Security Description', 'Transaction Indicator',
- 'SubTransaction Indicator', 'Accrued', 'Price', 'BlockId', 'BlockAmount',
- 'Fund', 'Portfolio', 'Reserved', 'Reserved', 'ClientReference', 'ClearingMode',
- 'FaceAmount', 'Pool Factor', 'FactorAsOfDate', 'Delivery'],
- 'cds_trades': ['Deal Type', 'Deal ID', 'Action', 'Client', 'Reserved', 'Reserved',
- 'Folder', 'Custodian', 'Cash Account', 'Counterparty', 'Comments',
- 'State', 'Trade Date', 'Reserved', 'Reserved', 'EffectiveDate', 'MaturityDate',
- 'Currency', 'Notional', 'FixedRate', 'PaymentRollDateConvention', 'DayCount',
- 'PaymentFrequency', 'FirstCouponRate', 'FirstCouponDate', 'ResetLag', 'Liquidation',
- 'LiquidationDate', 'Protection', 'UnderlyingSecurityId',
- 'UnderlyingSecurityDescription', 'CreditSpreadCurve',
- 'CreditEvents', 'RecoveryRate', 'Settlement', 'InitialMargin',
- 'InitialMarginPercentage','InitialMarginCurrency', 'DiscountCurve',
- 'ClientReference', 'UpfrontFee', 'UpfrontFeePayDate', 'RegenerateCashFlow',
- 'UpfrontFeeComment', 'GiveUpBroker','SwapType', 'OnPrice',
- 'OffPrice', 'AttachmentPoint', 'ExhaustionPoint', 'Fees', 'Fee Payment Dates',
- 'Fee Comments', 'Credit Event Occurred', 'Calendar',
- 'Clearing Facility', 'Adjusted', 'CcpTradeRef', 'BlockId',
- 'BlockAmount', 'NettingId', 'AnnouncementDate', 'ExecTS',
- 'DefaultProbability', 'ClientMargin', 'Factor', 'ISDADefinition'],
+HEADERS = {'bond_trades': [
+ 'Deal Type', 'Deal ID', 'Action', 'Client', 'Reserved', 'Reserved',
+ 'Folder', 'Custodian', 'Cash Account', 'Counterparty', 'Comments',
+ 'State', 'Trade Date', 'Settlement Date', 'Reserved', 'GlopeOp Security Identifier',
+ 'CUSIP', 'ISIN', 'Reserved', 'Reserved',
+ 'Reserved', 'Security Description', 'Transaction Indicator',
+ 'SubTransaction Indicator', 'Accrued', 'Price', 'BlockId', 'BlockAmount',
+ 'Fund', 'Portfolio', 'Reserved', 'Reserved', 'ClientReference', 'ClearingMode',
+ 'FaceAmount', 'Pool Factor', 'FactorAsOfDate', 'Delivery'],
+ 'cds_trades': [
+ 'Deal Type', 'Deal ID', 'Action', 'Client', 'Reserved', 'Reserved',
+ 'Folder', 'Custodian', 'Cash Account', 'Counterparty', 'Comments',
+ 'State', 'Trade Date', 'Reserved', 'Reserved', 'EffectiveDate', 'MaturityDate',
+ 'Currency', 'Notional', 'FixedRate', 'PaymentRollDateConvention', 'DayCount',
+ 'PaymentFrequency', 'FirstCouponRate', 'FirstCouponDate', 'ResetLag', 'Liquidation',
+ 'LiquidationDate', 'Protection', 'UnderlyingSecurityId',
+ 'UnderlyingSecurityDescription', 'CreditSpreadCurve',
+ 'CreditEvents', 'RecoveryRate', 'Settlement', 'InitialMargin',
+ 'InitialMarginPercentage','InitialMarginCurrency', 'DiscountCurve',
+ 'ClientReference', 'UpfrontFee', 'UpfrontFeePayDate', 'RegenerateCashFlow',
+ 'UpfrontFeeComment', 'GiveUpBroker','SwapType', 'OnPrice',
+ 'OffPrice', 'AttachmentPoint', 'ExhaustionPoint', 'Fees', 'Fee Payment Dates',
+ 'Fee Comments', 'Credit Event Occurred', 'Calendar',
+ 'Clearing Facility', 'Adjusted', 'CcpTradeRef', 'BlockId',
+ 'BlockAmount', 'NettingId', 'AnnouncementDate', 'ExecTS',
+ 'DefaultProbability', 'ClientMargin', 'Factor', 'ISDADefinition'],
'swaption_trades': [
'Deal Type', 'Deal ID','Action', 'Client', 'Fund', 'Portfolio',
'Folder', 'Custodian', 'Cash Account', 'Counterparty', 'Comments',