exchanges-wrapper 2.1.31__tar.gz → 2.1.33__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.
- {exchanges_wrapper-2.1.31 → exchanges_wrapper-2.1.33}/PKG-INFO +3 -3
- {exchanges_wrapper-2.1.31 → exchanges_wrapper-2.1.33}/exchanges_wrapper/__init__.py +1 -1
- {exchanges_wrapper-2.1.31 → exchanges_wrapper-2.1.33}/exchanges_wrapper/parsers/okx.py +5 -4
- {exchanges_wrapper-2.1.31 → exchanges_wrapper-2.1.33}/pyproject.toml +2 -2
- {exchanges_wrapper-2.1.31 → exchanges_wrapper-2.1.33}/LICENSE.md +0 -0
- {exchanges_wrapper-2.1.31 → exchanges_wrapper-2.1.33}/README.md +0 -0
- {exchanges_wrapper-2.1.31 → exchanges_wrapper-2.1.33}/exchanges_wrapper/client.py +0 -0
- {exchanges_wrapper-2.1.31 → exchanges_wrapper-2.1.33}/exchanges_wrapper/definitions.py +0 -0
- {exchanges_wrapper-2.1.31 → exchanges_wrapper-2.1.33}/exchanges_wrapper/errors.py +0 -0
- {exchanges_wrapper-2.1.31 → exchanges_wrapper-2.1.33}/exchanges_wrapper/events.py +0 -0
- {exchanges_wrapper-2.1.31 → exchanges_wrapper-2.1.33}/exchanges_wrapper/exch_srv.py +0 -0
- {exchanges_wrapper-2.1.31 → exchanges_wrapper-2.1.33}/exchanges_wrapper/exch_srv_cfg.toml.template +0 -0
- {exchanges_wrapper-2.1.31 → exchanges_wrapper-2.1.33}/exchanges_wrapper/http_client.py +0 -0
- {exchanges_wrapper-2.1.31 → exchanges_wrapper-2.1.33}/exchanges_wrapper/lib.py +0 -0
- {exchanges_wrapper-2.1.31 → exchanges_wrapper-2.1.33}/exchanges_wrapper/martin/__init__.py +0 -0
- {exchanges_wrapper-2.1.31 → exchanges_wrapper-2.1.33}/exchanges_wrapper/parsers/bitfinex.py +0 -0
- {exchanges_wrapper-2.1.31 → exchanges_wrapper-2.1.33}/exchanges_wrapper/parsers/bybit.py +0 -0
- {exchanges_wrapper-2.1.31 → exchanges_wrapper-2.1.33}/exchanges_wrapper/parsers/huobi.py +0 -0
- {exchanges_wrapper-2.1.31 → exchanges_wrapper-2.1.33}/exchanges_wrapper/proto/martin.proto +0 -0
- {exchanges_wrapper-2.1.31 → exchanges_wrapper-2.1.33}/exchanges_wrapper/web_sockets.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: exchanges-wrapper
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.33
|
|
4
4
|
Summary: REST API and WebSocket asyncio wrapper with grpc powered multiplexer server
|
|
5
5
|
Author-email: Thomas Marchand <thomas.marchand@tuta.io>, Jerry Fedorenko <jerry.fedorenko@yahoo.com>
|
|
6
6
|
Requires-Python: >=3.9
|
|
@@ -12,10 +12,10 @@ Classifier: Operating System :: Unix
|
|
|
12
12
|
Classifier: Operating System :: Microsoft :: Windows
|
|
13
13
|
Classifier: Operating System :: MacOS
|
|
14
14
|
License-File: LICENSE.md
|
|
15
|
-
Requires-Dist: crypto-ws-api==2.0.
|
|
15
|
+
Requires-Dist: crypto-ws-api==2.0.19
|
|
16
16
|
Requires-Dist: pyotp==2.9.0
|
|
17
17
|
Requires-Dist: simplejson==3.20.1
|
|
18
|
-
Requires-Dist: aiohttp~=3.11.
|
|
18
|
+
Requires-Dist: aiohttp~=3.11.14
|
|
19
19
|
Requires-Dist: expiringdict~=1.2.2
|
|
20
20
|
Requires-Dist: betterproto==2.0.0b7
|
|
21
21
|
Requires-Dist: grpclib~=0.4.7
|
|
@@ -12,7 +12,7 @@ __maintainer__ = "Jerry Fedorenko"
|
|
|
12
12
|
__contact__ = "https://github.com/DogsTailFarmer"
|
|
13
13
|
__email__ = "jerry.fedorenko@yahoo.com"
|
|
14
14
|
__credits__ = ["https://github.com/DanyaSWorlD"]
|
|
15
|
-
__version__ = "2.1.
|
|
15
|
+
__version__ = "2.1.33"
|
|
16
16
|
|
|
17
17
|
from pathlib import Path
|
|
18
18
|
import shutil
|
|
@@ -15,10 +15,11 @@ def fetch_server_time(res: []) -> {}:
|
|
|
15
15
|
|
|
16
16
|
def exchange_info(server_time: int, trading_symbol: [], tickers: [], symbol_t) -> {}:
|
|
17
17
|
symbols = []
|
|
18
|
-
symbols_price = {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
symbols_price = {}
|
|
19
|
+
for pair in tickers:
|
|
20
|
+
last_price = pair.get('last', '0')
|
|
21
|
+
if last_price != '':
|
|
22
|
+
symbols_price[pair.get('instId').replace('-', '')] = Decimal(last_price)
|
|
22
23
|
for market in trading_symbol:
|
|
23
24
|
_symbol = market.get("instId").replace('-', '')
|
|
24
25
|
if symbols_price.get(_symbol) and _symbol == symbol_t:
|
|
@@ -17,10 +17,10 @@ dynamic = ["version", "description"]
|
|
|
17
17
|
requires-python = ">=3.9"
|
|
18
18
|
|
|
19
19
|
dependencies = [
|
|
20
|
-
"crypto-ws-api==2.0.
|
|
20
|
+
"crypto-ws-api==2.0.19",
|
|
21
21
|
"pyotp==2.9.0",
|
|
22
22
|
"simplejson==3.20.1",
|
|
23
|
-
"aiohttp~=3.11.
|
|
23
|
+
"aiohttp~=3.11.14",
|
|
24
24
|
"expiringdict~=1.2.2",
|
|
25
25
|
"betterproto==2.0.0b7",
|
|
26
26
|
"grpclib~=0.4.7"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{exchanges_wrapper-2.1.31 → exchanges_wrapper-2.1.33}/exchanges_wrapper/exch_srv_cfg.toml.template
RENAMED
|
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
|