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