update to merge syntax in submit_limit, fix non_master push mistake
parent
59434b9a8a
commit
773ed5e7ad
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue