python-okx 0.2.5__tar.gz → 0.2.6__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.
Files changed (35) hide show
  1. {python-okx-0.2.5 → python-okx-0.2.6}/PKG-INFO +1 -1
  2. {python-okx-0.2.5 → python-okx-0.2.6}/okx/__init__.py +1 -1
  3. {python-okx-0.2.5 → python-okx-0.2.6}/okx/client.py +2 -2
  4. {python-okx-0.2.5 → python-okx-0.2.6}/python_okx.egg-info/PKG-INFO +1 -1
  5. {python-okx-0.2.5 → python-okx-0.2.6}/python_okx.egg-info/SOURCES.txt +1 -1
  6. {python-okx-0.2.5 → python-okx-0.2.6}/setup.py +1 -1
  7. {python-okx-0.2.5 → python-okx-0.2.6}/README.md +0 -0
  8. {python-okx-0.2.5 → python-okx-0.2.6}/okx/Account.py +0 -0
  9. {python-okx-0.2.5 → python-okx-0.2.6}/okx/BlockTrading.py +0 -0
  10. {python-okx-0.2.5 → python-okx-0.2.6}/okx/Convert.py +0 -0
  11. {python-okx-0.2.5 → python-okx-0.2.6}/okx/CopyTrading.py +0 -0
  12. {python-okx-0.2.5 → python-okx-0.2.6}/okx/Earning.py +0 -0
  13. {python-okx-0.2.5 → python-okx-0.2.6}/okx/FDBroker.py +0 -0
  14. {python-okx-0.2.5 → python-okx-0.2.6}/okx/Funding.py +0 -0
  15. {python-okx-0.2.5 → python-okx-0.2.6}/okx/Grid.py +0 -0
  16. {python-okx-0.2.5 → python-okx-0.2.6}/okx/MarketData.py +0 -0
  17. {python-okx-0.2.5 → python-okx-0.2.6}/okx/NDBroker.py +0 -0
  18. {python-okx-0.2.5 → python-okx-0.2.6}/okx/PublicData.py +0 -0
  19. {python-okx-0.2.5 → python-okx-0.2.6}/okx/SpreadTrading.py +0 -0
  20. {python-okx-0.2.5 → python-okx-0.2.6}/okx/Status.py +0 -0
  21. {python-okx-0.2.5 → python-okx-0.2.6}/okx/SubAccount.py +0 -0
  22. {python-okx-0.2.5 → python-okx-0.2.6}/okx/Trade.py +0 -0
  23. {python-okx-0.2.5 → python-okx-0.2.6}/okx/TradingData.py +0 -0
  24. {python-okx-0.2.5 → python-okx-0.2.6}/okx/consts.py +0 -0
  25. {python-okx-0.2.5 → python-okx-0.2.6}/okx/exceptions.py +0 -0
  26. {python-okx-0.2.5 → python-okx-0.2.6}/okx/utils.py +0 -0
  27. {python-okx-0.2.5 → python-okx-0.2.6}/okx/websocket/WebSocketFactory.py +0 -0
  28. /python-okx-0.2.5/okx/websocket/WsPprivateAsync.py → /python-okx-0.2.6/okx/websocket/WsPrivateAsync.py +0 -0
  29. {python-okx-0.2.5 → python-okx-0.2.6}/okx/websocket/WsPublicAsync.py +0 -0
  30. {python-okx-0.2.5 → python-okx-0.2.6}/okx/websocket/WsUtils.py +0 -0
  31. {python-okx-0.2.5 → python-okx-0.2.6}/okx/websocket/__init__.py +0 -0
  32. {python-okx-0.2.5 → python-okx-0.2.6}/python_okx.egg-info/dependency_links.txt +0 -0
  33. {python-okx-0.2.5 → python-okx-0.2.6}/python_okx.egg-info/requires.txt +0 -0
  34. {python-okx-0.2.5 → python-okx-0.2.6}/python_okx.egg-info/top_level.txt +0 -0
  35. {python-okx-0.2.5 → python-okx-0.2.6}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-okx
3
- Version: 0.2.5
3
+ Version: 0.2.6
4
4
  Summary: Python SDK for OKX
5
5
  Home-page: https://okx.com/docs-v5/
6
6
  Author: okxv5api
@@ -2,4 +2,4 @@
2
2
  Python SDK for the OKX API v5
3
3
 
4
4
  """
5
- __version__="0.2.5"
5
+ __version__="0.2.6"
@@ -49,6 +49,6 @@ class Client(object):
49
49
  request_path = c.API_URL + c.SERVER_TIMESTAMP_URL
50
50
  response = self.client.get(request_path)
51
51
  if response.status_code == 200:
52
- return response.json()['ts']
52
+ return response.json()['data'][0]['ts']
53
53
  else:
54
- return ""
54
+ return ""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-okx
3
- Version: 0.2.5
3
+ Version: 0.2.6
4
4
  Summary: Python SDK for OKX
5
5
  Home-page: https://okx.com/docs-v5/
6
6
  Author: okxv5api
@@ -22,7 +22,7 @@ okx/consts.py
22
22
  okx/exceptions.py
23
23
  okx/utils.py
24
24
  okx/websocket/WebSocketFactory.py
25
- okx/websocket/WsPprivateAsync.py
25
+ okx/websocket/WsPrivateAsync.py
26
26
  okx/websocket/WsPublicAsync.py
27
27
  okx/websocket/WsUtils.py
28
28
  okx/websocket/__init__.py
@@ -1,6 +1,6 @@
1
1
  import setuptools
2
2
  import okx
3
- with open("README.md", "r") as fh:
3
+ with open("README.md", "r",encoding="utf-8") as fh:
4
4
  long_description = fh.read()
5
5
 
6
6
  setuptools.setup(
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes