trd-utils 0.0.16__tar.gz → 0.0.17__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.16 → trd_utils-0.0.17}/PKG-INFO +1 -1
- {trd_utils-0.0.16 → trd_utils-0.0.17}/pyproject.toml +1 -1
- trd_utils-0.0.17/trd_utils/__init__.py +3 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/exchanges/blofin/blofin_client.py +2 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/exchanges/bx_ultra/bx_ultra_client.py +2 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/exchanges/hyperliquid/hyperliquid_client.py +2 -0
- trd_utils-0.0.16/trd_utils/__init__.py +0 -3
- {trd_utils-0.0.16 → trd_utils-0.0.17}/LICENSE +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/README.md +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/cipher/__init__.py +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/common_utils/float_utils.py +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/date_utils/__init__.py +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/date_utils/datetime_helpers.py +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/exchanges/README.md +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/exchanges/__init__.py +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/exchanges/base_types.py +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/exchanges/blofin/__init__.py +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/exchanges/blofin/blofin_types.py +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/exchanges/bx_ultra/__init__.py +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/exchanges/bx_ultra/bx_types.py +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/exchanges/bx_ultra/bx_utils.py +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/exchanges/exchange_base.py +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/exchanges/hyperliquid/README.md +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/exchanges/hyperliquid/__init__.py +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/exchanges/hyperliquid/hyperliquid_types.py +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/html_utils/__init__.py +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/html_utils/html_formats.py +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/tradingview/__init__.py +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/tradingview/tradingview_client.py +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/tradingview/tradingview_types.py +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/types_helper/__init__.py +0 -0
- {trd_utils-0.0.16 → trd_utils-0.0.17}/trd_utils/types_helper/base_model.py +0 -0
|
@@ -296,6 +296,8 @@ class BlofinClient(ExchangeBase):
|
|
|
296
296
|
}
|
|
297
297
|
aes = AESCipher(key=f"bf_{self.account_name}_bf", fav_letter=self._fav_letter)
|
|
298
298
|
target_path = Path(file_path)
|
|
299
|
+
if not target_path.exists():
|
|
300
|
+
target_path.mkdir(parents=True)
|
|
299
301
|
target_path.write_text(aes.encrypt(json.dumps(json_data)))
|
|
300
302
|
|
|
301
303
|
# endregion
|
|
@@ -633,6 +633,8 @@ class BXUltraClient(ExchangeBase):
|
|
|
633
633
|
}
|
|
634
634
|
aes = AESCipher(key=f"bx_{self.account_name}_bx", fav_letter=self._fav_letter)
|
|
635
635
|
target_path = Path(file_path)
|
|
636
|
+
if not target_path.exists():
|
|
637
|
+
target_path.mkdir(parents=True)
|
|
636
638
|
target_path.write_text(aes.encrypt(json.dumps(json_data)))
|
|
637
639
|
|
|
638
640
|
# endregion
|
|
@@ -132,6 +132,8 @@ class HyperLiquidClient(ExchangeBase):
|
|
|
132
132
|
}
|
|
133
133
|
aes = AESCipher(key=f"bf_{self.account_name}_bf", fav_letter=self._fav_letter)
|
|
134
134
|
target_path = Path(file_path)
|
|
135
|
+
if not target_path.exists():
|
|
136
|
+
target_path.mkdir(parents=True)
|
|
135
137
|
target_path.write_text(aes.encrypt(json.dumps(json_data)))
|
|
136
138
|
|
|
137
139
|
# endregion
|
|
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
|