trd-utils 0.0.33__tar.gz → 0.0.34__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.
Potentially problematic release.
This version of trd-utils might be problematic. Click here for more details.
- {trd_utils-0.0.33 → trd_utils-0.0.34}/PKG-INFO +1 -1
- {trd_utils-0.0.33 → trd_utils-0.0.34}/pyproject.toml +1 -1
- trd_utils-0.0.34/trd_utils/__init__.py +3 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/exchanges/blofin/blofin_client.py +12 -0
- trd_utils-0.0.33/trd_utils/__init__.py +0 -3
- {trd_utils-0.0.33 → trd_utils-0.0.34}/LICENSE +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/README.md +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/cipher/__init__.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/common_utils/float_utils.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/common_utils/wallet_utils.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/date_utils/__init__.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/date_utils/datetime_helpers.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/exchanges/README.md +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/exchanges/__init__.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/exchanges/base_types.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/exchanges/blofin/__init__.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/exchanges/blofin/blofin_types.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/exchanges/bx_ultra/__init__.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/exchanges/bx_ultra/bx_types.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/exchanges/bx_ultra/bx_ultra_client.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/exchanges/bx_ultra/bx_utils.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/exchanges/errors.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/exchanges/exchange_base.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/exchanges/hyperliquid/README.md +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/exchanges/hyperliquid/__init__.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/exchanges/hyperliquid/hyperliquid_client.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/exchanges/hyperliquid/hyperliquid_types.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/exchanges/okx/__init__.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/exchanges/okx/okx_client.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/exchanges/okx/okx_types.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/exchanges/price_fetcher.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/html_utils/__init__.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/html_utils/html_formats.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/tradingview/__init__.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/tradingview/tradingview_client.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/tradingview/tradingview_types.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/types_helper/__init__.py +0 -0
- {trd_utils-0.0.33 → trd_utils-0.0.34}/trd_utils/types_helper/base_model.py +0 -0
|
@@ -23,6 +23,7 @@ from trd_utils.exchanges.blofin.blofin_types import (
|
|
|
23
23
|
ShareConfigResponse,
|
|
24
24
|
)
|
|
25
25
|
from trd_utils.cipher import AESCipher
|
|
26
|
+
from trd_utils.exchanges.errors import ExchangeError
|
|
26
27
|
from trd_utils.exchanges.exchange_base import ExchangeBase
|
|
27
28
|
|
|
28
29
|
|
|
@@ -141,6 +142,17 @@ class BlofinClient(ExchangeBase):
|
|
|
141
142
|
from_param=current_id_from,
|
|
142
143
|
limit_param=chunk_limit,
|
|
143
144
|
)
|
|
145
|
+
if current_result.code != 200:
|
|
146
|
+
if current_result.msg:
|
|
147
|
+
raise ExchangeError(
|
|
148
|
+
f"blofin get_copy_trader_all_order_list: {current_result.msg}; "
|
|
149
|
+
f"code: {current_result.code}"
|
|
150
|
+
)
|
|
151
|
+
raise ExchangeError(
|
|
152
|
+
"blofin get_copy_trader_all_order_list: unknown error; "
|
|
153
|
+
f"code: {current_result.code}"
|
|
154
|
+
)
|
|
155
|
+
|
|
144
156
|
if not isinstance(current_result, CopyTraderOrderListResponse):
|
|
145
157
|
raise ValueError(
|
|
146
158
|
"get_copy_trader_order_list returned invalid value of "
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|