From 7420e2a4da2f2360e38f8013c327208192ad0141 Mon Sep 17 00:00:00 2001 From: "zihao.jiang" Date: Thu, 17 Oct 2024 11:14:33 +0800 Subject: [PATCH] fix get_max_loan --- okx/Account.py | 2 +- okx/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/okx/Account.py b/okx/Account.py index 6fd6dd4..89f25b0 100644 --- a/okx/Account.py +++ b/okx/Account.py @@ -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) diff --git a/okx/__init__.py b/okx/__init__.py index ab41521..fa0038c 100644 --- a/okx/__init__.py +++ b/okx/__init__.py @@ -2,4 +2,4 @@ Python SDK for the OKX API v5 """ -__version__="0.3.2" \ No newline at end of file +__version__="0.3.3" \ No newline at end of file