voly 0.0.153__py3-none-any.whl → 0.0.155__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.
- voly/client.py +5 -2
- {voly-0.0.153.dist-info → voly-0.0.155.dist-info}/METADATA +1 -1
- {voly-0.0.153.dist-info → voly-0.0.155.dist-info}/RECORD +6 -6
- {voly-0.0.153.dist-info → voly-0.0.155.dist-info}/WHEEL +0 -0
- {voly-0.0.153.dist-info → voly-0.0.155.dist-info}/licenses/LICENSE +0 -0
- {voly-0.0.153.dist-info → voly-0.0.155.dist-info}/top_level.txt +0 -0
voly/client.py
CHANGED
|
@@ -36,10 +36,14 @@ class VolyClient:
|
|
|
36
36
|
- enable_file_logging: Whether to enable file-based logging
|
|
37
37
|
- logs_dir: Directory for log files if file logging is enabled
|
|
38
38
|
"""
|
|
39
|
+
|
|
40
|
+
from importlib.metadata import version
|
|
41
|
+
voly_version = version("voly")
|
|
42
|
+
|
|
39
43
|
if enable_file_logging:
|
|
40
44
|
setup_file_logging(logs_dir)
|
|
41
45
|
|
|
42
|
-
logger.info("VolyClient initialized")
|
|
46
|
+
logger.info(f"VolyClient (v{voly_version}) initialized")
|
|
43
47
|
self._loop = None # For async operations
|
|
44
48
|
|
|
45
49
|
def _get_event_loop(self):
|
|
@@ -345,7 +349,6 @@ class VolyClient:
|
|
|
345
349
|
Returns:
|
|
346
350
|
- Historical price data with OHLCV columns and datetime index
|
|
347
351
|
"""
|
|
348
|
-
logger.info(f"Fetching historical {currency} data from {exchange_name}...")
|
|
349
352
|
|
|
350
353
|
return get_historical_data(
|
|
351
354
|
currency=currency,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
voly/__init__.py,sha256=8xyDk7rFCn_MOD5hxuv5cxxKZvBVRiSIM7TgaMPpwpw,211
|
|
2
|
-
voly/client.py,sha256=
|
|
2
|
+
voly/client.py,sha256=csTdngnF2uvRfBLGTPXSUKSgJbbK-VGmToqu4Sldftc,14271
|
|
3
3
|
voly/exceptions.py,sha256=PBsbn1vNMvKcCJwwJ4lBO6glD85jo1h2qiEmD7ArAjs,92
|
|
4
4
|
voly/formulas.py,sha256=G_soRiPwQlHy6milOAj6TdmBWr-fNZpMvm0joXAMZ90,10767
|
|
5
5
|
voly/models.py,sha256=o-pHujGfr5Gn8ItckMzLI4Q8yaX9FQaV8UjCxv2zgTY,3364
|
|
@@ -13,8 +13,8 @@ voly/core/rnd.py,sha256=3rhIA2rN2jcw2JvXDFsZgA62RZVgepshNculwo2X9zc,12912
|
|
|
13
13
|
voly/utils/__init__.py,sha256=E05mWatyC-PDOsCxQV1p5Xi1IgpOomxrNURyCx_gB-w,200
|
|
14
14
|
voly/utils/density.py,sha256=fUJf1AsbyqwxBlhAP53RvcI4KxVEmRRtXXW1WSMFTFE,4017
|
|
15
15
|
voly/utils/logger.py,sha256=4-_2bVJmq17Q0d7Rd2mPg1AeR8gxv6EPvcmBDMFWcSM,1744
|
|
16
|
-
voly-0.0.
|
|
17
|
-
voly-0.0.
|
|
18
|
-
voly-0.0.
|
|
19
|
-
voly-0.0.
|
|
20
|
-
voly-0.0.
|
|
16
|
+
voly-0.0.155.dist-info/licenses/LICENSE,sha256=wcHIVbE12jfcBOai_wqBKY6xvNQU5E909xL1zZNq_2Q,1065
|
|
17
|
+
voly-0.0.155.dist-info/METADATA,sha256=bXTB5FkOkzjIQ-70pWR_ccn5HuFtQIbd87tqsP47QsU,4115
|
|
18
|
+
voly-0.0.155.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
19
|
+
voly-0.0.155.dist-info/top_level.txt,sha256=ZfLw2sSxF-LrKAkgGjOmeTcw6_gD-30zvtdEY5W4B7c,5
|
|
20
|
+
voly-0.0.155.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|