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:
|
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
|
||||||
|
|
Loading…
Reference in New Issue