介绍
用于调用 OKX Outcomes API 的 Python 库
- REST API (Async)
- WebSocket
注意事项
- 由于开发精力有限,本项目所有的文档等都是中文
- 官方文档的部分描述与实际 API 不符,只能在实践中发现 bug
- 禁止只会用 AI 无法理解项目结构的开发者参与本项目的代码提交
开发
开发时安装
pip install -e . --config-settings editable_mode=strict
静态检查
pyright
ruff check --fix
ruff format
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file okx_outcomes-0.1.0.tar.gz.
File metadata
- Download URL: okx_outcomes-0.1.0.tar.gz
- Upload date:
- Size: 26.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a3df4aceb1fecf7737b22df65535f50f08ac8f468e4836c5def317b0246a3a4
|
|
| MD5 |
eaf69f2cd3c888f3341b751923c91f99
|
|
| BLAKE2b-256 |
cd44b1d8e5687b2ead387b18b50fa3107d975b1942834ea5b1f11dadea646a8e
|
Provenance
The following attestation bundles were made for okx_outcomes-0.1.0.tar.gz:
Publisher:
release.yml on LTDZ-Trade/okx_outcomes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
okx_outcomes-0.1.0.tar.gz -
Subject digest:
5a3df4aceb1fecf7737b22df65535f50f08ac8f468e4836c5def317b0246a3a4 - Sigstore transparency entry: 2578580887
- Sigstore integration time:
-
Permalink:
LTDZ-Trade/okx_outcomes@e5a58935c3361c250fe7a8ffeaab9049ed989078 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/LTDZ-Trade
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e5a58935c3361c250fe7a8ffeaab9049ed989078 -
Trigger Event:
release
-
Statement type:
File details
Details for the file okx_outcomes-0.1.0-py3-none-any.whl.
File metadata
- Download URL: okx_outcomes-0.1.0-py3-none-any.whl
- Upload date:
- Size: 28.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3dabd74ef92c2fe603dfee07b387c511ce728369d3c7d711990696b85e47782
|
|
| MD5 |
25f1d09effe87caba0006a7a6c1e1e74
|
|
| BLAKE2b-256 |
c908f211006c237ffdf76c0f01b07b209f2e1697c904aa2d6daf1a8a3020e6a5
|
Provenance
The following attestation bundles were made for okx_outcomes-0.1.0-py3-none-any.whl:
Publisher:
release.yml on LTDZ-Trade/okx_outcomes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
okx_outcomes-0.1.0-py3-none-any.whl -
Subject digest:
c3dabd74ef92c2fe603dfee07b387c511ce728369d3c7d711990696b85e47782 - Sigstore transparency entry: 2578581201
- Sigstore integration time:
-
Permalink:
LTDZ-Trade/okx_outcomes@e5a58935c3361c250fe7a8ffeaab9049ed989078 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/LTDZ-Trade
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e5a58935c3361c250fe7a8ffeaab9049ed989078 -
Trigger Event:
release
-
Statement type: