okxv5 1.8.8__tar.gz → 1.8.9__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 (34) hide show
  1. {okxv5-1.8.8 → okxv5-1.8.9}/PKG-INFO +20 -1
  2. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5.egg-info/PKG-INFO +20 -1
  3. {okxv5-1.8.8 → okxv5-1.8.9}/setup.py +1 -1
  4. {okxv5-1.8.8 → okxv5-1.8.9}/README.md +0 -0
  5. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/Account_api.py +0 -0
  6. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/Affiliate_api.py +0 -0
  7. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/Broker_api.py +0 -0
  8. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/Convert_api.py +0 -0
  9. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/Copytrading_api.py +0 -0
  10. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/FDBroker_api.py +0 -0
  11. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/Finance_api.py +0 -0
  12. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/Funding_api.py +0 -0
  13. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/Market_api.py +0 -0
  14. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/Public_api.py +0 -0
  15. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/Recurring_api.py +0 -0
  16. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/Rfq_api.py +0 -0
  17. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/Singal_api.py +0 -0
  18. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/SprdApi_api.py +0 -0
  19. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/Trade_api.py +0 -0
  20. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/TradingBot_api.py +0 -0
  21. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/TradingData_api.py +0 -0
  22. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/__init__.py +0 -0
  23. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/client.py +0 -0
  24. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/consts.py +0 -0
  25. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/exceptions.py +0 -0
  26. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/hunyuan_client.py +0 -0
  27. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/status_api.py +0 -0
  28. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/subAccount_api.py +0 -0
  29. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5/utils.py +0 -0
  30. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5.egg-info/SOURCES.txt +0 -0
  31. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5.egg-info/dependency_links.txt +0 -0
  32. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5.egg-info/requires.txt +0 -0
  33. {okxv5-1.8.8 → okxv5-1.8.9}/okxv5.egg-info/top_level.txt +0 -0
  34. {okxv5-1.8.8 → okxv5-1.8.9}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: okxv5
3
- Version: 1.8.8
3
+ Version: 1.8.9
4
4
  Summary: 自己随便上传使用的,精力有限没有整理调用方法,不知道怎么调用的可以查看源码发给AI
5
5
  Home-page:
6
6
  Author:
@@ -35,3 +35,22 @@ Requires-Dist: requests>=2.32.5
35
35
  ├── Trade_api.py # 核心交易 API (下单、撤单、查订单等)
36
36
  ├── TradingBot_api.py # 交易机器人相关 API/功能
37
37
  └── TradingData_api.py # 交易历史数据相关 API
38
+
39
+ 调用客户端示例:
40
+
41
+ 完整导入:
42
+ from okxv5.client import Client
43
+
44
+ # 替换为你的真实API凭证
45
+ api_key = "你的API_KEY"
46
+ api_secret_key = "你的API_SECRET_KEY"
47
+ passphrase = "你的PASSPHRASE" # API的交易密码
48
+
49
+ # 实例化客户端,建议使用服务器时间
50
+ client = Client(api_key, api_secret_key, passphrase, use_server_time=True)
51
+
52
+ print("客户端已成功实例化,发送认证请求。")
53
+
54
+
55
+ 其他调用方法一致,调用相应的API文件里想要的相应的功能
56
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: okxv5
3
- Version: 1.8.8
3
+ Version: 1.8.9
4
4
  Summary: 自己随便上传使用的,精力有限没有整理调用方法,不知道怎么调用的可以查看源码发给AI
5
5
  Home-page:
6
6
  Author:
@@ -35,3 +35,22 @@ Requires-Dist: requests>=2.32.5
35
35
  ├── Trade_api.py # 核心交易 API (下单、撤单、查订单等)
36
36
  ├── TradingBot_api.py # 交易机器人相关 API/功能
37
37
  └── TradingData_api.py # 交易历史数据相关 API
38
+
39
+ 调用客户端示例:
40
+
41
+ 完整导入:
42
+ from okxv5.client import Client
43
+
44
+ # 替换为你的真实API凭证
45
+ api_key = "你的API_KEY"
46
+ api_secret_key = "你的API_SECRET_KEY"
47
+ passphrase = "你的PASSPHRASE" # API的交易密码
48
+
49
+ # 实例化客户端,建议使用服务器时间
50
+ client = Client(api_key, api_secret_key, passphrase, use_server_time=True)
51
+
52
+ print("客户端已成功实例化,发送认证请求。")
53
+
54
+
55
+ 其他调用方法一致,调用相应的API文件里想要的相应的功能
56
+
@@ -1,6 +1,6 @@
1
1
  from setuptools import setup,find_packages
2
2
  setup(name='okxv5',
3
- version='1.8.8',
3
+ version='1.8.9',
4
4
  author='',
5
5
  author_email='',
6
6
  description=f'自己随便上传使用的,精力有限没有整理调用方法,不知道怎么调用的可以查看源码发给AI ',
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
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