trd-utils 0.0.38__py3-none-any.whl → 0.0.39__py3-none-any.whl

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/__init__.py CHANGED
@@ -1,3 +1,3 @@
1
1
 
2
- __version__ = "0.0.38"
2
+ __version__ = "0.0.39"
3
3
 
@@ -1054,7 +1054,7 @@ class BXUltraClient(ExchangeBase, IPriceFetcher):
1054
1054
 
1055
1055
  unified_result.positions.append(unified_pos)
1056
1056
 
1057
- if result.data.total_str.find("+") == -1:
1057
+ if not result.data.total_str or result.data.total_str.find("+") == -1:
1058
1058
  # all is done
1059
1059
  return unified_result
1060
1060
  await asyncio.sleep(delay_amount)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: trd_utils
3
- Version: 0.0.38
3
+ Version: 0.0.39
4
4
  Summary: Common Basic Utils for Python3. By ALiwoto.
5
5
  Keywords: utils,trd_utils,basic-utils,common-utils
6
6
  Author: ALiwoto
@@ -1,4 +1,4 @@
1
- trd_utils/__init__.py,sha256=lzE4YiavKv3llT5SHWvoplczINHqQzeBGtR2uujP0x4,25
1
+ trd_utils/__init__.py,sha256=_y4WjAWHrgEgLvv3r_45aY_RMAA0naOkGcAzESovGeU,25
2
2
  trd_utils/cipher/__init__.py,sha256=V05KNuzQwCic-ihMVHlC8sENaJGc3I8MCb4pg4849X8,1765
3
3
  trd_utils/common_utils/float_utils.py,sha256=aYPwJ005LmrRhXAngojwvdDdtRgeb1FfR6hKeQ5ndMU,470
4
4
  trd_utils/common_utils/wallet_utils.py,sha256=OX9q2fymP0VfIWTRIRBP8W33cfyjLXimxMgPOsZe-3g,727
@@ -12,7 +12,7 @@ trd_utils/exchanges/blofin/blofin_client.py,sha256=LAAbwXbA7nDxJZFwbXtaNsIZCayEy
12
12
  trd_utils/exchanges/blofin/blofin_types.py,sha256=bQx0opCgHwcuC-5TxiVA4VQr17A1x7u7QIMdcIrROAg,4315
13
13
  trd_utils/exchanges/bx_ultra/__init__.py,sha256=8Ssy-eOemQR32Nv1-FoPHm87nRqRO4Fm2PU5GHEFKfQ,80
14
14
  trd_utils/exchanges/bx_ultra/bx_types.py,sha256=7Ga6IYHQNRDbhWXmS1J0NxpcR9HUJ8ZwQGh-1EvNRqM,36687
15
- trd_utils/exchanges/bx_ultra/bx_ultra_client.py,sha256=91SRavPKyEKT0Y-LQkBUCgZbkgu97Ck66S61QBXbHJE,39838
15
+ trd_utils/exchanges/bx_ultra/bx_ultra_client.py,sha256=iLR6ZA0ou2FeE4lw3J92keuYXPp5D8RsToW5-XYMWo0,39867
16
16
  trd_utils/exchanges/bx_ultra/bx_utils.py,sha256=PwapomwDW33arVmKIDj6cL-aP0ptu4BYy_lOCqSAPOo,1392
17
17
  trd_utils/exchanges/errors.py,sha256=P_NTuc389XL7rFegomP59BydWmHv8ckiGyNU-_l5qNQ,167
18
18
  trd_utils/exchanges/exchange_base.py,sha256=Zn5y4bymK53ENVLjYnQadS61SZKs8BGoZ4jfsY4GOcE,7835
@@ -31,7 +31,7 @@ trd_utils/tradingview/tradingview_client.py,sha256=g_eWYaCRQAL8Kvd-r6AnAdbH7Jha6
31
31
  trd_utils/tradingview/tradingview_types.py,sha256=z21MXPVdWHAduEl3gSeMIRhxtBN9yK-jPYHfZSMIbSA,6144
32
32
  trd_utils/types_helper/__init__.py,sha256=lLbUiW1jUV1gjzTMFLthwkvF0hwauH-F_J2JZq--1U0,67
33
33
  trd_utils/types_helper/base_model.py,sha256=dknzoq6iAUOb0n_yhI5mU3So-F_8d5ykGk3EbrERLnM,11763
34
- trd_utils-0.0.38.dist-info/LICENSE,sha256=J1EP2xt87RjjmsTV1jTjHDQMLIM9FjdwEftTpw8hyv4,1067
35
- trd_utils-0.0.38.dist-info/METADATA,sha256=1gOH-y_BZA28RAIOYf6Hn6TMBp03jUmeIBcYTDEJHSY,1179
36
- trd_utils-0.0.38.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
37
- trd_utils-0.0.38.dist-info/RECORD,,
34
+ trd_utils-0.0.39.dist-info/LICENSE,sha256=J1EP2xt87RjjmsTV1jTjHDQMLIM9FjdwEftTpw8hyv4,1067
35
+ trd_utils-0.0.39.dist-info/METADATA,sha256=cA46gdwdtI8poYrD-rYuK13Pz6pKkt_PvSfC3pYTDoQ,1179
36
+ trd_utils-0.0.39.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
37
+ trd_utils-0.0.39.dist-info/RECORD,,