Skip to main content

星梦(xmpy)框架的CTP底层接口

Project description

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

Project details


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-1.0.0.tar.gz (12.4 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-1.0.0-cp312-cp312-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.12Windows x86-64

File details

Details for the file xmpy_ctp-1.0.0.tar.gz.

File metadata

  • Download URL: xmpy_ctp-1.0.0.tar.gz
  • Upload date:
  • Size: 12.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for xmpy_ctp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 dfeabe6e882799c26d3e52c6f36b1a49a87ab6050805daa8a0069b507e5302fc
MD5 4005b0c94b6d96e78908fe360edd6cd2
BLAKE2b-256 e1c2f3338622c21235004eb3408e6b47a2c899f7f540dfe9971823c0909eb62b

See more details on using hashes here.

File details

Details for the file xmpy_ctp-1.0.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: xmpy_ctp-1.0.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 3.5 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for xmpy_ctp-1.0.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ae3b64bcf8f90898a5420b203ec65322f5c6219c9f3c12bcad359cddc4baab8e
MD5 81c2db023f4c0897ced7f7a28ab1e190
BLAKE2b-256 499a2f0facc29026146718477d025d78f2853364adac77ac932bb5534c25e844

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page