mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 23:04:21 +01:00
Rewrite, edit and organize examples/rest demos.
This commit is contained in:
@@ -201,7 +201,7 @@ class RestAuthenticatedEndpoints(Middleware):
|
||||
"rate": rate, "period": period
|
||||
}))
|
||||
|
||||
def toggle_keep(self, type: Literal["credit", "loan"], ids: Optional[List[int]] = None, changes: Optional[Dict[int, bool]] = None) -> Notification[Literal[None]]:
|
||||
def toggle_keep_funding(self, type: Literal["credit", "loan"], ids: Optional[List[int]] = None, changes: Optional[Dict[int, Literal[1, 2]]] = None) -> Notification[Literal[None]]:
|
||||
return serializers._Notification[Literal[None]](None).parse(*self._POST("auth/w/funding/keep", body={
|
||||
"type": type,
|
||||
"id": ids,
|
||||
|
||||
Reference in New Issue
Block a user