coinex-api 0.0.21__py3-none-any.whl → 0.0.23__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: coinex-api
3
- Version: 0.0.21
3
+ Version: 0.0.23
4
4
  Summary: coinex crypto exchange api client
5
5
  Project-URL: Homepage, https://github.com/ccxt/ccxt
6
6
  Project-URL: Issues, https://github.com/ccxt/ccxt
@@ -53,8 +53,9 @@ import sys
53
53
  import asyncio
54
54
  from coinex import CoinexAsync
55
55
 
56
- if sys.platform == 'win32':
57
- asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
56
+ ### on Windows, uncomment below:
57
+ # if sys.platform == 'win32':
58
+ # asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
58
59
 
59
60
  async def main():
60
61
  instance = CoinexAsync({})
@@ -78,8 +79,9 @@ asyncio.run(main())
78
79
  import sys
79
80
  from coinex import CoinexWs
80
81
 
81
- if sys.platform == 'win32':
82
- asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
82
+ ### on Windows, uncomment below:
83
+ # if sys.platform == 'win32':
84
+ # asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
83
85
 
84
86
  async def main():
85
87
  instance = CoinexWs({})
@@ -90,6 +92,8 @@ async def main():
90
92
 
91
93
  # once you are done with the exchange
92
94
  await instance.close()
95
+
96
+ asyncio.run(main())
93
97
  ```
94
98
 
95
99
 
@@ -283,6 +283,6 @@ coinex/ccxt/static_dependencies/toolz/curried/exceptions.py,sha256=gKFOHDIayAWnX
283
283
  coinex/ccxt/static_dependencies/toolz/curried/operator.py,sha256=ML92mknkAwzBl2NCm-4werSUmJEtSHNY9NSzhseNM9s,525
284
284
  coinex/ccxt/static_dependencies/typing_inspect/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
285
285
  coinex/ccxt/static_dependencies/typing_inspect/typing_inspect.py,sha256=5gIWomLPfuDpgd3gX1GlnX0MuXM3VorR4j2W2qXORiQ,28269
286
- coinex_api-0.0.21.dist-info/METADATA,sha256=OA6WZu5YjEE_FdMz8ivgTCyFFJl5Xf9SenLkW852Ws8,19757
287
- coinex_api-0.0.21.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
288
- coinex_api-0.0.21.dist-info/RECORD,,
286
+ coinex_api-0.0.23.dist-info/METADATA,sha256=_CwyIHIJasshC4PRePzp6VmRoAKfX0E9me_yaXin1iU,19852
287
+ coinex_api-0.0.23.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
288
+ coinex_api-0.0.23.dist-info/RECORD,,