unicex 0.17.1__py3-none-any.whl → 0.17.2__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/extra.py CHANGED
@@ -225,6 +225,11 @@ def generate_ex_link(exchange: Exchange, market_type: MarketType, symbol: str):
225
225
  return f"https://bingx.com/en/perpetual/{ticker}-USDT"
226
226
  else:
227
227
  return f"https://bingx.com/en/spot/{ticker}USDT"
228
+ elif exchange == Exchange.ASTER:
229
+ if market_type == MarketType.FUTURES:
230
+ return f"https://www.asterdex.com/ru/trade/pro/futures/{symbol}"
231
+ else:
232
+ return f"https://www.asterdex.com/ru/trade/pro/spot/{symbol}"
228
233
  else:
229
234
  raise NotSupported(f"Exchange {exchange} is not supported")
230
235
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unicex
3
- Version: 0.17.1
3
+ Version: 0.17.2
4
4
  Summary: Unified Crypto Exchange API
5
5
  Author-email: LoveBloodAndDiamonds <ayazshakirzyanov27@gmail.com>
6
6
  License: BSD 3-Clause License
@@ -1,7 +1,7 @@
1
1
  unicex/__init__.py,sha256=WWnkn8j5BOFMXaf0bHlEfjfPWaTAXOExHKsNn-rxpZI,6862
2
2
  unicex/enums.py,sha256=q6hWI10d-LgNA2zQAOhQrcBCvVLBWvVkCqt2rlzmMPs,10961
3
3
  unicex/exceptions.py,sha256=r-xZzX78VuxVnI5pe99AM8FIiGcdIUDcF5CaTkQ4NE0,2213
4
- unicex/extra.py,sha256=YJKl2X-T1BtaSR0t-CpvxaGE0emNpgts807lmD_3ejA,13686
4
+ unicex/extra.py,sha256=8JnnCZdQLAH26MiepqGoGrvIiDWSitkbaWmNYKTcsmw,13934
5
5
  unicex/mapper.py,sha256=EaG30vSk_0MkMfc8w9e_t-lhQgbwNcd0eHON3uIkW6A,5600
6
6
  unicex/types.py,sha256=dyWCZpiUkSwrsk8H8bf9rE8pkNZkokoddn6VRV4_NSk,5001
7
7
  unicex/utils.py,sha256=1iK-ifZ-hUaU4Z-YCLoZsjAZREfJO7amYsjzG70JEk8,9963
@@ -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.1.dist-info/licenses/LICENSE,sha256=lNNK4Vqak9cXm6qVJLhbqS7iR_BMj6k7fd7XQ6l1k54,1507
114
- unicex-0.17.1.dist-info/METADATA,sha256=vLHur5l-dV5b6Uc_Uh_Bh58DVGgg7ZcHFFGI1HiSab4,12090
115
- unicex-0.17.1.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
116
- unicex-0.17.1.dist-info/top_level.txt,sha256=_7rar-0OENIg4KRy6cgjWiebFYAJhjKEcMggAocGWG4,7
117
- unicex-0.17.1.dist-info/RECORD,,
113
+ unicex-0.17.2.dist-info/licenses/LICENSE,sha256=lNNK4Vqak9cXm6qVJLhbqS7iR_BMj6k7fd7XQ6l1k54,1507
114
+ unicex-0.17.2.dist-info/METADATA,sha256=AYIh_zcL5pfB2xAHiV0Lcf2qIqoDhRShMN3f1uJTftU,12090
115
+ unicex-0.17.2.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
116
+ unicex-0.17.2.dist-info/top_level.txt,sha256=_7rar-0OENIg4KRy6cgjWiebFYAJhjKEcMggAocGWG4,7
117
+ unicex-0.17.2.dist-info/RECORD,,