update to merge syntax in submit_limit, fix non_master push mistake

no_orderid_in_error
Konstantine Tsafatinos 2022-04-16 15:01:31 -04:00
parent 59434b9a8a
commit 773ed5e7ad
1 changed files with 3 additions and 3 deletions

View File

@ -319,9 +319,9 @@ class Client:
} }
if reqid is None: if reqid is None:
# Build order data for kraken api # Build order data for kraken api
data["ordertype"] = "limit" data |= {
data["type"] = action "ordertype": "limit", "type": action, "volume": str(size)
data["volume"] = str(size) }
return await self.endpoint('AddOrder', data) return await self.endpoint('AddOrder', data)
else: else:
# Edit order data for kraken api # Edit order data for kraken api