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.1.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.1-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.1.tar.gz.

File metadata

  • Download URL: xmpy_ctp-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 c25a5062d3c9775d3cfb07d0789d73aa9b467cf8d4bea3c7843f20ee86eec51c
MD5 679cafbf231d94fe958e3437a692c2ae
BLAKE2b-256 556193072e7f1de85facd2b2afd07cf4c480d247a21f33516003b662d0beab61

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xmpy_ctp-1.0.1-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.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 527ddc7354975b15503333eba1a7fb615c2671573960cb134db7938d85e6a1b6
MD5 d791a172c4326d931c2de761c0fd492c
BLAKE2b-256 e66356e1cfd3502e36db7b6b06329e9ea5255af4709cc12b078ecad13bb7f752

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