星梦(xmpy)框架的CTP底层接口
说明
基于CTP期货版的6.7.7接口封装开发,接口中自带的是【穿透式实盘环境】的dll文件。
安装
直接使用pip命令:
pip install xmpy_ctp
或者下载源代码后,解压后在cmd中运行:
pip install .
使用源代码安装时需要进行C++编译,因此在执行上述命令之前请确保已经安装了【Visual Studio(Windows)】、【GCC(Linux)】、【XCode(Mac)】编译器。
如果需要以开发模式安装到当前Python环境,可以使用下述命令:
pip install -e . --no-build-isolation --config-settings=build-dir=.npy_ctpapi
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 xmpy_ctp-6.7.11.4.tar.gz.
File metadata
- Download URL: xmpy_ctp-6.7.11.4.tar.gz
- Upload date:
- Size: 12.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f854eb69a343584467ec0108845b17397fee78cc5f4f941b3f3c93baabe60d71
|
|
| MD5 |
a66a57dc1fe8ae25dea75a06c1534971
|
|
| BLAKE2b-256 |
ed1ba1ec74afc6abcbed31aa8f1c3691ebd1c22a6084d476e2bead960c9b5f87
|
Provenance
The following attestation bundles were made for xmpy_ctp-6.7.11.4.tar.gz:
Publisher:
发布-pypi.yml on InkAbyss/xmpy_ctp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xmpy_ctp-6.7.11.4.tar.gz -
Subject digest:
f854eb69a343584467ec0108845b17397fee78cc5f4f941b3f3c93baabe60d71 - Sigstore transparency entry: 2187139102
- Sigstore integration time:
-
Permalink:
InkAbyss/xmpy_ctp@9f468282ab3dde870f535e3b71b8ada779c7efcf -
Branch / Tag:
refs/heads/main - Owner: https://github.com/InkAbyss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
发布-pypi.yml@9f468282ab3dde870f535e3b71b8ada779c7efcf -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file xmpy_ctp-6.7.11.4-cp314-cp314-win_amd64.whl.
File metadata
- Download URL: xmpy_ctp-6.7.11.4-cp314-cp314-win_amd64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.14, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d12ebbce653a43bd19d7876bc7e3949c6ddc5f8e63856ff009b4becc0e56ed66
|
|
| MD5 |
f459bfcf12514886916b92b9f62b81ed
|
|
| BLAKE2b-256 |
1bbfe3e6124cd3d7cfdb76a47a39e33136e8123f555a504c277e0e4081ae39cf
|
Provenance
The following attestation bundles were made for xmpy_ctp-6.7.11.4-cp314-cp314-win_amd64.whl:
Publisher:
发布-pypi.yml on InkAbyss/xmpy_ctp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xmpy_ctp-6.7.11.4-cp314-cp314-win_amd64.whl -
Subject digest:
d12ebbce653a43bd19d7876bc7e3949c6ddc5f8e63856ff009b4becc0e56ed66 - Sigstore transparency entry: 2187139122
- Sigstore integration time:
-
Permalink:
InkAbyss/xmpy_ctp@9f468282ab3dde870f535e3b71b8ada779c7efcf -
Branch / Tag:
refs/heads/main - Owner: https://github.com/InkAbyss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
发布-pypi.yml@9f468282ab3dde870f535e3b71b8ada779c7efcf -
Trigger Event:
workflow_dispatch
-
Statement type: