# openctp-ctp-cp
[![PyPI - Python Version](https://badgen.net/badge/python/3.7|3.8|3.9|3.10|3.11|3.12/blue)](https://pypi.org/project/openctp-ctp-cp)
-----
```python
from openctp_ctp_cp import mdapi, tdapi
md_api = mdapi.CThostFtdcMdApi.CreateFtdcMdApi("market")
td_api = tdapi.CThostFtdcTraderApi.CreateFtdcTraderApi('user_id')
```
## License
`openctp-ctp-cp` is distributed under the terms of
the [BSD-3-Clause](https://github.com/openctp/openctp-ctp-python/blob/main/LICENSE) license.
Raw data
{
"_id": null,
"home_page": "https://github.com/openctp/openctp-ctp-python",
"name": "openctp-ctp-cp",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "ctp, ctpapi, trading, investment",
"author": "Jedore",
"author_email": "jedorefight@gmail.com",
"download_url": null,
"platform": null,
"description": "# openctp-ctp-cp\n\n[![PyPI - Python Version](https://badgen.net/badge/python/3.7|3.8|3.9|3.10|3.11|3.12/blue)](https://pypi.org/project/openctp-ctp-cp)\n\n-----\n\n```python\nfrom openctp_ctp_cp import mdapi, tdapi\n\nmd_api = mdapi.CThostFtdcMdApi.CreateFtdcMdApi(\"market\")\ntd_api = tdapi.CThostFtdcTraderApi.CreateFtdcTraderApi('user_id')\n```\n\n## License\n\n`openctp-ctp-cp` is distributed under the terms of\nthe [BSD-3-Clause](https://github.com/openctp/openctp-ctp-python/blob/main/LICENSE) license.\n\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "A package for CTPAPI",
"version": "6.7.2.2",
"project_urls": {
"Homepage": "https://github.com/openctp/openctp-ctp-python"
},
"split_keywords": [
"ctp",
" ctpapi",
" trading",
" investment"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1223ec36b268060a5566d298fecc04f79f3be8f204447d6572e20660f782e0f7",
"md5": "a620eb7add2f6c66822c964b3de61da7",
"sha256": "9cc1d1f61f2b897e6633ad653b857360df14948d8fcb60be416d78734b3570ae"
},
"downloads": -1,
"filename": "openctp_ctp_cp-6.7.2.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl",
"has_sig": false,
"md5_digest": "a620eb7add2f6c66822c964b3de61da7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 9048371,
"upload_time": "2024-06-04T13:01:30",
"upload_time_iso_8601": "2024-06-04T13:01:30.436781Z",
"url": "https://files.pythonhosted.org/packages/12/23/ec36b268060a5566d298fecc04f79f3be8f204447d6572e20660f782e0f7/openctp_ctp_cp-6.7.2.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-04 13:01:30",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "openctp",
"github_project": "openctp-ctp-python",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "openctp-ctp-cp"
}