fix get_max_loan
This commit is contained in:
parent
f983c5bc2d
commit
7420e2a4da
|
|
@ -98,7 +98,7 @@ class AccountAPI(OkxClient):
|
||||||
return self._request_with_params(GET, GET_INSTRUMENTS, params)
|
return self._request_with_params(GET, GET_INSTRUMENTS, params)
|
||||||
|
|
||||||
# Get the maximum loan of isolated MARGIN
|
# 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}
|
params = {'instId': instId, 'mgnMode': mgnMode, 'mgnCcy': mgnCcy}
|
||||||
return self._request_with_params(GET, MAX_LOAN, params)
|
return self._request_with_params(GET, MAX_LOAN, params)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,4 +2,4 @@
|
||||||
Python SDK for the OKX API v5
|
Python SDK for the OKX API v5
|
||||||
|
|
||||||
"""
|
"""
|
||||||
__version__="0.3.2"
|
__version__="0.3.3"
|
||||||
Loading…
Reference in New Issue