From 773ed5e7ad428067fe28ad63fb6fd0b664cccdbe Mon Sep 17 00:00:00 2001 From: Konstantine Tsafatinos Date: Sat, 16 Apr 2022 15:01:31 -0400 Subject: [PATCH] update to merge syntax in submit_limit, fix non_master push mistake --- piker/brokers/kraken.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/piker/brokers/kraken.py b/piker/brokers/kraken.py index 1a36f56a..44e4e6b0 100644 --- a/piker/brokers/kraken.py +++ b/piker/brokers/kraken.py @@ -319,9 +319,9 @@ class Client: } if reqid is None: # Build order data for kraken api - data["ordertype"] = "limit" - data["type"] = action - data["volume"] = str(size) + data |= { + "ordertype": "limit", "type": action, "volume": str(size) + } return await self.endpoint('AddOrder', data) else: # Edit order data for kraken api