mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2026-02-04 21:34:21 +01:00
fixed payloads
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user