Skip to main content

星梦(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

xmpy_ctp-6.7.11.4.tar.gz (12.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xmpy_ctp-6.7.11.4-cp314-cp314-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.14Windows x86-64

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

Hashes for xmpy_ctp-6.7.11.4.tar.gz
Algorithm Hash digest
SHA256 f854eb69a343584467ec0108845b17397fee78cc5f4f941b3f3c93baabe60d71
MD5 a66a57dc1fe8ae25dea75a06c1534971
BLAKE2b-256 ed1ba1ec74afc6abcbed31aa8f1c3691ebd1c22a6084d476e2bead960c9b5f87

See more details on using hashes here.

Provenance

The following attestation bundles were made for xmpy_ctp-6.7.11.4.tar.gz:

Publisher: 发布-pypi.yml on InkAbyss/xmpy_ctp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xmpy_ctp-6.7.11.4-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for xmpy_ctp-6.7.11.4-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 d12ebbce653a43bd19d7876bc7e3949c6ddc5f8e63856ff009b4becc0e56ed66
MD5 f459bfcf12514886916b92b9f62b81ed
BLAKE2b-256 1bbfe3e6124cd3d7cfdb76a47a39e33136e8123f555a504c277e0e4081ae39cf

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

6.7.11.4 This release

2 files

1.0.4

2 files

1.0.3

2 files

1.0.1

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page