diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b9fb33..2b0deb2 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ +## 1.3.7.post2 - 2023-10-05 +### Fix * Fix: Refine exception handling when deleting a grid of orders, one of which is partially filled +### Update +* Up requirements for exchanges-wrapper==1.3.7.post3 + ## 1.3.7.post1 - 2023-09-30 ### Fix * Sonarcloud issues diff --git a/martin_binance/__init__.py b/martin_binance/__init__.py index 6ae3080..ebbdcb5 100755 --- a/martin_binance/__init__.py +++ b/martin_binance/__init__.py @@ -6,7 +6,7 @@ __author__ = "Jerry Fedorenko" __copyright__ = "Copyright © 2021 Jerry Fedorenko aka VM" __license__ = "MIT" -__version__ = "1.3.7.post2.dev3" +__version__ = "1.3.7.post2" __maintainer__ = "Jerry Fedorenko" __contact__ = "https://github.com/DogsTailFarmer" diff --git a/martin_binance/client.py b/martin_binance/client.py index 04b8a40..3dab254 100644 --- a/martin_binance/client.py +++ b/martin_binance/client.py @@ -4,7 +4,7 @@ __author__ = "Jerry Fedorenko" __copyright__ = "Copyright © 2021 Jerry Fedorenko aka VM" __license__ = "MIT" -__version__ = "1.3.4rc4" +__version__ = "1.3.7.post2" __maintainer__ = "Jerry Fedorenko" __contact__ = "https://github.com/DogsTailFarmer" @@ -36,20 +36,19 @@ def __init__(self, channel_options, account_name, rate_limiter): self.trade_id = shortuuid.uuid() async def get_client(self): - if not self.wait_connection: - self.wait_connection = True - client = None - while client is None: - try: - client = await self.connect() - except UserWarning: - client = None - else: - self.wait_connection = False - self.client = client - return True - else: + if self.wait_connection: return False + self.wait_connection = True + client = None + while client is None: + try: + client = await self.connect() + except UserWarning: + client = None + else: + self.wait_connection = False + self.client = client + return True async def connect(self): try: diff --git a/martin_binance/executor.py b/martin_binance/executor.py index e329180..2372d93 100755 --- a/martin_binance/executor.py +++ b/martin_binance/executor.py @@ -4,7 +4,7 @@ __author__ = "Jerry Fedorenko" __copyright__ = "Copyright © 2021 Jerry Fedorenko aka VM" __license__ = "MIT" -__version__ = "1.3.7.post2.dev2" +__version__ = "1.3.7.post2" __maintainer__ = "Jerry Fedorenko" __contact__ = 'https://github.com/DogsTailFarmer' ################################################################## diff --git a/martin_binance/margin_wrapper.py b/martin_binance/margin_wrapper.py index 0dede96..8cca0e6 100755 --- a/martin_binance/margin_wrapper.py +++ b/martin_binance/margin_wrapper.py @@ -4,7 +4,7 @@ __author__ = "Jerry Fedorenko" __copyright__ = "Copyright © 2021 Jerry Fedorenko aka VM" __license__ = "MIT" -__version__ = "1.3.7.post2.dev3" +__version__ = "1.3.7.post2" __maintainer__ = "Jerry Fedorenko" __contact__ = "https://github.com/DogsTailFarmer" diff --git a/pyproject.toml b/pyproject.toml index 4ce6860..c673530 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,7 @@ dynamic = ["version", "description"] requires-python = ">=3.8" dependencies = [ - "exchanges-wrapper==1.3.7.post2", + "exchanges-wrapper==1.3.7.post3", "margin-strategy-sdk==0.0.11", "jsonpickle==3.0.2", "psutil==5.9.5", diff --git a/requirements.txt b/requirements.txt index 9e4caed..2232c5a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -exchanges-wrapper==1.3.7.post2 +exchanges-wrapper==1.3.7.post3 margin-strategy-sdk==0.0.11 jsonpickle==3.0.2 psutil==5.9.5