# openctp-tts
[![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-tts)
-----
## Installation
```console
pip install openctp-tts==6.3.15.*
pip install openctp-tts==6.3.19.*
pip install openctp-tts==6.5.1.*
pip install openctp-tts==6.6.1.*
pip install openctp-tts==6.6.7.*
pip install openctp-tts==6.6.9.*
pip install openctp-tts==6.7.0.*
pip install openctp-tts==6.7.1.*
pip install openctp-tts==6.7.2.*
```
## Example
[Demo](https://github.com/openctp/openctp-tts-python/tree/main/demo)
```python
from openctp_tts import mdapi, tdapi
md_api = mdapi.CThostFtdcMdApi.CreateFtdcMdApi("market")
td_api = tdapi.CThostFtdcTraderApi.CreateFtdcTraderApi('user_id')
```
## License
`openctp-tts` is distributed under the terms of
the [BSD-3-Clause](https://github.com/openctp/openctp-tts-python/blob/main/LICENSE) license.
Raw data
{
"_id": null,
"home_page": "https://github.com/openctp/openctp-tts-python",
"name": "openctp-tts",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "openctp, tts, ctpapi, trading, investment",
"author": "Jedore",
"author_email": "jedorefight@gmail.com",
"download_url": null,
"platform": null,
"description": "# openctp-tts\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-tts)\n\n-----\n\n## Installation\n\n```console\npip install openctp-tts==6.3.15.*\npip install openctp-tts==6.3.19.*\npip install openctp-tts==6.5.1.*\npip install openctp-tts==6.6.1.*\npip install openctp-tts==6.6.7.*\npip install openctp-tts==6.6.9.*\npip install openctp-tts==6.7.0.*\npip install openctp-tts==6.7.1.*\npip install openctp-tts==6.7.2.*\n```\n\n## Example\n\n[Demo](https://github.com/openctp/openctp-tts-python/tree/main/demo)\n\n```python\nfrom openctp_tts import mdapi, tdapi\n\nmd_api = mdapi.CThostFtdcMdApi.CreateFtdcMdApi(\"market\")\ntd_api = tdapi.CThostFtdcTraderApi.CreateFtdcTraderApi('user_id')\n```\n\n## License\n\n`openctp-tts` is distributed under the terms of\nthe [BSD-3-Clause](https://github.com/openctp/openctp-tts-python/blob/main/LICENSE) license.\n\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "A package for OPENCTP TTS",
"version": "6.7.2.3",
"project_urls": {
"Homepage": "https://github.com/openctp/openctp-tts-python"
},
"split_keywords": [
"openctp",
" tts",
" ctpapi",
" trading",
" investment"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3373c1c4504d8ace9fee4f6f7c8a2b5f256c81dcbd829d427eecea6ec3a86b8b",
"md5": "3b15e8fe1ee4667ce1fbbea41f8a43ba",
"sha256": "ba067e780b1fe16c1a4ca0adf9ed510e737b4106a62e36a7107b9df53d316cce"
},
"downloads": -1,
"filename": "openctp_tts-6.7.2.3-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl",
"has_sig": false,
"md5_digest": "3b15e8fe1ee4667ce1fbbea41f8a43ba",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7053398,
"upload_time": "2024-06-04T13:41:43",
"upload_time_iso_8601": "2024-06-04T13:41:43.344363Z",
"url": "https://files.pythonhosted.org/packages/33/73/c1c4504d8ace9fee4f6f7c8a2b5f256c81dcbd829d427eecea6ec3a86b8b/openctp_tts-6.7.2.3-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-04 13:41:43",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "openctp",
"github_project": "openctp-tts-python",
"github_not_found": true,
"lcname": "openctp-tts"
}