Metadata-Version: 2.1
Name: xmpy_ctp
Version: 1.0.3
Summary: xmpy框架的CTP底层接口
Keywords: quant,quantitative,investment,trading,algotrading
Author-Email: bhzy <2024305928@qq.com>
License: MIT
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Office/Business :: Financial :: Investment
Classifier: Natural Language :: Chinese (Simplified)
Classifier: Typing :: Typed
Project-URL: Homepage, https://github.com/InkAbyss/xmpy_ctp
Project-URL: Issues, https://github.com/InkAbyss/xmpy_ctp/issues
Requires-Python: >=3.10
Requires-Dist: xmpy>=1.0.0
Description-Content-Type: text/markdown

# 星梦（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
```