openctp-ctp


Nameopenctp-ctp JSON
Version 6.7.7.0 PyPI version JSON
download
home_pagehttps://github.com/openctp/openctp-ctp-python
SummaryA package for CTPAPI
upload_time2024-09-30 11:20:50
maintainerNone
docs_urlNone
authorJedore
requires_python>=3.7
licenseBSD-3-Clause
keywords openctp ctp ctpapi trading investment
VCS
bugtrack_url
requirements cibuildwheel pytest
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # openctp-ctp

[![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)

-----

## Example

[Demo](https://github.com/openctp/openctp-ctp-python/tree/main/demo)

```python
from openctp_ctp import mdapi, tdapi

md_api = mdapi.CThostFtdcMdApi.CreateFtdcMdApi("market")
td_api = tdapi.CThostFtdcTraderApi.CreateFtdcTraderApi('user_id')
```

## License

`openctp-ctp` 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",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "openctp, ctp, ctpapi, trading, investment",
    "author": "Jedore",
    "author_email": "jedorefight@gmail.com",
    "download_url": null,
    "platform": null,
    "description": "# openctp-ctp\r\n\r\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)\r\n\r\n-----\r\n\r\n## Example\r\n\r\n[Demo](https://github.com/openctp/openctp-ctp-python/tree/main/demo)\r\n\r\n```python\r\nfrom openctp_ctp import mdapi, tdapi\r\n\r\nmd_api = mdapi.CThostFtdcMdApi.CreateFtdcMdApi(\"market\")\r\ntd_api = tdapi.CThostFtdcTraderApi.CreateFtdcTraderApi('user_id')\r\n```\r\n\r\n## License\r\n\r\n`openctp-ctp` is distributed under the terms of\r\nthe [BSD-3-Clause](https://github.com/openctp/openctp-ctp-python/blob/main/LICENSE) license.\r\n\r\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "A package for CTPAPI",
    "version": "6.7.7.0",
    "project_urls": {
        "Homepage": "https://github.com/openctp/openctp-ctp-python"
    },
    "split_keywords": [
        "openctp",
        " ctp",
        " ctpapi",
        " trading",
        " investment"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0632a8c12a385abeb82f4b2a9b5d858c03c2cdb26f96853301fa20d9698abff9",
                "md5": "c57ba0a6ac0b8f6847278ab0fe39b213",
                "sha256": "245802aab1e889a9b193faf01696c6199cfb88e537efa55ada8faf2bb2c7be0f"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.7.0-cp310-cp310-win32.whl",
            "has_sig": false,
            "md5_digest": "c57ba0a6ac0b8f6847278ab0fe39b213",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 5260753,
            "upload_time": "2024-09-30T11:20:50",
            "upload_time_iso_8601": "2024-09-30T11:20:50.769916Z",
            "url": "https://files.pythonhosted.org/packages/06/32/a8c12a385abeb82f4b2a9b5d858c03c2cdb26f96853301fa20d9698abff9/openctp_ctp-6.7.7.0-cp310-cp310-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7fe8d3c52af77788ba26b9a3dea4805977b29dbc4dc65e00edf4c27b8e92e007",
                "md5": "be277fb6d333cd9e2a800c5a7210ceaa",
                "sha256": "b741ce68764aa413680e959438516ffd89f27043ab0e6e0bf926f7cbc5b824a9"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.7.0-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "be277fb6d333cd9e2a800c5a7210ceaa",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 7556624,
            "upload_time": "2024-09-30T11:21:06",
            "upload_time_iso_8601": "2024-09-30T11:21:06.102400Z",
            "url": "https://files.pythonhosted.org/packages/7f/e8/d3c52af77788ba26b9a3dea4805977b29dbc4dc65e00edf4c27b8e92e007/openctp_ctp-6.7.7.0-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8884d5f19ddda95a052f2fb9db5257230150bfce98545a365e9a2a2c1c3c9e29",
                "md5": "5bca44d4626882c888f662cc0afa3fb9",
                "sha256": "20b0f075c5cfb6d55d48fe0042fad30582929bfc267b547ba5aa8aeda1e187c9"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.7.0-cp311-cp311-win32.whl",
            "has_sig": false,
            "md5_digest": "5bca44d4626882c888f662cc0afa3fb9",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 5260768,
            "upload_time": "2024-09-30T11:21:12",
            "upload_time_iso_8601": "2024-09-30T11:21:12.355905Z",
            "url": "https://files.pythonhosted.org/packages/88/84/d5f19ddda95a052f2fb9db5257230150bfce98545a365e9a2a2c1c3c9e29/openctp_ctp-6.7.7.0-cp311-cp311-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a289f4625098a879878deae6a194d1b9da73ec46f2f2e5e33ff34a89feb2ee0b",
                "md5": "df2b44d7fd2635d4506e4231e3927626",
                "sha256": "668eb59a358d766e64e5ee8455a34645bbaa0d3bc28eb5e9955eef02eb8dd354"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.7.0-cp311-cp311-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "df2b44d7fd2635d4506e4231e3927626",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7",
            "size": 7556627,
            "upload_time": "2024-09-30T11:21:37",
            "upload_time_iso_8601": "2024-09-30T11:21:37.504152Z",
            "url": "https://files.pythonhosted.org/packages/a2/89/f4625098a879878deae6a194d1b9da73ec46f2f2e5e33ff34a89feb2ee0b/openctp_ctp-6.7.7.0-cp311-cp311-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7a5abed891184df1a30427d4f48fe64cbdc8c8f59eebdf18fc7e56815921c21f",
                "md5": "52962eac2326ac52fcc57123efef5e83",
                "sha256": "6fe7e3a95e1cdaed3ef544799143623dfcafadeae6cc0f6ee0073f98a9a675ba"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.7.0-cp312-cp312-win32.whl",
            "has_sig": false,
            "md5_digest": "52962eac2326ac52fcc57123efef5e83",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 5274884,
            "upload_time": "2024-09-30T11:21:57",
            "upload_time_iso_8601": "2024-09-30T11:21:57.771758Z",
            "url": "https://files.pythonhosted.org/packages/7a/5a/bed891184df1a30427d4f48fe64cbdc8c8f59eebdf18fc7e56815921c21f/openctp_ctp-6.7.7.0-cp312-cp312-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2d6be7f610acc345e039a1495b185aacd60345d6bc3be7ccc773ee43079dfd79",
                "md5": "97c9353a722a8fd7e5d8b3143ce6143f",
                "sha256": "bfac3835441ff7098c16f505e42a9421b3300c329fd9f1198b376ebcfbe95d14"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.7.0-cp312-cp312-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "97c9353a722a8fd7e5d8b3143ce6143f",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.7",
            "size": 7566224,
            "upload_time": "2024-09-30T11:22:33",
            "upload_time_iso_8601": "2024-09-30T11:22:33.023456Z",
            "url": "https://files.pythonhosted.org/packages/2d/6b/e7f610acc345e039a1495b185aacd60345d6bc3be7ccc773ee43079dfd79/openctp_ctp-6.7.7.0-cp312-cp312-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "21659bd48b0364e3ff154652b5204a3300b4f7d7fb89c7974280accd709fc0ef",
                "md5": "0a236e930ed204fff5a9c9f8f5cd847d",
                "sha256": "e934491f7c34a41b5d771aa32c180a706acdd0af15f1bdb3959343fa6e5c59b7"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.7.0-cp37-cp37m-win32.whl",
            "has_sig": false,
            "md5_digest": "0a236e930ed204fff5a9c9f8f5cd847d",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 5258944,
            "upload_time": "2024-09-30T11:22:38",
            "upload_time_iso_8601": "2024-09-30T11:22:38.719305Z",
            "url": "https://files.pythonhosted.org/packages/21/65/9bd48b0364e3ff154652b5204a3300b4f7d7fb89c7974280accd709fc0ef/openctp_ctp-6.7.7.0-cp37-cp37m-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "17923cafcc41b75de7e0e4e4ec10a182d5754293bda9b4f3b045ede197271302",
                "md5": "594c53a124c99a47ca5d58826ad1c50d",
                "sha256": "fb96837cc119d0e87a4f068cdbbce2a6605a6c779af03a7243a987243a50dc78"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.7.0-cp37-cp37m-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "594c53a124c99a47ca5d58826ad1c50d",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7",
            "size": 7571707,
            "upload_time": "2024-09-30T11:23:18",
            "upload_time_iso_8601": "2024-09-30T11:23:18.565490Z",
            "url": "https://files.pythonhosted.org/packages/17/92/3cafcc41b75de7e0e4e4ec10a182d5754293bda9b4f3b045ede197271302/openctp_ctp-6.7.7.0-cp37-cp37m-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "eaf8103acded506c18f84f4a2894d3b38e613d0a2131990fa5a4423a5bbd9773",
                "md5": "183f406fd7645db0d639472dbcce44c8",
                "sha256": "82881ca9713e2df83ed7e6c30aae7912fa0a767b3c0ffc182ff1a7bb69aed3aa"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.7.0-cp38-cp38-win32.whl",
            "has_sig": false,
            "md5_digest": "183f406fd7645db0d639472dbcce44c8",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 5259220,
            "upload_time": "2024-09-30T11:23:28",
            "upload_time_iso_8601": "2024-09-30T11:23:28.069860Z",
            "url": "https://files.pythonhosted.org/packages/ea/f8/103acded506c18f84f4a2894d3b38e613d0a2131990fa5a4423a5bbd9773/openctp_ctp-6.7.7.0-cp38-cp38-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "73a87a696bd18c3c23bbc08cd3f96ed4454110412c038754e338b98a0960afa2",
                "md5": "e090dc3e6fd396213a32e7827a4768e0",
                "sha256": "0601a3dff29108f8e2a27a8db96c4895ac5dae52d48ec168301e2c7b2bb8ae1d"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.7.0-cp38-cp38-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "e090dc3e6fd396213a32e7827a4768e0",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 7576686,
            "upload_time": "2024-09-30T11:23:35",
            "upload_time_iso_8601": "2024-09-30T11:23:35.866821Z",
            "url": "https://files.pythonhosted.org/packages/73/a8/7a696bd18c3c23bbc08cd3f96ed4454110412c038754e338b98a0960afa2/openctp_ctp-6.7.7.0-cp38-cp38-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4872f14552e298c994e1d24876995dbe23a5a3903fa6bb30282da3c7278a1146",
                "md5": "850792f93fe43ea44059db3aecdd580a",
                "sha256": "8cea2e91ee01608738c89ee7d01b75e60e4d27da90eb2c3a82f6c41401f448d0"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.7.0-cp39-cp39-win32.whl",
            "has_sig": false,
            "md5_digest": "850792f93fe43ea44059db3aecdd580a",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 5259972,
            "upload_time": "2024-09-30T11:23:48",
            "upload_time_iso_8601": "2024-09-30T11:23:48.147385Z",
            "url": "https://files.pythonhosted.org/packages/48/72/f14552e298c994e1d24876995dbe23a5a3903fa6bb30282da3c7278a1146/openctp_ctp-6.7.7.0-cp39-cp39-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e997bdd0a6c6b553cf4b0a51c8681e687b96f033611078f4ac15f89a4ee662a7",
                "md5": "d9c7a5a14db1f85c1bd008274d422764",
                "sha256": "309339855380dc3e03c0b050f274ad2337f88524e8658a9678e70a497f94975c"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.7.0-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "d9c7a5a14db1f85c1bd008274d422764",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 7557025,
            "upload_time": "2024-09-30T11:24:22",
            "upload_time_iso_8601": "2024-09-30T11:24:22.655807Z",
            "url": "https://files.pythonhosted.org/packages/e9/97/bdd0a6c6b553cf4b0a51c8681e687b96f033611078f4ac15f89a4ee662a7/openctp_ctp-6.7.7.0-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-30 11:20:50",
    "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": [
        {
            "name": "cibuildwheel",
            "specs": [
                [
                    "==",
                    "2.12.1"
                ]
            ]
        },
        {
            "name": "pytest",
            "specs": [
                [
                    "==",
                    "7.3.0"
                ]
            ]
        }
    ],
    "lcname": "openctp-ctp"
}
        
Elapsed time: 0.33821s