fixed payloads

This commit is contained in:
itsdeka
2022-01-25 14:45:22 +01:00
parent 8ed2e51228
commit 87cc56440a

View File

@@ -1025,7 +1025,9 @@ class BfxRest:
"""
endpoint = f"auth/w/alert/set"
payload = {
"Settings": settings
"type": type,
"symbol": symbol,
"price": price
}
message = await self.post(endpoint, payload)
@@ -1041,7 +1043,8 @@ class BfxRest:
"""
endpoint = f"auth/w/alert/price:{symbol}:{price}/del"
payload = {
"Settings": settings
"symbol": symbol,
"price": price
}
message = await self.post(endpoint, payload)