diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/upload_bbh_trades.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/upload_bbh_trades.py b/python/upload_bbh_trades.py index 03802f42..4999bd4b 100644 --- a/python/upload_bbh_trades.py +++ b/python/upload_bbh_trades.py @@ -26,7 +26,7 @@ if __name__ == "__main__": "principal_payment": "Principal Amount", "trade_date": "Trade Date", "settle_date": "Settlement Date", - "face_amount": "Unit / Original Face Amount", + "faceamount": "Unit / Original Face Amount", "current_face": "Current Face/Amortize Value", "price": "Unit Price Amount", "net_amount": "Net Amount", @@ -64,7 +64,7 @@ if __name__ == "__main__": [obj.get(header, None) for header in BBH_BOND_HEADERS] ) buf = buf.getvalue().encode() - fname = 'LMCG_BBH_TRADES_P.{obj["Client Reference Number"].replace("_", "")}.csv' + fname = f'LMCG_BBH_TRADES_P.{obj["Client Reference Number"].replace("_", "")}.csv' dest = DAILY_DIR / str(datetime.date.today()) / fname sftp = SftpClient.from_creds("bbh") sftp.put(buf, fname) |
