trd-utils 0.0.46__py3-none-any.whl → 0.0.47__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.46"
2
+ __version__ = "0.0.47"
3
3
 
@@ -209,7 +209,8 @@ class OkxClient(ExchangeBase):
209
209
  unified_info.trader_id = account_info.unique_name or uid
210
210
  unified_info.trader_name = account_info.en_nick_name or account_info.nick_name
211
211
  unified_info.trader_url = f"{BASE_PROFILE_URL}{uid}"
212
- unified_info.win_rate = overview.win_rate
212
+ if overview:
213
+ unified_info.win_rate = overview.win_rate
213
214
 
214
215
  return unified_info
215
216
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: trd_utils
3
- Version: 0.0.46
3
+ Version: 0.0.47
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=wLcWARA4_ZeM1KZ-X6E-axb1IuqweiU-ZE_9aEEk83k,25
1
+ trd_utils/__init__.py,sha256=7UU7HS7yxJAEYyOKLnxUasYKfDeCqB9WVSiQaW6z6r0,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
@@ -21,7 +21,7 @@ trd_utils/exchanges/hyperliquid/__init__.py,sha256=QhwGRcneGFHREM-MMdYpbcx-aWdsW
21
21
  trd_utils/exchanges/hyperliquid/hyperliquid_client.py,sha256=rc1TPtyMo9K1udISVwfWGN51Di783QbNiAFcPBmgpcY,7239
22
22
  trd_utils/exchanges/hyperliquid/hyperliquid_types.py,sha256=MiGG5fRU7wHqOMtCzQXD1fwwbeUK1HEcQwW5rl-9D4c,2678
23
23
  trd_utils/exchanges/okx/__init__.py,sha256=OjVpvcwB9mrCTofLt14JRHV2-fMAzGz9-YkJAMwl6dM,67
24
- trd_utils/exchanges/okx/okx_client.py,sha256=P_DnIBk0086XJSXuSNDRc6woayiJmPEC5avbgDZsFt4,7409
24
+ trd_utils/exchanges/okx/okx_client.py,sha256=uKgH7u052yvPIEQcr_GaZiAXjl1w9U4eFXFh1lUGr6g,7434
25
25
  trd_utils/exchanges/okx/okx_types.py,sha256=IkFOfgivcvvIw950jyGHAVfFFGbGqfZcYGfZLWfNLvc,5013
26
26
  trd_utils/exchanges/price_fetcher.py,sha256=YHLkM6sCvHGFS_4t188Sl3DczqrarK-1ivGwZEVsom4,1320
27
27
  trd_utils/html_utils/__init__.py,sha256=1WWs8C7JszRjTkmzIRLHpxWECHur_DrulTPGIeX88oM,426
@@ -35,7 +35,7 @@ trd_utils/types_helper/decorators.py,sha256=ziQGDKV0RnhMG6gBPAz244Ug3j6ayr0iKXeu
35
35
  trd_utils/types_helper/model_config.py,sha256=uvyhdGHQZ1A_I5RUbCgzlDk6MxWL6RLV8r0cdVi6nBk,60
36
36
  trd_utils/types_helper/ultra_list.py,sha256=01WQSkx0G7lD9O9XcXccexniNwyuQ9LwVOeixxr4tWQ,1178
37
37
  trd_utils/types_helper/utils.py,sha256=Xq4SZG4NkkGzJyOBs9huAvzl2YcCZ7ZRjfOHol3o-Kc,569
38
- trd_utils-0.0.46.dist-info/LICENSE,sha256=J1EP2xt87RjjmsTV1jTjHDQMLIM9FjdwEftTpw8hyv4,1067
39
- trd_utils-0.0.46.dist-info/METADATA,sha256=TOK9FOBw1qYtyRKUTH3lOJsa2ZqpmQVm_hDDRTE4iEI,1179
40
- trd_utils-0.0.46.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
41
- trd_utils-0.0.46.dist-info/RECORD,,
38
+ trd_utils-0.0.47.dist-info/LICENSE,sha256=J1EP2xt87RjjmsTV1jTjHDQMLIM9FjdwEftTpw8hyv4,1067
39
+ trd_utils-0.0.47.dist-info/METADATA,sha256=XVe1RaP3QDNuatLXmKdUN4ksyhE8nvYK1Xn_Lk92A88,1179
40
+ trd_utils-0.0.47.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
41
+ trd_utils-0.0.47.dist-info/RECORD,,