exchanges-wrapper 2.1.24__tar.gz → 2.1.26__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (20) hide show
  1. {exchanges_wrapper-2.1.24 → exchanges_wrapper-2.1.26}/PKG-INFO +1 -1
  2. {exchanges_wrapper-2.1.24 → exchanges_wrapper-2.1.26}/exchanges_wrapper/__init__.py +1 -1
  3. {exchanges_wrapper-2.1.24 → exchanges_wrapper-2.1.26}/exchanges_wrapper/client.py +3 -1
  4. {exchanges_wrapper-2.1.24 → exchanges_wrapper-2.1.26}/LICENSE.md +0 -0
  5. {exchanges_wrapper-2.1.24 → exchanges_wrapper-2.1.26}/README.md +0 -0
  6. {exchanges_wrapper-2.1.24 → exchanges_wrapper-2.1.26}/exchanges_wrapper/definitions.py +0 -0
  7. {exchanges_wrapper-2.1.24 → exchanges_wrapper-2.1.26}/exchanges_wrapper/errors.py +0 -0
  8. {exchanges_wrapper-2.1.24 → exchanges_wrapper-2.1.26}/exchanges_wrapper/events.py +0 -0
  9. {exchanges_wrapper-2.1.24 → exchanges_wrapper-2.1.26}/exchanges_wrapper/exch_srv.py +0 -0
  10. {exchanges_wrapper-2.1.24 → exchanges_wrapper-2.1.26}/exchanges_wrapper/exch_srv_cfg.toml.template +0 -0
  11. {exchanges_wrapper-2.1.24 → exchanges_wrapper-2.1.26}/exchanges_wrapper/http_client.py +0 -0
  12. {exchanges_wrapper-2.1.24 → exchanges_wrapper-2.1.26}/exchanges_wrapper/lib.py +0 -0
  13. {exchanges_wrapper-2.1.24 → exchanges_wrapper-2.1.26}/exchanges_wrapper/martin/__init__.py +0 -0
  14. {exchanges_wrapper-2.1.24 → exchanges_wrapper-2.1.26}/exchanges_wrapper/parsers/bitfinex.py +0 -0
  15. {exchanges_wrapper-2.1.24 → exchanges_wrapper-2.1.26}/exchanges_wrapper/parsers/bybit.py +0 -0
  16. {exchanges_wrapper-2.1.24 → exchanges_wrapper-2.1.26}/exchanges_wrapper/parsers/huobi.py +0 -0
  17. {exchanges_wrapper-2.1.24 → exchanges_wrapper-2.1.26}/exchanges_wrapper/parsers/okx.py +0 -0
  18. {exchanges_wrapper-2.1.24 → exchanges_wrapper-2.1.26}/exchanges_wrapper/proto/martin.proto +0 -0
  19. {exchanges_wrapper-2.1.24 → exchanges_wrapper-2.1.26}/exchanges_wrapper/web_sockets.py +0 -0
  20. {exchanges_wrapper-2.1.24 → exchanges_wrapper-2.1.26}/pyproject.toml +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: exchanges-wrapper
3
- Version: 2.1.24
3
+ Version: 2.1.26
4
4
  Summary: REST API and WebSocket asyncio wrapper with grpc powered multiplexer server
5
5
  Author-email: Thomas Marchand <thomas.marchand@tuta.io>, Jerry Fedorenko <jerry.fedorenko@yahoo.com>
6
6
  Requires-Python: >=3.9
@@ -12,7 +12,7 @@ __maintainer__ = "Jerry Fedorenko"
12
12
  __contact__ = "https://github.com/DogsTailFarmer"
13
13
  __email__ = "jerry.fedorenko@yahoo.com"
14
14
  __credits__ = ["https://github.com/DanyaSWorlD"]
15
- __version__ = "2.1.24"
15
+ __version__ = "2.1.26"
16
16
 
17
17
  from pathlib import Path
18
18
  import shutil
@@ -987,8 +987,10 @@ class Client:
987
987
  except ExchangeError as ex:
988
988
  # https://huobiapi.github.io/docs/spot/v1/en/#get-the-order-detail-of-an-order-based-on-client-order-id
989
989
  # If an order is created via API, then it's no longer queryable after being cancelled for 2 hours
990
- if "base-record-invalid" in ex:
990
+ if "base-record-invalid" in str(ex):
991
991
  return hbp.order_cancelled(symbol, order_id, origin_client_order_id)
992
+ else:
993
+ raise
992
994
  else:
993
995
  if res:
994
996
  b_res = hbp.order(res, response_type=response_type)