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:
# 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