unicex 0.17.2__py3-none-any.whl → 0.17.3__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.
- unicex/__init__.py +17 -0
- {unicex-0.17.2.dist-info → unicex-0.17.3.dist-info}/METADATA +1 -1
- {unicex-0.17.2.dist-info → unicex-0.17.3.dist-info}/RECORD +6 -6
- {unicex-0.17.2.dist-info → unicex-0.17.3.dist-info}/WHEEL +0 -0
- {unicex-0.17.2.dist-info → unicex-0.17.3.dist-info}/licenses/LICENSE +0 -0
- {unicex-0.17.2.dist-info → unicex-0.17.3.dist-info}/top_level.txt +0 -0
unicex/__init__.py
CHANGED
|
@@ -31,6 +31,13 @@ __all__ = [
|
|
|
31
31
|
# Base clients and websockets
|
|
32
32
|
"Websocket",
|
|
33
33
|
"BaseClient",
|
|
34
|
+
# Aster
|
|
35
|
+
"AsterClient",
|
|
36
|
+
"AsterUniClient",
|
|
37
|
+
"AsterUniWebsocketManager",
|
|
38
|
+
"AsterUserWebsocket",
|
|
39
|
+
"AsterWebsocketManager",
|
|
40
|
+
"AsterExchangeInfo",
|
|
34
41
|
# Binance
|
|
35
42
|
"BinanceClient",
|
|
36
43
|
"BinanceUniClient",
|
|
@@ -123,6 +130,14 @@ from .types import (
|
|
|
123
130
|
|
|
124
131
|
# exchanges
|
|
125
132
|
|
|
133
|
+
from .aster import (
|
|
134
|
+
Client as AsterClient,
|
|
135
|
+
UniClient as AsterUniClient,
|
|
136
|
+
UniWebsocketManager as AsterUniWebsocketManager,
|
|
137
|
+
UserWebsocket as AsterUserWebsocket,
|
|
138
|
+
WebsocketManager as AsterWebsocketManager,
|
|
139
|
+
ExchangeInfo as AsterExchangeInfo,
|
|
140
|
+
)
|
|
126
141
|
from .binance import (
|
|
127
142
|
Client as BinanceClient,
|
|
128
143
|
UniClient as BinanceUniClient,
|
|
@@ -208,6 +223,7 @@ from .bingx import (
|
|
|
208
223
|
async def load_exchanges_info() -> list:
|
|
209
224
|
"""Единожды загружает информацию о тикерах на всех биржах."""
|
|
210
225
|
return await asyncio.gather(
|
|
226
|
+
AsterExchangeInfo.load_exchange_info(),
|
|
211
227
|
BinanceExchangeInfo.load_exchange_info(),
|
|
212
228
|
BitgetExchangeInfo.load_exchange_info(),
|
|
213
229
|
BybitExchangeInfo.load_exchange_info(),
|
|
@@ -223,6 +239,7 @@ async def load_exchanges_info() -> list:
|
|
|
223
239
|
async def start_exchanges_info(parse_interval_seconds: int = 60 * 60) -> Awaitable:
|
|
224
240
|
"""Запускает цикл обновления информации о тикерах на всех биржах."""
|
|
225
241
|
return asyncio.gather(
|
|
242
|
+
AsterExchangeInfo.start(parse_interval_seconds),
|
|
226
243
|
BinanceExchangeInfo.start(parse_interval_seconds),
|
|
227
244
|
BitgetExchangeInfo.start(parse_interval_seconds),
|
|
228
245
|
BybitExchangeInfo.start(parse_interval_seconds),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
unicex/__init__.py,sha256=
|
|
1
|
+
unicex/__init__.py,sha256=JuAuXCIuJ9vIk1ygqanKxZQCtV_NU_zhZsdpF4Ac4bs,7395
|
|
2
2
|
unicex/enums.py,sha256=q6hWI10d-LgNA2zQAOhQrcBCvVLBWvVkCqt2rlzmMPs,10961
|
|
3
3
|
unicex/exceptions.py,sha256=r-xZzX78VuxVnI5pe99AM8FIiGcdIUDcF5CaTkQ4NE0,2213
|
|
4
4
|
unicex/extra.py,sha256=8JnnCZdQLAH26MiepqGoGrvIiDWSitkbaWmNYKTcsmw,13934
|
|
@@ -110,8 +110,8 @@ unicex/okx/uni_client.py,sha256=fQVR4kz_2UvWD6V-MRlVVyAfaNIh2Q3PxpIgJrXY5hc,8702
|
|
|
110
110
|
unicex/okx/uni_websocket_manager.py,sha256=wrROl5RmxCJC8o_k6mc1UufbNsOKTRhIFqq5yinXUBQ,11626
|
|
111
111
|
unicex/okx/user_websocket.py,sha256=8c9kpm-xVa729pW93OKUGLHaE9MY0uzEpjIgNIFRF80,126
|
|
112
112
|
unicex/okx/websocket_manager.py,sha256=3sXjN0BJGyj2aK05J4WJ_-hhwaSX9PvzhaZri86OlZg,25038
|
|
113
|
-
unicex-0.17.
|
|
114
|
-
unicex-0.17.
|
|
115
|
-
unicex-0.17.
|
|
116
|
-
unicex-0.17.
|
|
117
|
-
unicex-0.17.
|
|
113
|
+
unicex-0.17.3.dist-info/licenses/LICENSE,sha256=lNNK4Vqak9cXm6qVJLhbqS7iR_BMj6k7fd7XQ6l1k54,1507
|
|
114
|
+
unicex-0.17.3.dist-info/METADATA,sha256=ySjlTvU_PMQjcpxJdIpAwoHV07bEpS6vpHfqLKLra2g,12090
|
|
115
|
+
unicex-0.17.3.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
|
|
116
|
+
unicex-0.17.3.dist-info/top_level.txt,sha256=_7rar-0OENIg4KRy6cgjWiebFYAJhjKEcMggAocGWG4,7
|
|
117
|
+
unicex-0.17.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|