fix get_max_loan

This commit is contained in:
zihao.jiang 2024-10-17 11:14:33 +08:00
parent f983c5bc2d
commit 7420e2a4da
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ class AccountAPI(OkxClient):
return self._request_with_params(GET, GET_INSTRUMENTS, params)
# Get the maximum loan of isolated MARGIN
def get_max_loan(self, instId, mgnMode, mgnCcy):
def get_max_loan(self, instId, mgnMode, mgnCcy=''):
params = {'instId': instId, 'mgnMode': mgnMode, 'mgnCcy': mgnCcy}
return self._request_with_params(GET, MAX_LOAN, params)

View File

@ -2,4 +2,4 @@
Python SDK for the OKX API v5
"""
__version__="0.3.2"
__version__="0.3.3"