From 533def8d26f830dd297a8a88549885ea27d9e912 Mon Sep 17 00:00:00 2001 From: Matt Krueger Date: Tue, 28 Jul 2020 04:35:25 -0500 Subject: [PATCH] condensed execution update output --- VERSION | 2 +- txtrader/rtx.py | 3 ++- txtrader/version.py | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index aa5cc48..3decb89 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.14.15 \ No newline at end of file +1.14.16 \ No newline at end of file diff --git a/txtrader/rtx.py b/txtrader/rtx.py index 7ab87b9..2f0616a 100755 --- a/txtrader/rtx.py +++ b/txtrader/rtx.py @@ -1671,10 +1671,11 @@ def send_execution_update(self, fields, mapped=False): cusip = fields.get('CUSIP','') volume = fields['VOLUME'] price = fields['PRICE'] + transaction = fields['BUYORSELL'] remaining = fields['ORDER_RESIDUAL'] if self.log_execution_updates: - self.output(f"FILL: {xid} {oid} {status} {account} {symbol} {cusip} {volume} {price} {remaining}") + self.output(f"FILL: {xid} {cusip} {symbol} {transaction} {volume} {price} {remaining}") self.WriteAllClients(f"execution.{xid} {account} {oid} {status}", option_flag='execution-notification') self.WriteAllClients(f"execution-data {json.dumps(fields)}", option_flag='execution-data') diff --git a/txtrader/version.py b/txtrader/version.py index a0456bc..e3782f5 100755 --- a/txtrader/version.py +++ b/txtrader/version.py @@ -1,3 +1,3 @@ DATE='2020-07-28' -TIME='04:19:03' -VERSION='1.14.15' +TIME='04:35:06' +VERSION='1.14.16'